Skip to main content

Command Line Password Manager is a tool to manage accounts/passwords in the command line. All accounts/passwords are stored in an encrypted file, protected by user given passphrase.

Encryption/decryption is done using Python cryptography library: https://cryptography.io/en/latest/.

Requirements

CLI Password Manager requires Python 3.4.3 (or later). Python packages cryptography and pyperclip are required. Command line password generator, pwgen (http://sourceforge.net/projects/pwgen/), is not required but recommended.

Use environment variable CLIPWDMGR_FILE to specify path and file of your password file. There is no default location for password file, so you need to specify it before executing clipwdmgr. Reason for this is that password file could be in Dropbox or other directory and shared across many computers.

Development and testing has been done using Windows 7 & Cygwin (64bit) and latest OS X & Brew.

Install

Install latest version: pip install clipwdmgr.

or do it in steps (to avoid known problems):

  • Install pyperclip: pip install pyperclip

  • Install cryptography: pip install cryptography

  • Install clipwdmgr: pip install clipwdmgr

Known problem: Mac OS X

When using Mac OS X El Capitan: install may fail with error: fatal error: ‘openssl/aes.h’ file not found. Fix this by first installing OpenSSL using Homebrew and executing command:

env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography

and then using: pip install clipwdmgr

Or, specifying only binary for cryptography pip install clipwdmgr –only-binary cryptography should work too.

See here: https://github.com/pyca/cryptography/issues/2350.

Known problem: MS Windows

When using pip install in Windows and Cygwin, install may fail to with error: error: Setup script exited with error: Unable to find vcvarsall.bat.

Workaround is to install prereq cryptography before clipwdmgr: pip install cryptography. Specifying only binary for cryptography pip install clipwdmgr –only-binary cryptography may also work.

Usage

Execute clipwdmgr and a simple shell opens. Start by adding new account using ‘add’ command.

Type ‘help’ to get list of available commands. Commands include: add, view, search, edit, list, pwd, pwgen and others.

Shell is very basic but serves it’s purpose. When you have added accounts you can view them using:

view startofaccountname

View-command takes the start of account name and prints out all matching accounts and copies password to clipboard.

Search-command searches all accounts by name, url or comment:

search partofname

List-command lists all accounts:

list

About

Some words about the origins of CLI Password Manager: http://sami.salkosuo.net/cli-password-manager/ and some other words about v0.4 http://sami.salkosuo.net/cli-password-manager-v0-4/.

Metadata

Release files for clipwdmgr 0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clipwdmgr 0.11
File Size Uploaded
clipwdmgr-0.11.tar.gz 16.7 kB Details

Release files / clipwdmgr-0.11.tar.gz

Download URL clipwdmgr-0.11.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cfebde0f07c3c4a725e2d14e3035f383751900bdebfb2726ad3858c83d10b69b
BLAKE2b-256 checksum
How to use checksums
b6c675e24eec2dbfea2560ee3730dfca0def9f470c10a9c006e40e7e51a0d981
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.11 This release

1 release file

0.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page