-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to @sigstore/protobuf-specs@0.3.0 (#1011)
Signed-off-by: Brian DeHamer <bdehamer@github.com>
- Loading branch information
Showing
26 changed files
with
784 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@sigstore/bundle": patch | ||
"@sigstore/conformance": patch | ||
"sigstore": patch | ||
"@sigstore/mock": patch | ||
"@sigstore/sign": patch | ||
"@sigstore/tuf": patch | ||
"@sigstore/verify": patch | ||
--- | ||
|
||
Bump @sigstore/protobuf-specs from 0.2.1 to 0.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@sigstore/bundle": minor | ||
--- | ||
|
||
Support for validating v0.3 bundles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@sigstore/verify": minor | ||
--- | ||
|
||
Support for verifying v0.3 bundles |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
170 changes: 170 additions & 0 deletions
170
packages/bundle/src/__tests__/__snapshots__/serialized.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`bundleToJSON SerializedDSSEBundle (v0.3) matches the snapshot 1`] = ` | ||
{ | ||
"dsseEnvelope": { | ||
"payload": "cGF5bG9hZA==", | ||
"payloadType": "application/vnd.in-toto+json", | ||
"signatures": [ | ||
{ | ||
"keyid": "keyid", | ||
"sig": "c2lnbmF0dXJl", | ||
}, | ||
], | ||
}, | ||
"mediaType": "application/vnd.dev.sigstore.bundle+json;version=0.3", | ||
"verificationMaterial": { | ||
"certificate": { | ||
"rawBytes": "Y2VydGlmaWNhdGU=", | ||
}, | ||
"timestampVerificationData": { | ||
"rfc3161Timestamps": [ | ||
{ | ||
"signedTimestamp": "c2lnbmVkVGltZXN0YW1w", | ||
}, | ||
], | ||
}, | ||
"tlogEntries": [ | ||
{ | ||
"canonicalizedBody": "Ym9keQ==", | ||
"inclusionPromise": { | ||
"signedEntryTimestamp": "aW5jbHVzaW9uUHJvbWlzZQ==", | ||
}, | ||
"inclusionProof": { | ||
"checkpoint": { | ||
"envelope": "checkpoint", | ||
}, | ||
"hashes": [ | ||
"aGFzaA==", | ||
], | ||
"logIndex": "0", | ||
"rootHash": "cm9vdEhhc2g=", | ||
"treeSize": "0", | ||
}, | ||
"integratedTime": "2021-01-01T00:00:00Z", | ||
"kindVersion": { | ||
"kind": "kind", | ||
"version": "version", | ||
}, | ||
"logId": { | ||
"keyId": "bG9nSWQ=", | ||
}, | ||
"logIndex": "0", | ||
}, | ||
], | ||
}, | ||
} | ||
`; | ||
|
||
exports[`bundleToJSON SerializedDSSEBundle matches the snapshot 1`] = ` | ||
{ | ||
"dsseEnvelope": { | ||
"payload": "cGF5bG9hZA==", | ||
"payloadType": "application/vnd.in-toto+json", | ||
"signatures": [ | ||
{ | ||
"keyid": "keyid", | ||
"sig": "c2lnbmF0dXJl", | ||
}, | ||
], | ||
}, | ||
"mediaType": "application/vnd.dev.sigstore.bundle+json;version=0.1", | ||
"verificationMaterial": { | ||
"timestampVerificationData": { | ||
"rfc3161Timestamps": [ | ||
{ | ||
"signedTimestamp": "c2lnbmVkVGltZXN0YW1w", | ||
}, | ||
], | ||
}, | ||
"tlogEntries": [ | ||
{ | ||
"canonicalizedBody": "Ym9keQ==", | ||
"inclusionPromise": { | ||
"signedEntryTimestamp": "aW5jbHVzaW9uUHJvbWlzZQ==", | ||
}, | ||
"inclusionProof": { | ||
"checkpoint": { | ||
"envelope": "checkpoint", | ||
}, | ||
"hashes": [ | ||
"aGFzaA==", | ||
], | ||
"logIndex": "0", | ||
"rootHash": "cm9vdEhhc2g=", | ||
"treeSize": "0", | ||
}, | ||
"integratedTime": "2021-01-01T00:00:00Z", | ||
"kindVersion": { | ||
"kind": "kind", | ||
"version": "version", | ||
}, | ||
"logId": { | ||
"keyId": "bG9nSWQ=", | ||
}, | ||
"logIndex": "0", | ||
}, | ||
], | ||
"x509CertificateChain": { | ||
"certificates": [ | ||
{ | ||
"rawBytes": "Y2VydGlmaWNhdGU=", | ||
}, | ||
], | ||
}, | ||
}, | ||
} | ||
`; | ||
|
||
exports[`bundleToJSON SerializedMessageSignatureBundle matches the snapshot 1`] = ` | ||
{ | ||
"mediaType": "application/vnd.dev.sigstore.bundle+json;version=0.1", | ||
"messageSignature": { | ||
"messageDigest": { | ||
"algorithm": "SHA2_256", | ||
"digest": "ZGlnZXN0", | ||
}, | ||
"signature": "c2lnbmF0dXJl", | ||
}, | ||
"verificationMaterial": { | ||
"publicKey": { | ||
"hint": "pki-hint", | ||
}, | ||
"timestampVerificationData": { | ||
"rfc3161Timestamps": [ | ||
{ | ||
"signedTimestamp": "c2lnbmVkVGltZXN0YW1w", | ||
}, | ||
], | ||
}, | ||
"tlogEntries": [ | ||
{ | ||
"canonicalizedBody": "Ym9keQ==", | ||
"inclusionPromise": { | ||
"signedEntryTimestamp": "aW5jbHVzaW9uUHJvbWlzZQ==", | ||
}, | ||
"inclusionProof": { | ||
"checkpoint": { | ||
"envelope": "checkpoint", | ||
}, | ||
"hashes": [ | ||
"aGFzaA==", | ||
], | ||
"logIndex": "0", | ||
"rootHash": "cm9vdEhhc2g=", | ||
"treeSize": "0", | ||
}, | ||
"integratedTime": "2021-01-01T00:00:00Z", | ||
"kindVersion": { | ||
"kind": "kind", | ||
"version": "version", | ||
}, | ||
"logId": { | ||
"keyId": "bG9nSWQ=", | ||
}, | ||
"logIndex": "0", | ||
}, | ||
], | ||
}, | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.