[ Home ] [ About ][ Posts ][ Git ][ Contact ][ Links ][ Bookmarks ]

How to setup password-store in Linux

Estimated reading time: 1 minutes

First download zbar pass pass-otp gnupg

  1. gpg –full-gen-key # generate gpg key for encrypting password
  2. pass init username@domain
  3. pass add xxxx
  4. pass xxxx # get password after entering passphrase of gpg key pass ls # list out all password stored passmenu [–type] # for dmenu, with –type it prints to shell

For OTP: Download the QR code of the OTP and run

zbarimg -q [img path] # copy the file content including the otpauth://

pass otp add xxxx # paste the file content
pass xxxx # give the otpauth://
pass otp xxxx # give the otp