DEV Community

Gareth M.
Gareth M.

Posted on

Passman - a password manager for the command line

Introduction

Passman is a python script that encrypts your passwords with gpg. The inspiration for this project came from pass, a shell script that does the same thing.

Dependencies

gpg and xclip should be installed. No external python libraries were used.

Structure

Passman stores credentials in the following file structure:

-- Website name
       |
       -- username_1.enc
       |
       -- username_2.enc
Enter fullscreen mode Exit fullscreen mode

Passwords are copied to the clipboard with xclip, and are cleared from the clipboard after one paste. Configuration is done via a json file, which must be named config.json, and be in the same directory as passman.py. Since there are no external dependencies, passman.py can be moved around and placed wherever, as long as the store_path variable in config.json is set correctly.

Top comments (0)