forked from grantae/certinfo
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add Sigstore OIDs #18
Merged
+208
−14
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
fcd26b5
Add `sigstore` OIDs
hslatman c517f88
Add Sigstore/Fulcio OIDs
hslatman 881bd23
Merge branch 'master' into herman/cosign-extensions
hslatman 88f9df9
Add test for Sigstore OIDs
hslatman 2fc9dab
Add support for Fulcio Identity OtherName
hslatman 5bdf78d
Change `Fulcio` to `Sigstore`
hslatman 0b58757
Use `google/go-cmp` to perform equality tests
hslatman b1d0bd4
Update README.md to better describe this fork
hslatman bffe1a6
Add space to the AD UPN
hslatman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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,20 @@ | ||
-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rRYsrQJ6LS5yEX7/0/QrugF5Pb+zlIhWJavHnE | ||
H9AOnfsCMQD6fgSUbwZgoo/8vL2J19FvwWTz4k+prPYY0qackOzpUyt/P0vg2CO9 | ||
UrxPCNx+cUw= | ||
-----END CERTIFICATE----- |
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,54 @@ | ||
Certificate: | ||
Data: | ||
Version: 3 (0x2) | ||
Serial Number: 2320580145869058136443151369323359520969369274 (0x680ef42157f8cd21655857f9e1a81558a2a6ba) | ||
Signature Algorithm: ECDSA-SHA384 | ||
Issuer: O=sigstore.dev,CN=sigstore | ||
Validity | ||
Not Before: Feb 1 23:07:29 2022 UTC | ||
Not After : Feb 1 23:17:28 2022 UTC | ||
Subject: O=sigstore | ||
Subject Public Key Info: | ||
Public Key Algorithm: ECDSA | ||
Public-Key: (256 bit) | ||
X: | ||
08:e4:82:81:3e:9f:f5:f6:e9:7a:6d:c3:fd:50:cc: | ||
b6:58:d1:0b:56:1d:a7:20:97:da:b0:2a:5b:ed:a0: | ||
ed:ac | ||
Y: | ||
33:e0:bf:af:d5:a5:4f:a5:6d:c8:13:a9:ec:53:ff: | ||
7d:41:db:db:82:3b:9f:a5:83:19:ea:31:be:1d:31: | ||
bc:e7 | ||
Curve: P-256 | ||
X509v3 extensions: | ||
X509v3 Key Usage: critical | ||
Digital Signature | ||
X509v3 Extended Key Usage: | ||
Code Signing | ||
X509v3 Basic Constraints: critical | ||
CA:FALSE | ||
X509v3 Subject Key Identifier: | ||
5D:11:E8:9B:0C:80:A2:77:F5:F3:97:18:27:CC:29:17:D2:63:57:2E | ||
X509v3 Authority Key Identifier: | ||
keyid:58:C0:1E:5F:91:45:A5:66:A9:7A:CC:90:A1:93:22:D0:2A:C5:C5:FA | ||
X509v3 Subject Alternative Name: | ||
URI:https://github.com/hslatman/symfony-cli/.github/workflows/releaser.yml@refs/tags/v5.3.0-exp-sign-4 | ||
Sigstore GitHub Workflow Repository: | ||
hslatman/symfony-cli | ||
Sigstore GitHub Workflow Ref: | ||
refs/tags/v5.3.0-exp-sign-4 | ||
Sigstore GitHub Workflow Trigger: | ||
push | ||
Sigstore OIDC Issuer: | ||
https://token.actions.githubusercontent.com | ||
Sigstore GitHub Workflow Name: | ||
Release | ||
Sigstore GitHub Workflow SHA Hash: | ||
7916f7a5efe4d495d70a94e4e4476eaca120a31f | ||
Signature Algorithm: ECDSA-SHA384 | ||
30:66:02:31:00:be:37:b6:c6:74:f1:5a:c7:53:34:69:78:79: | ||
88:ba:d1:62:ca:d0:27:a2:d2:e7:21:17:ef:fd:3f:42:bb:a0: | ||
17:93:db:fb:39:48:85:62:5a:bc:79:c4:1f:d0:0e:9d:fb:02: | ||
31:00:fa:7e:04:94:6f:06:60:a2:8f:fc:bc:bd:89:d7:d1:6f: | ||
c1:64:f3:e2:4f:a9:ac:f6:18:d2:a6:9c:90:ec:e9:53:2b:7f: | ||
3f:4b:e0:d8:23:bd:52:bc:4f:08:dc:7e:71:4c |
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,17 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICtDCCAlqgAwIBAgIUT3Bh3mWmJp+2wTQUxj19R1vYVKcwCgYIKoZIzj0EAwIw | ||
aDEMMAoGA1UEBhMDVVNBMQswCQYDVQQIEwJXQTERMA8GA1UEBxMIS2lya2xhbmQx | ||
FTATBgNVBAkTDDc2NyA2dGggU3QgUzEOMAwGA1UEERMFOTgwMzMxETAPBgNVBAoT | ||
CHNpZ3N0b3JlMB4XDTIyMDkyOTE4MzcyMVoXDTIyMDkyOTE4NDcyMVowADBZMBMG | ||
ByqGSM49AgEGCCqGSM49AwEHA0IABJUlrKgma8vvHGsin0Lns8ilkZIGfbFoNhp/ | ||
e2HPdLPwmy1IfigG2FRmMjw7DymnC3ce9o1k0zkcCuhc0Pn6PnOjggFIMIIBRDAO | ||
BgNVHQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwHQYDVR0OBBYEFDst | ||
jNbwcRDr33q5Tt0kUjPLrG0sMB8GA1UdIwQYMBaAFN8zJRpf/idR3ooX82oyJ5BC | ||
UFGjMCsGA1UdEQEB/wQhMB+gHQYKKwYBBAGDvzABB6APDA1mb28hMTI3LjAuMC4x | ||
MCQGCisGAQQBg78wAQEEFmh0dHA6Ly8xMjcuMC4wLjE6NDU2NjEwgYkGCisGAQQB | ||
1nkCBAIEewR5AHcAdQAodhoYkCf77zzQ1hoBjXawUFcpx6dBG8y99gT0XUJhUwAA | ||
AAAAAAU5AAAEAwBGMEQCIAhzbUnllt0pkfDnAvEI/4yEESxXn6d+8bJqQ4i/oU68 | ||
AiBZgxlvo/D//+6I0ztBODY5/U6qYrUZt4a4SX1Uk3y/xzAKBggqhkjOPQQDAgNI | ||
ADBFAiEAogo/upgvfrjroS72BcIrPznne7NC6mOt0jDVFDfFgswCIArUlhr07ftG | ||
KCl3yVaw8c5Ck5p5eRSNY/RqZ0YRC7Ir | ||
-----END CERTIFICATE----- |
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,50 @@ | ||
Certificate: | ||
Data: | ||
Version: 3 (0x2) | ||
Serial Number: 453516479926854321636729881678065165927286592679 (0x4f7061de65a6269fb6c13414c63d7d475bd854a7) | ||
Signature Algorithm: ECDSA-SHA256 | ||
Issuer: C=USA,ST=WA,L=Kirkland,STREET=767 6th St S,POSTALCODE=98033,O=sigstore | ||
Validity | ||
Not Before: Sep 29 18:37:21 2022 UTC | ||
Not After : Sep 29 18:47:21 2022 UTC | ||
Subject: | ||
Subject Public Key Info: | ||
Public Key Algorithm: ECDSA | ||
Public-Key: (256 bit) | ||
X: | ||
95:25:ac:a8:26:6b:cb:ef:1c:6b:22:9f:42:e7:b3: | ||
c8:a5:91:92:06:7d:b1:68:36:1a:7f:7b:61:cf:74: | ||
b3:f0 | ||
Y: | ||
9b:2d:48:7e:28:06:d8:54:66:32:3c:3b:0f:29:a7: | ||
0b:77:1e:f6:8d:64:d3:39:1c:0a:e8:5c:d0:f9:fa: | ||
3e:73 | ||
Curve: P-256 | ||
X509v3 extensions: | ||
X509v3 Key Usage: critical | ||
Digital Signature | ||
X509v3 Extended Key Usage: | ||
Code Signing | ||
X509v3 Subject Key Identifier: | ||
3B:2D:8C:D6:F0:71:10:EB:DF:7A:B9:4E:DD:24:52:33:CB:AC:6D:2C | ||
X509v3 Authority Key Identifier: | ||
keyid:DF:33:25:1A:5F:FE:27:51:DE:8A:17:F3:6A:32:27:90:42:50:51:A3 | ||
X509v3 Subject Alternative Name: critical | ||
Sigstore Identity: foo!127.0.0.1 | ||
Sigstore OIDC Issuer: | ||
http://127.0.0.1:45661 | ||
RFC6962 Certificate Transparency SCT: | ||
SCT [0]: | ||
Version: V1 (0x0) | ||
LogID: KHYaGJAn++880NYaAY12sFBXKcenQRvMvfYE9F1CYVM= | ||
Timestamp: Jan 1 00:00:01.337 1970 UTC | ||
Signature Algorithm: SHA256-ECDSA | ||
30:44:02:20:08:73:6d:49:e5:96:dd:29:91:f0:e7:02:f1:08: | ||
ff:8c:84:11:2c:57:9f:a7:7e:f1:b2:6a:43:88:bf:a1:4e:bc: | ||
02:20:59:83:19:6f:a3:f0:ff:ff:ee:88:d3:3b:41:38:36:39: | ||
fd:4e:aa:62:b5:19:b7:86:b8:49:7d:54:93:7c:bf:c7 | ||
Signature Algorithm: ECDSA-SHA256 | ||
30:45:02:21:00:a2:0a:3f:ba:98:2f:7e:b8:eb:a1:2e:f6:05: | ||
c2:2b:3f:39:e7:7b:b3:42:ea:63:ad:d2:30:d5:14:37:c5:82: | ||
cc:02:20:0a:d4:96:1a:f4:ed:fb:46:28:29:77:c9:56:b0:f1: | ||
ce:42:93:9a:79:79:14:8d:63:f4:6a:67:46:11:0b:b2:2b |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the value hex-encodded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The string representation of the
ext.Value
bytes is the git commit hash. Here's the output for a more recent certificate:Tagged release https://github.com/symfony-cli/symfony-cli/releases/tag/v5.4.14, pointing to git commit symfony-cli/symfony-cli@550b40f.
For the certificate: https://github.com/symfony-cli/symfony-cli/releases/download/v5.4.14/symfony-cli-5.4.14.aarch64.rpm.pem (after base64 decoding the contents of the pem file; apparently the certificate gets base64 encoded):