Monday 9 November 2020

Pass utility to store password

Using Pass to save password securely. It requires GPG and keyes




gpg2 --gen-key
gpg --list-keys
gpg --list-keys  #Note Pubkey
      pub   2048R/0850D367 2020-11-09
      uid                  Securepass-store pass@nobody.com
      sub   2048R/677223F7 2020-11-09

#Initialise password store using GPG UID or Pub
pass init 2048R/0850D367
    Password store initialized for 2048R/0850D367.
#Now Pass is ready to ass password
pass insert -n user1