Closed Chandra158 closed 2 months ago
- does the TestPypi token have the same format?
TestPypi has different format: pypi-AgENdGVzdC5weXBpLm9yZw[A-Za-z0-9-_]{70,}
- is there a way to check the validity of the token?
This is not supported yet. (refs)
There're some hacky way to do it but it'd also require other details like username
in addition to the token.
Could you add checks for Test Pypi too?
There're some hacky way to do it but it'd also require other details like
username
in addition to the token.
Do you think is something we could add as optional? Maybe you could add it as a configurable option for the user in the baseline file.
Added a new commit for the test.pypi tokens.
Do you think is something we could add as optional? There're some hacky way t
I misunderstood pypitoken apis; this is only possible if the token is created by us. Not suitable for detect-secrets. IMO, there's no way to validate yet.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce?
Tests