Question

I have GPG Suite 2020.1 installed on 2 computers, both running macOS 11.0.1.

I would like to sync my GPG keychain and config files between them, so that adding/trusting a key on one machine is reflected on the other. I imagine this should be possible by syncing one or more files from ~/.gnupg

For the sync mechanism, I will be using Resilio Sync (not a public cloud). However, that should be mostly irrelevant; I imagine one could use git, Syncthing, or even Dropbox (risks of storing private keys on a public cloud notwithstanding!)

Can anyone tell me if this is possible, and how to do it?

No correct solution

OTHER TIPS

Yes, it is certainly possible. The files in ~/.gnupg are just ordinary text files - there's nothing that "binds" them to one specific machine as such.

You can do it either by adding the files to an already-synced folder, and then linking them into ~/.gnupg - or by choosing ~/.gnupg as the folder where you want data synced to (you can choose that individually for each folder that you sync from Resilio).

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top