top | item 39205149

(no title)

X-Istence | 2 years ago

Macaroons are also implemented and used by pypi.org's implementation named Warehouse:

https://warehouse.pypa.io/development/token-scanning.html

Also see:

https://pypitoken.readthedocs.io/en/latest/

discuss

order

woodruffw|2 years ago

Yes, although PyPI doesn't currently do much attenuation or delegation with them (this is largely my fault, since I didn't fully understand their power when picking them for the implementation).

That's been slowly changing, however -- as of a few months ago, PyPI issues slightly more compact API tokens that make better use of discrete caveats. They're also used on the Trusted Publishing[1] side to make the API token self-expiring.

[1]: https://docs.pypi.org/trusted-publishers/