How to setup password-store in Linux
Estimated reading time: 1 minutesFirst download zbar pass pass-otp gnupg
- gpg –full-gen-key # generate gpg key for encrypting password
- pass init username@domain
- pass add xxxx
- 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://
```sh
pass otp add xxxx # paste the file content
pass xxxx # give the otpauth://
pass otp xxxx # give the otp