Unix Password Manager

From Free Knowledge Base- The DUCK Project: information for everyone
Revision as of 12:04, 19 March 2024 by Littleguy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

pass

the unix password manager

You can store an organize your passwords in encrypted format and organized in a hierarchy of user defined categories and depth or as a flat simple schema.

usage

see all the existing passwords in the store:

pass

show passwords: (foo is the name of the site or reference tied to a password)

pass foo

for a site or reference within a category

pass catname/foo

copy the password directly to the clipboard

pass -c foo

generate new passwords via urandom

pass generate foo 8

remove site or reference password

pass rm foo

initial setup

pass uses gnupg2, which does not share it's keyring with gnupg

You will need gpg key generated, public and private. You can generate or import with gnupg2.

With the key available the command format for pass will look something like this example. Replace the username and the sample key 0123456789ABCDEF with yours from .gnupg/pubring.kbx or wherever yours is stored.

gpg2 --import private.key
gpg2 --edit-key nicolep
pass init "nicolep 0123456789ABCDEF"
pass init nicolep