Skip to content

Commit e78ad07

Browse files
mihaimaruseaclwasser
authored andcommitted
Fix typos
Signed-off-by: Mihai Maruseac <[email protected]>
1 parent c863d00 commit e78ad07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tutorials/publish-pypi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ While publishing from GitHub Action is possible using tokens, we recommend the _
373373

374374
On the usability front, when Trusted Publishing is enabled, users no longer need to manually create API tokens on PyPI and store them in the GitHub release workflow.
375375

376-
On the security front, Trusted Publishing reduces a risk related to the API token being long lived: with API tokens, as soon as an attacker gets access to it, they can publish many packages and versions in your name (dependending on the scope of the token), until you discover the token compromise and rotate the credential. Trusted Publishing avoids this problem by minting very short lived tokens which expire automatically.
376+
On the security front, Trusted Publishing reduces a risk related to the API token being long lived: with API tokens, as soon as an attacker gets access to it, they can publish many packages and versions in your name (depending on the scope of the token), until you discover the token compromise and rotate the credential. Trusted Publishing avoids this problem by minting very short lived tokens which expire automatically.
377377

378378
For these benefits, it is recommended that users use _only_ the GitHub Actions release workflow to publish packages.
379379
:::

tutorials/trusted-publishing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
:og:description: Learn how to publish your Python package automically via GitHub Actions. This lessons also covers how to do publishing in a secure way by using Trusted Publishing.
2+
:og:description: Learn how to publish your Python package automatically via GitHub Actions. This lessons also covers how to do publishing in a secure way by using Trusted Publishing.
33
:og:title: Setup Trusted Publishing for secure and automated publishing via GitHub Actions
44
---
55

@@ -199,7 +199,7 @@ still need to upload it to PyPI. We could upload the package from the same job,
199199
but it is better to create a separate one, to maintain separation of concerns.
200200
This is why in the previous section we uploaded the artifact to the temporary
201201
storage -- in the new job, we will download the package from there and upload it
202-
to PyPI. Since this job does nothing else, there is no possiblity that the
202+
to PyPI. Since this job does nothing else, there is no possibility that the
203203
package could get compromised before the release.
204204

205205
### Step 1: Add the upload job

0 commit comments

Comments
 (0)