Skip to content

Commit

Permalink
Update verifiers/internal/gcb/provenance.go
Browse files Browse the repository at this point in the history
Co-authored-by: asraa <asraa@google.com>
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
  • Loading branch information
laurentsimon and asraa committed Dec 2, 2022
1 parent bb7b719 commit d6bd672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verifiers/internal/gcb/provenance.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ func decodeSignature(s string) ([]byte, []error) {

// If std decoding failed, try URL decoding.
// We try both because we encountered decoding failures
// during our tests. The DSSE documentation does not prescribes
// during our tests. The DSSE documentation does not prescribe
// which encoding to use: `Either standard or URL-safe encoding is allowed`.
// https://github.com/secure-systems-lab/dsse/blob/27ce241dec575998dee8967c3c76d4edd5d6ee73/envelope.md#standard-json-envelope.
rsig, err = base64.URLEncoding.DecodeString(s)
Expand Down

0 comments on commit d6bd672

Please sign in to comment.