https://pantsbuild.org/ logo
h

high-yak-85899

04/11/2023, 8:48 PM
Pants dumps really sensitive info when errors happen
Copy code
--index-url <https://nathanael>:<my whole token in plaintext>@artifactory.corp.astranis.space/artifactory/api/pypi/pypi-virtual/simple --retries 5 --timeout 15 exited with 1 and STDERR:
How would I prevent that?
🙈 1
c

curved-television-6568

04/11/2023, 8:52 PM
setup the pypi credentials oob..?
oh, maybe that doesn’t work for index url..?
h

high-yak-85899

04/11/2023, 8:55 PM
If I use environment variables, things are fine, but a little scary how easy things are to leak
c

curved-television-6568

04/11/2023, 8:56 PM
agree
2 Views