Skip to content

Instantly share code, notes, and snippets.

@flbuddymooreiv
flbuddymooreiv / passgitgpg.md
Last active June 21, 2024 12:07
Setting up pass on git with a gpg key

The following shell transcript shows how to:

  • Create a GPG key
  • Create a pass database
  • Add git support to the pass database
  • Create a remote git repository
  • Push the pass database to the remote git repository
  • Fetch and display your passwords from another host

It is assumed that the pass package has been installed on both the first and second computers.