pass management

Initial setup

pass init $KEY_ID

Using existing storage

git clone $PASS_REPOSITORY ~/.password-store

Storing information

-m
multiline edit
pass insert personal/google
pass insert -m personal/id_ed25519 < ~/.ssh/id_ed25519

Editing information

pass edit personal/google

Moving information

pass mv $OLD_PLACE $NEW_PLACE

Generating a password

-n
no symbol
-c
copy to clipboard
pass generate personal/google 20

Retrieving a password

-c
copy to clipboard
pass personal/google

Querying by name

pass find google

Querying by content

pass grep [email protected]

List passwords

pass

Deleting information

-r
to delete entire folder (pass rm -r personal)
pass rm personal/google

Git integration

Once initialized pass will create a commit every time we insert, generate or delete a password

pass git init
pass git remote add origin $GIT_REPOSITORY
pass git push -u origin main

Mobile

Use Password Store from F-Droid to manage your password in mobile

OTP

OTP is provided by pass-otp package.

Append to existing entry

-s
append secret only
-i
append issuer name
-a
append account
pass otp append personal/google

Create standalone

pass otp insert personal/google-otp

Fetch the code

-c
copy to clipboard
pass otp personal/google