Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the recommendation to store passwords in clear text. #546

Merged
merged 1 commit into from
Aug 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions source/guides/using-testpypi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ you're testing has dependencies:
Setting up TestPyPI in pypirc
-----------------------------

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

Create or modify ``$HOME/.pypirc`` with the following:
Expand All @@ -74,11 +74,10 @@ Create or modify ``$HOME/.pypirc`` with the following:
[testpypi]
repository: https://test.pypi.org/legacy/
username: your testpypi username
password: your testpypi password


.. Warning:: This stores your password in plaintext. It's recommended to set
narrow permissions on this file.
.. Warning:: Do not store passwords in the pypirc file.
Storing passwords in plain text is never a good idea.

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