forked from sigstore/fulcio
-
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.
Standardizing Fulcio Certificate Extensions
Proposal for standardizing Fulcio's Certificate Extensions to align with the discussion on [standardizing OIDC token claims](sigstore#754) across CI/CD systems (today GitHub Actions, in future Circle, GitLab, Buildkite etc). The aim here is to find new platform agnostic extensions (as the current ones are GitHub specific) that make sense across the different CI/CD providers that we'd like to see supported in Fulcio. I've preemptively moved the existing oid info doc to a deprecated version with little thought into how this transition should happen in practice. This should probably be scoped in a lot more detail. Signed-off-by: Philip Harrison <[email protected]>
- Loading branch information
Showing
2 changed files
with
124 additions
and
20 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,72 @@ | ||
# Sigstore OID information (deprecated) | ||
|
||
Note: The OID information in this document has been deprecated and only applies to Fulcio certificates created before date: XXXX-XX-XXTXX:XX | ||
|
||
Please see the updated [Sigstore OID information](oid-info.md). | ||
|
||
## Description | ||
|
||
Sigstore maintains its own Private Enterprise Number (57264) with the Internet | ||
Assigned Numbers Authority to help identify and organize additional metadata in | ||
code signing certificates issued by Fulcio instances. This document aims to | ||
provide a simple directory of values in use with an explanation of their | ||
meaning. | ||
|
||
## Directory | ||
|
||
Note that all values begin from the root OID 1.3.6.1.4.1.57264 [registered by Sigstore][oid-link]. | ||
|
||
When adding additional OIDs under the root, please update the above link with the child OID. | ||
|
||
## 1.3.6.1.4.1.57264.1 | Fulcio | ||
|
||
The `.1` is added to the root OID for sigstore for all OIDs set by Fulcio. | ||
|
||
### 1.3.6.1.4.1.57264.1.1 | Issuer | ||
|
||
This contains the `issuer` claim from the OIDC Identity Token that was | ||
presented at the time the code signing certificate was requested to be created. | ||
This claim is the URI of the OIDC Identity Provider that digitally signed the | ||
identity token. | ||
|
||
### 1.3.6.1.4.1.57264.1.2 | GitHub Workflow Trigger | ||
|
||
This contains the `event_name` claim from the GitHub OIDC Identity token that | ||
contains the name of the event that triggered the workflow run. | ||
[(docs)][github-oidc-doc] | ||
|
||
### 1.3.6.1.4.1.57264.1.3 | GitHub Workflow SHA | ||
|
||
This contains the `sha` claim from the GitHub OIDC Identity token that contains | ||
the commit SHA that the workflow run was based upon. [(docs)][github-oidc-doc] | ||
|
||
### 1.3.6.1.4.1.57264.1.4 | GitHub Workflow Name | ||
|
||
This contains the `workflow` claim from the GitHub OIDC Identity token that | ||
contains the name of the executed workflow. [(docs)][github-oidc-doc] | ||
|
||
### 1.3.6.1.4.1.57264.1.5 | GitHub Workflow Repository | ||
|
||
This contains the `repository` claim from the GitHub OIDC Identity token that | ||
contains the repository that the workflow run was based upon. | ||
[(docs)][github-oidc-doc] | ||
|
||
### 1.3.6.1.4.1.57264.1.6 | GitHub Workflow Ref | ||
|
||
This contains the `ref` claim from the GitHub OIDC Identity token that contains | ||
the git ref that the workflow run was based upon. | ||
[(docs)][github-oidc-doc] | ||
|
||
### 1.3.6.1.4.1.57264.1.7 | OtherName SAN | ||
|
||
This specifies the username identity in the OtherName Subject Alternative Name, as | ||
defined by [RFC5280 4.2.1.6](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.6). | ||
|
||
## 1.3.6.1.4.1.57264.2 | Policy OID for Sigstore Timestamp Authority | ||
|
||
Not used by Fulcio. This specifies the policy OID for the [timestamp authority](https://github.com/sigstore/timestamp-authority) | ||
that Sigstore operates. | ||
|
||
<!-- References --> | ||
[github-oidc-doc]: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#understanding-the-oidc-token | ||
[oid-link]: http://oid-info.com/get/1.3.6.1.4.1.57264 |
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