python-pass ###########
.. image:: https://travis-ci.org/aviau/python-pass.svg?branch=master :target: https://travis-ci.org/aviau/python-pass
.. image:: https://img.shields.io/coveralls/aviau/python-pass.svg :target: https://coveralls.io/r/aviau/python-pass?branch=master
.. image:: https://readthedocs.org/projects/pypass/badge/?version=latest&style :target: https://readthedocs.org/projects/pypass/ :alt: Documentation Status
.. image:: https://img.shields.io/pypi/v/pypass.svg :target: https://pypi.python.org/pypi/pypass/ :alt: Latest Version
For fun, I have decided to write pass <http://www.passwordstore.org/>
_ in Python.
Python-pass will provide the same functionality as pass <http://www.passwordstore.org/>
_. In addition, it will be usable as a library.
Testing +++++++
Python-pass is tested for python 2.7, 3.6, 3.7, pypy and pypy3
sudo apt-get install -y gnupg tree
make setup_gpg
tox
make test
make run
Documentation +++++++++++++
Documentation for python-pass is available on pypass.rtfd.org <http://pypass.readthedocs.org/>
_.
You can build the documentation and the man page yourself with tox -edocs
. The HTML documentation will be built in docs/build/html
and the man page will be built in docs/build/man
.
Project Status ++++++++++++++
Comming soon.
pypass init
pypass init
- creates a folder and a .gpg-id file--path
optionPassword store initialized for [gpg-id].
--clone <url>
allows to init from an existing repopypass insert
pypass insert test.com
prompts for a password and creates a test.com.gpg filepypass show
pypass show test.com
will display the content of test.com.gpg--clip, -c
copies the first line to the clipboard--password
, and --username
options.
Accepted format:
::
pypass connect
(or ssh
)This new command should connect to a server using an encrypted rsa key.
pypass ls
pypass ls
shows the content of the password store with tree
pypass
invokes pypass ls
by defaultpypass ls subfolder
calls tree on the subfolder onlyPassword Store
pypass rm
pypass rm test.com
removes the test.com.gpg filepypass remove
and pypass delete
aliasespypass rm -r folder
(or --recursive
) will remove a folder and all of it's content (not interactive!)pypass find
pypass find python.org pypass
will show a tree with password entries that match python.org or passpypass cp
pypass cp old-path new-pah
copies a password to a new pathpypass mv
pypass mv old-path new-path
moves a password to a new pathpypass git
pypass git init
should behave differently with an existing password storepypass edit
pypass edit test.com
will open a text editor and let you edit the passwordpypass grep
pypass grep searchstring
will search for the given string inside all of the encrypted passwordspypass generate
pypass generate [pass-name] [pass-length]
Genrates a new password using of length pass-length and inserts it into pass-name.pass-length
argument is optional, defaults to 25, can be set with envvar PASSWORD_STORE_GENERATED_LENGTH
--no-symbols, -n
--clip, -c
--in-place, -i
modify only the first line, fails if pass-name
doesn't exist--force, -f