Difference between revisions of "Unix Password Manager"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "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 si...")
 
m
Line 28: Line 28:
 
pass uses gnupg2, which does not share it's keyring with gnupg
 
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.
+
You will need gpg key generated, public and private.  You can generate or import with gnupg2. To import here is an example:
 
+
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 --import private.key
 
  gpg2 --edit-key nicolep
 
  gpg2 --edit-key nicolep
 +
 +
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.
 
  pass init "nicolep 0123456789ABCDEF"
 
  pass init "nicolep 0123456789ABCDEF"
 
  pass init nicolep
 
  pass init nicolep
 +
 +
[[Category:Computer_Technology]]
 +
[[Category:Linux]]

Revision as of 12:05, 19 March 2024

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. To import here is an example:

gpg2 --import private.key
gpg2 --edit-key nicolep

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.

pass init "nicolep 0123456789ABCDEF"
pass init nicolep