Skip to content

Commit 6347295

Browse files
sethmlarsondi
andauthored
More backticks
Co-authored-by: Dustin Ingram <[email protected]> Signed-off-by: Seth Michael Larson <[email protected]>
1 parent 321a2e3 commit 6347295

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/trusted-publishers-for-all-package-repositories.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ A high-level overview of how PyPI verifies the OIDC token against a pre-configur
3838
* Using the JWKs, [verify the JWT signature and claims](https://www.criipto.com/blog/jwt-validation-guide) (claims like `nbf`, `exp`, `jti`, etc).
3939
* Verify that the audience claim (`aud`) is equal to a service-specific value (i.e. `pypi` and `testpypi`). This requires that the IdP supports configuring the audience of the emitted OIDC token.
4040
* Using the claims, check the values against the pre-configured trust policy for the Trusted Publisher. For example, a GitHub workflow would check the following claims:
41-
* `sub` (Subject) is of the form example-owner/example-repo:.*
42-
* repository is example-repo
43-
* repository_owner is example-owner
44-
* repository_owner_id is 12345
45-
* job_workflow_ref is example-owner/example-repo/.github/workflows/publish.yml@abcdef
41+
* `sub` (Subject) is of the form `example-owner/example-repo:.*`
42+
* `repository` is `example-repo`
43+
* `repository_owner` is `example-owner`
44+
* `repository_owner_id` is `12345`
45+
* `job_workflow_ref` is `example-owner/example-repo/.github/workflows/publish.yml@abcdef`
4646

4747
Once this is complete, the package repository can authorize publications by delegating to a repository-managed token.
4848

0 commit comments

Comments
 (0)