forked from sigstore/cosign
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
'cosign init' minor enhancements (file or URL root, write to $HOME/.s…
…igstore) (sigstore#530) * make minor changes to cosign init Signed-off-by: Asra Ali <[email protected]> * use gcs root Signed-off-by: Asra Ali <[email protected]> * also pin sha Signed-off-by: Asra Ali <[email protected]> * embed initial root Signed-off-by: Asra Ali <[email protected]> * remove sha because of embedded root Signed-off-by: Asra Ali <[email protected]>
- Loading branch information
Showing
6 changed files
with
202 additions
and
105 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 |
---|---|---|
|
@@ -24,8 +24,5 @@ | |
*.libfuzzer | ||
*fuzz.a | ||
|
||
# Root metadata | ||
*.sigstore/root/ | ||
|
||
bin* | ||
dist/ |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
{ | ||
"signatures": [ | ||
{ | ||
"keyid": "2f64fb5eac0cf94dd39bb45308b98920055e9a0d8e012a7220787834c60aef97", | ||
"sig": "30450221008a35d51da0f845301a5eac98ad0df00a934f59b709c1eaf81c86be734d9356f80220742942325599749800f52675f6efe124345980a2a636c0dc76f9caf9fc3123b0" | ||
}, | ||
{ | ||
"keyid": "bdde902f5ec668179ff5ca0dabf7657109287d690bf97e230c21d65f99155c62", | ||
"sig": "3045022100ef9157ece2a09baec1eab80adfc00b04da20b1f9a0d1b47c5dabc4506719ef2c022074f72acd57398e4ddc8c2a5040df902961e9615dca48f3fbe38cbb506e500066" | ||
}, | ||
{ | ||
"keyid": "eaf22372f417dd618a46f6c627dbc276e9fd30a004fc94f9be946e73f8bd090b", | ||
"sig": "30450220420fdc9a09cd069b8b15fd8db9cedf7d0dee75871bd1cfee77c926d4120a770002210097553b5ad0d6b4a13902ed37509638bb63a9009f78230cd56c802909ffbfead7" | ||
}, | ||
{ | ||
"keyid": "f40f32044071a9365505da3d1e3be6561f6f22d0e60cf51df783999f6c3429cb", | ||
"sig": "304502202aaf32e66f90752f658672b085ecfe45cc1ad31ee6cf5c9ad05f3267685f8d88022100b5df02acdaa371123db9d7a42219553fe079b230b168833e951be7ee56ded347" | ||
}, | ||
{ | ||
"keyid": "f505595165a177a41750a8e864ed1719b1edfccd5a426fd2c0ffda33ce7ff209", | ||
"sig": "304402205d420c7d05c58980c1c9f7d221f53b5334aae27a447d2a91c2ceddd685269749022039ec83e51f8e1779d7f0142dfa4a5bbecfe327fc0b91b7416090fea2416fd53a" | ||
} | ||
], | ||
"signed": { | ||
"_type": "root", | ||
"consistent_snapshot": false, | ||
"expires": "2021-12-18T13:28:12.99008-06:00", | ||
"keys": { | ||
"2f64fb5eac0cf94dd39bb45308b98920055e9a0d8e012a7220787834c60aef97": { | ||
"keyid_hash_algorithms": [ | ||
"sha256", | ||
"sha512" | ||
], | ||
"keytype": "ecdsa-sha2-nistp256", | ||
"keyval": { | ||
"public": "04cbc5cab2684160323c25cd06c3307178a6b1d1c9b949328453ae473c5ba7527e35b13f298b41633382241f3fd8526c262d43b45adee5c618fa0642c82b8a9803" | ||
}, | ||
"scheme": "ecdsa-sha2-nistp256" | ||
}, | ||
"bdde902f5ec668179ff5ca0dabf7657109287d690bf97e230c21d65f99155c62": { | ||
"keyid_hash_algorithms": [ | ||
"sha256", | ||
"sha512" | ||
], | ||
"keytype": "ecdsa-sha2-nistp256", | ||
"keyval": { | ||
"public": "04a71aacd835dc170ba6db3fa33a1a33dee751d4f8b0217b805b9bd3242921ee93672fdcfd840576c5bb0dc0ed815edf394c1ee48c2b5e02485e59bfc512f3adc7" | ||
}, | ||
"scheme": "ecdsa-sha2-nistp256" | ||
}, | ||
"eaf22372f417dd618a46f6c627dbc276e9fd30a004fc94f9be946e73f8bd090b": { | ||
"keyid_hash_algorithms": [ | ||
"sha256", | ||
"sha512" | ||
], | ||
"keytype": "ecdsa-sha2-nistp256", | ||
"keyval": { | ||
"public": "04117b33dd265715bf23315e368faa499728db8d1f0a377070a1c7b1aba2cc21be6ab1628e42f2cdd7a35479f2dce07b303a8ba646c55569a8d2a504ba7e86e447" | ||
}, | ||
"scheme": "ecdsa-sha2-nistp256" | ||
}, | ||
"f40f32044071a9365505da3d1e3be6561f6f22d0e60cf51df783999f6c3429cb": { | ||
"keyid_hash_algorithms": [ | ||
"sha256", | ||
"sha512" | ||
], | ||
"keytype": "ecdsa-sha2-nistp256", | ||
"keyval": { | ||
"public": "04cc1cd53a61c23e88cc54b488dfae168a257c34fac3e88811c55962b24cffbfecb724447999c54670e365883716302e49da57c79a33cd3e16f81fbc66f0bcdf48" | ||
}, | ||
"scheme": "ecdsa-sha2-nistp256" | ||
}, | ||
"f505595165a177a41750a8e864ed1719b1edfccd5a426fd2c0ffda33ce7ff209": { | ||
"keyid_hash_algorithms": [ | ||
"sha256", | ||
"sha512" | ||
], | ||
"keytype": "ecdsa-sha2-nistp256", | ||
"keyval": { | ||
"public": "048a78a44ac01099890d787e5e62afc29c8ccb69a70ec6549a6b04033b0a8acbfb42ab1ab9c713d225cdb52b858886cf46c8e90a7f3b9e6371882f370c259e1c5b" | ||
}, | ||
"scheme": "ecdsa-sha2-nistp256" | ||
} | ||
}, | ||
"roles": { | ||
"root": { | ||
"keyids": [ | ||
"2f64fb5eac0cf94dd39bb45308b98920055e9a0d8e012a7220787834c60aef97", | ||
"bdde902f5ec668179ff5ca0dabf7657109287d690bf97e230c21d65f99155c62", | ||
"eaf22372f417dd618a46f6c627dbc276e9fd30a004fc94f9be946e73f8bd090b", | ||
"f40f32044071a9365505da3d1e3be6561f6f22d0e60cf51df783999f6c3429cb", | ||
"f505595165a177a41750a8e864ed1719b1edfccd5a426fd2c0ffda33ce7ff209" | ||
], | ||
"threshold": 3 | ||
}, | ||
"snapshot": { | ||
"keyids": [ | ||
"2f64fb5eac0cf94dd39bb45308b98920055e9a0d8e012a7220787834c60aef97", | ||
"bdde902f5ec668179ff5ca0dabf7657109287d690bf97e230c21d65f99155c62", | ||
"eaf22372f417dd618a46f6c627dbc276e9fd30a004fc94f9be946e73f8bd090b", | ||
"f40f32044071a9365505da3d1e3be6561f6f22d0e60cf51df783999f6c3429cb", | ||
"f505595165a177a41750a8e864ed1719b1edfccd5a426fd2c0ffda33ce7ff209" | ||
], | ||
"threshold": 3 | ||
}, | ||
"targets": { | ||
"keyids": [ | ||
"2f64fb5eac0cf94dd39bb45308b98920055e9a0d8e012a7220787834c60aef97", | ||
"bdde902f5ec668179ff5ca0dabf7657109287d690bf97e230c21d65f99155c62", | ||
"eaf22372f417dd618a46f6c627dbc276e9fd30a004fc94f9be946e73f8bd090b", | ||
"f40f32044071a9365505da3d1e3be6561f6f22d0e60cf51df783999f6c3429cb", | ||
"f505595165a177a41750a8e864ed1719b1edfccd5a426fd2c0ffda33ce7ff209" | ||
], | ||
"threshold": 3 | ||
}, | ||
"timestamp": { | ||
"keyids": [ | ||
"2f64fb5eac0cf94dd39bb45308b98920055e9a0d8e012a7220787834c60aef97", | ||
"bdde902f5ec668179ff5ca0dabf7657109287d690bf97e230c21d65f99155c62", | ||
"eaf22372f417dd618a46f6c627dbc276e9fd30a004fc94f9be946e73f8bd090b", | ||
"f40f32044071a9365505da3d1e3be6561f6f22d0e60cf51df783999f6c3429cb", | ||
"f505595165a177a41750a8e864ed1719b1edfccd5a426fd2c0ffda33ce7ff209" | ||
], | ||
"threshold": 3 | ||
} | ||
}, | ||
"spec_version": "1.0", | ||
"version": 1 | ||
} | ||
} |
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
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.