Skip to content

Commit e1cd947

Browse files
illumetheacodes
authored andcommitted
Remove the recommendation to store passwords in clear text. (pypa#546)
1 parent 63ed047 commit e1cd947

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

source/guides/using-testpypi.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ you're testing has dependencies:
5959
Setting up TestPyPI in pypirc
6060
-----------------------------
6161

62-
If you want to avoid entering the TestPyPI url and your username and password
62+
If you want to avoid entering the TestPyPI url and your username
6363
you can configure TestPyPI in your ``$HOME/.pypirc``.
6464

6565
Create or modify ``$HOME/.pypirc`` with the following:
@@ -74,11 +74,10 @@ Create or modify ``$HOME/.pypirc`` with the following:
7474
[testpypi]
7575
repository: https://test.pypi.org/legacy/
7676
username: your testpypi username
77-
password: your testpypi password
7877
7978
80-
.. Warning:: This stores your password in plaintext. It's recommended to set
81-
narrow permissions on this file.
79+
.. Warning:: Do not store passwords in the pypirc file.
80+
Storing passwords in plain text is never a good idea.
8281

8382
You can then tell :ref:`twine` to upload to TestPyPI by specifying the
8483
``--repository`` flag:

0 commit comments

Comments
 (0)