Affected by GO-2022-0270
and 1 other vulnerabilities
GO-2022-0270 : Insufficient Granularity of Access Control in github.com/google/exposure-notifications-verification-server
GO-2022-0798 : Privilege escalation in rbac in github.com/google/exposure-notifications-verification-server
Discover Packages
github.com/google/exposure-notifications-verification-server
pkg
jwthelper
package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Sep 1, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package jwthelper implements some common methods on top of the JWT library.
In particular, we handle signing in this code base and don't delegate to the library
since we're using an external signer.
SignJWT takes a JWT structure, extracts the signing string and signs it with the
provided signer. The base64 serialzied JWT is returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.