Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @sigstore/protobuf-specs from 0.3.2 to 0.4.0 #1365

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/big-countries-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@sigstore/conformance': minor
'@sigstore/bundle': minor
'sigstore': minor
'@sigstore/verify': minor
'@sigstore/mock': minor
'@sigstore/sign': minor
'@sigstore/tuf': minor
---

Bump @sigstore/protobuf-specs from 0.3.2 to 0.4.0
20 changes: 11 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"provenance": true
},
"dependencies": {
"@sigstore/protobuf-specs": "^0.3.2"
"@sigstore/protobuf-specs": "^0.4.0"
},
"engines": {
"node": "^18.17.0 || >=20.5.0"
Expand Down
52 changes: 10 additions & 42 deletions packages/bundle/src/__tests__/__snapshots__/build.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@ exports[`toDSSEBundle when the certificateChain option is true when a certificat
"payloadType": "text/plain",
"signatures": [
{
"keyid": "",
"sig": "c2lnbmF0dXJl",
},
],
},
"mediaType": "application/vnd.dev.sigstore.bundle+json;version=0.2",
"verificationMaterial": {
"timestampVerificationData": {
"rfc3161Timestamps": [],
},
"tlogEntries": [],
"timestampVerificationData": {},
"x509CertificateChain": {
"certificates": [
{
Expand Down Expand Up @@ -46,10 +42,7 @@ exports[`toDSSEBundle when the certificateChain option is true when a public key
"publicKey": {
"hint": "hint",
},
"timestampVerificationData": {
"rfc3161Timestamps": [],
},
"tlogEntries": [],
"timestampVerificationData": {},
},
}
`;
Expand All @@ -61,20 +54,14 @@ exports[`toDSSEBundle when the certificateChain option is true when a public key
"payloadType": "text/plain",
"signatures": [
{
"keyid": "",
"sig": "c2lnbmF0dXJl",
},
],
},
"mediaType": "application/vnd.dev.sigstore.bundle+json;version=0.2",
"verificationMaterial": {
"publicKey": {
"hint": "",
},
"timestampVerificationData": {
"rfc3161Timestamps": [],
},
"tlogEntries": [],
"publicKey": {},
"timestampVerificationData": {},
},
}
`;
Expand All @@ -86,7 +73,6 @@ exports[`toDSSEBundle when the singleCertificate option is undefined/false when
"payloadType": "text/plain",
"signatures": [
{
"keyid": "",
"sig": "c2lnbmF0dXJl",
},
],
Expand All @@ -96,10 +82,7 @@ exports[`toDSSEBundle when the singleCertificate option is undefined/false when
"certificate": {
"rawBytes": "Y2VydGlmaWNhdGU=",
},
"timestampVerificationData": {
"rfc3161Timestamps": [],
},
"tlogEntries": [],
"timestampVerificationData": {},
},
}
`;
Expand All @@ -121,10 +104,7 @@ exports[`toDSSEBundle when the singleCertificate option is undefined/false when
"publicKey": {
"hint": "hint",
},
"timestampVerificationData": {
"rfc3161Timestamps": [],
},
"tlogEntries": [],
"timestampVerificationData": {},
},
}
`;
Expand All @@ -136,20 +116,14 @@ exports[`toDSSEBundle when the singleCertificate option is undefined/false when
"payloadType": "text/plain",
"signatures": [
{
"keyid": "",
"sig": "c2lnbmF0dXJl",
},
],
},
"mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json",
"verificationMaterial": {
"publicKey": {
"hint": "",
},
"timestampVerificationData": {
"rfc3161Timestamps": [],
},
"tlogEntries": [],
"publicKey": {},
"timestampVerificationData": {},
},
}
`;
Expand All @@ -165,10 +139,7 @@ exports[`toMessageSignatureBundle when the certificateChain option is true retur
"signature": "c2lnbmF0dXJl",
},
"verificationMaterial": {
"timestampVerificationData": {
"rfc3161Timestamps": [],
},
"tlogEntries": [],
"timestampVerificationData": {},
"x509CertificateChain": {
"certificates": [
{
Expand All @@ -194,10 +165,7 @@ exports[`toMessageSignatureBundle when the singleCertificate option is undefined
"certificate": {
"rawBytes": "Y2VydGlmaWNhdGU=",
},
"timestampVerificationData": {
"rfc3161Timestamps": [],
},
"tlogEntries": [],
"timestampVerificationData": {},
},
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ exports[`bundleToJSON SerializedDSSEBundle (v0.3) matches the snapshot 1`] = `
"hashes": [
"aGFzaA==",
],
"logIndex": "0",
"logIndex": "2",
"rootHash": "cm9vdEhhc2g=",
"treeSize": "0",
"treeSize": "3",
},
"integratedTime": "2021-01-01T00:00:00Z",
"kindVersion": {
Expand All @@ -49,7 +49,7 @@ exports[`bundleToJSON SerializedDSSEBundle (v0.3) matches the snapshot 1`] = `
"logId": {
"keyId": "bG9nSWQ=",
},
"logIndex": "0",
"logIndex": "1",
},
],
},
Expand Down Expand Up @@ -90,9 +90,9 @@ exports[`bundleToJSON SerializedDSSEBundle matches the snapshot 1`] = `
"hashes": [
"aGFzaA==",
],
"logIndex": "0",
"logIndex": "2",
"rootHash": "cm9vdEhhc2g=",
"treeSize": "0",
"treeSize": "3",
},
"integratedTime": "2021-01-01T00:00:00Z",
"kindVersion": {
Expand All @@ -102,7 +102,7 @@ exports[`bundleToJSON SerializedDSSEBundle matches the snapshot 1`] = `
"logId": {
"keyId": "bG9nSWQ=",
},
"logIndex": "0",
"logIndex": "1",
},
],
"x509CertificateChain": {
Expand Down Expand Up @@ -150,9 +150,9 @@ exports[`bundleToJSON SerializedMessageSignatureBundle matches the snapshot 1`]
"hashes": [
"aGFzaA==",
],
"logIndex": "0",
"logIndex": "2",
"rootHash": "cm9vdEhhc2g=",
"treeSize": "0",
"treeSize": "3",
},
"integratedTime": "2021-01-01T00:00:00Z",
"kindVersion": {
Expand All @@ -162,7 +162,7 @@ exports[`bundleToJSON SerializedMessageSignatureBundle matches the snapshot 1`]
"logId": {
"keyId": "bG9nSWQ=",
},
"logIndex": "0",
"logIndex": "1",
},
],
},
Expand Down
6 changes: 3 additions & 3 deletions packages/bundle/src/__tests__/serialized.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('envelopeFromJSON', () => {
describe('bundleToJSON', () => {
const tlogEntries = [
{
logIndex: '0',
logIndex: '1',
logId: {
keyId: Buffer.from('logId'),
},
Expand All @@ -90,9 +90,9 @@ describe('bundleToJSON', () => {
signedEntryTimestamp: Buffer.from('inclusionPromise'),
},
inclusionProof: {
logIndex: '0',
logIndex: '2',
rootHash: Buffer.from('rootHash'),
treeSize: '0',
treeSize: '3',
hashes: [Buffer.from('hash')],
checkpoint: {
envelope: 'checkpoint',
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@sigstore/bundle": "^3.0.0",
"@sigstore/core": "^2.0.0",
"@sigstore/protobuf-specs": "^0.3.2",
"@sigstore/protobuf-specs": "^0.4.0",
"@sigstore/sign": "^3.0.0",
"@sigstore/tuf": "^3.0.0",
"@sigstore/verify": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/conformance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@oclif/core": "^4",
"@sigstore/bundle": "^3.0.0",
"@sigstore/protobuf-specs": "^0.3.2",
"@sigstore/protobuf-specs": "^0.4.0",
"@sigstore/tuf": "^3.0.0",
"@sigstore/verify": "^2.0.0",
"elliptic": "^6.6.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@peculiar/webcrypto": "^1.5.0",
"@peculiar/x509": "^1.12.3",
"@sigstore/protobuf-specs": "^0.3.2",
"@sigstore/protobuf-specs": "^0.4.0",
"asn1js": "^3.0.5",
"bytestreamjs": "^2.0.1",
"canonicalize": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/sign/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@sigstore/bundle": "^3.0.0",
"@sigstore/core": "^2.0.0",
"@sigstore/protobuf-specs": "^0.3.2",
"@sigstore/protobuf-specs": "^0.4.0",
"make-fetch-happen": "^14.0.2",
"proc-log": "^5.0.0",
"promise-retry": "^2.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/tuf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@types/make-fetch-happen": "^10.0.4"
},
"dependencies": {
"@sigstore/protobuf-specs": "^0.3.2",
"@sigstore/protobuf-specs": "^0.4.0",
"tuf-js": "^3.0.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/verify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"provenance": true
},
"dependencies": {
"@sigstore/protobuf-specs": "^0.3.2",
"@sigstore/protobuf-specs": "^0.4.0",
"@sigstore/bundle": "^3.0.0",
"@sigstore/core": "^2.0.0"
},
Expand Down