Bottom Page

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 encrypting PyPi passwords in pypirc
How can I encrypt a password for use in the pypirc file for authentication to my PyPi repository? I understand that I can omit the password and get prompted in my local builds but for CI or automated builds I need to have the password in the file but our security policy won't allow the password to be stored in plain text. Any suggestions?
You can use passlib for this,
here's a blog on this:

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  I need help using Python to generate usernames and passwords with excel documents Jannejannesson 3 207 May-08-2019, 02:30 PM
Last Post: Jannejannesson
  I cannot import the module I built for pypi PeriGK 2 1,057 Apr-10-2018, 07:44 PM
Last Post: PeriGK
  PyPI - Error when assigning roles marmadukeandbob 0 490 Feb-06-2018, 05:26 PM
Last Post: marmadukeandbob
  Updating a package published on PyPI marqrdt 1 670 Jan-02-2018, 02:03 AM
Last Post: Larz60+

Forum Jump:

Users browsing this thread: 1 Guest(s)