- Export the GPG key from an existing system (if you don’t have it
in an ironkey)
gpg --list-keys
- Grab the name id of the key and export private/public pair
gpg --output mygpgkey_pub.gpg --armor --export <id> gpg --output mygpgkey_sec.gpg --armor --export-secret-key <id>
- Copy the files over to the new machine
- Import the keys in the new machine
gpg --import ~/pass_pub.gpg gpg --allow-import-secret-key --import ~/pass_sec.gpg
- At this point you can
git clone <repo> ./password-store
- Getting errors like the following
gpg: no valid addressees gpg: [stdin]: encryption failed: No user ID Password encryption aborted.
gpg --edit-key #And then in the prompt gpg> trust