piighost/pypi-token

PyPI upload token. The macaroon body always opens with the base64 of the issuing domain, so pypi-AgEIcHlwaS5vcmc for pypi.org and pypi-AgENdGVzdC5weXBpLm9yZw for test.pypi.org are fixed prefixes. No practical noise, and the fifty character minimum on the tail keeps a bare prefix quoted in documentation out. No collision.

Label: PYPI_TOKEN

Pattern

\bpypi-AgE(?:IcHlwaS5vcmc|NdGVzdC5weXBpLm9yZw)[A-Za-z0-9_-]{50,}(?![A-Za-z0-9_-])

Must be caught

Must be left alone

Tags: international, secrets, software-dev

Download the detector as TOML