Up
A script for interacting with GNU pass through dmenu.
Dependencies
- pass
- dmenu
- xclip
- find
- sed
- echo
- st
- openssh (optional, required for syncing)
Setup
- Create a link from
up.sh
to somewhere on your path calledup
. - Create a link from
pass_ssh.sh
to somewhere on your path calledpass_ssh
. - If you have syncing set up, store the passphrase for your ssh key in
~/.password-store/ssh.gpg
.
Usage
Copying a password
- Run
up
. - Select the service from the menu.
- Select “Copy”.
- up will look for a username on line 2 of the credential file for the selected service, and copy it into your clipboard if it exists.
- Once you paste the username, up will look for a password on line 1 of the credential file and copy it into your clipboard.
Editing a password
- Run
up
. - Select the service from the menu.
- Select “Edit”.
- Edit your password in the text editor.
Generating a password
- Run
up
. - Type in the name of the service you want to generate a password for.
- If the password exists, select “Generate”, otherwise go to the next step.
- Select “Yes” from the menu.
- Your new password will be generated.