Documentation
¶
Index ¶
- func BundleFromDSSEEnvelope(dsseEnvelope *dsse.Envelope) (*protobundle.Bundle, error)
- func DSSEEnvelopeFromBundle(bundle *protobundle.Bundle) *dsse.Envelope
- func DSSEEnvelopeFromRaw(bundle, envelope []byte) (*dsse.Envelope, error)
- func FixSignatureInBundle(bundle *protobundle.Bundle)
- func JSONEnvelopeWithDigest(envelope *dsse.Envelope) ([]byte, cr_v1.Hash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BundleFromDSSEEnvelope ¶ added in v0.160.0
func BundleFromDSSEEnvelope(dsseEnvelope *dsse.Envelope) (*protobundle.Bundle, error)
func DSSEEnvelopeFromBundle ¶ added in v0.160.0
func DSSEEnvelopeFromBundle(bundle *protobundle.Bundle) *dsse.Envelope
DSSEEnvelopeFromBundle Extracts a DSSE envelope from a Sigstore bundle (Sigstore bundles have their own protobuf implementation for DSSE)
func DSSEEnvelopeFromRaw ¶ added in v0.160.0
func FixSignatureInBundle ¶ added in v0.179.0
func FixSignatureInBundle(bundle *protobundle.Bundle)
FixSignatureInBundle removes any additional base64 encoding from the signature in the bundle. Old attestations have signatures base64 encoded twice, see https://github.com/chainloop-dev/chainloop/issues/1832
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.