Skip to content

Instantly share code, notes, and snippets.

@mstuttgart
Last active October 27, 2024 01:16
Show Gist options
  • Select an option

  • Save mstuttgart/a1d1f2f099ebb8dce30a4cc2f6ef3ac3 to your computer and use it in GitHub Desktop.

Select an option

Save mstuttgart/a1d1f2f099ebb8dce30a4cc2f6ef3ac3 to your computer and use it in GitHub Desktop.
Restore pass content in new machine

Restore gpg private and public keys:

gpg --import PRIVATE_KEY.gpg
gpg --import PUBLIC_KEY.gpg

Clone key repository

git clone git@github.com:user/repo.git ~/.local/share/pass

It's create a folder on $HOME/.local/share/pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment