Affected by GO-2022-1079
and 8 other vulnerabilities
GO-2022-1079: OpenFGA subject to Information Disclosure via streamed-list-objects endpoint in github.com/openfga/openfga
GO-2022-1080: OpenFGA Authorization Bypass via tupleset wildcard in github.com/openfga/openfga
GO-2022-1081: OpenFGA Authorization Bypass in github.com/openfga/openfga
GO-2022-1099: OpenFGA Authorization Bypass in github.com/openfga/openfga
GO-2023-2028: OpenFGA Authorization Bypass in github.com/openfga/openfga
GO-2023-2084: OpenFGA Vulnerable to DoS from circular relationship definitions in github.com/openfga/openfga
GO-2023-2121: OpenFGA DoS vulnerability in github.com/openfga/openfga
GO-2024-2477: OpenFGA denial of service in github.com/openfga/openfga
GO-2025-3470: OpenFGA Authorization Bypass in github.com/openfga/openfga
package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Oct 6, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Base64Encoder struct{}
Base64Encoder implements the Encoder interface by delegating to the encoding/base64
base64 encoding strategy.
NewBase64Encoder constructs an Encoder that implements a base64 encoding as specified
by the encoding/base64 package.
Decode base64 URL decodes the provided string.
Encode base64 URL encodes the provided byte slice and returns the encoded value as a string.
type NoopEncoder struct{}
type TokenEncoder struct {
}
NewTokenEncoder constructs a TokenEncoder with the provided encrypter and encoder.
Decode will first decode the given string with its decoder, then decrypt the result with its decrypter.
Encode will first encrypt the given data with its encrypter, then encode the result with its encoder.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.