~/talk

Trusted Publishing: Lessons from PyPI

Talkat OpenSSF Day Europe 2023 · on Monday, 2023-09-18· [security, developer-experience]
slides:none on file

PyPI implements Trusted Publishing: an OpenID Connect-based flow that exchanges ephemeral OIDC credentials from CI (GitHub Actions) for short-lived, scoped API tokens (10-minute lifetime), eliminating long-lived user tokens and most manual token handling. It adds pending publishers to create projects on first publish and ties publish rights to repo+workflow, not secrets. Thousands of packages, including central Python dependencies, have enrolled. Implementation pain points include complex many-to-many data models, wide IDP claim variability, and the need to exchange OIDC for internal tokens.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:44Authentication problems with PyPI
  3. 3:53API tokens and their limits
  4. 6:21Goals for trusted publishing
  5. 7:21OpenID Connect fundamentals
  6. 8:26Trusted publishing concept
  7. 10:11How trusted publishing works
  8. 11:15Solving the chicken and egg problem
  9. 12:58Supply chain benefits
  10. 14:04Data model complexities
  11. 15:28OpenID Connect variations
  12. 16:51Provider-specific challenges
  13. 18:14Why exchange OIDC for API tokens
  14. 20:19Naming and usability feedback
  15. 21:01User adoption and future steps
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.