0install / docs

Zero Install documentation web-site
https://docs.0install.net
Creative Commons Attribution Share Alike 4.0 International
57 stars 8 forks source link

[windows] How do I move private gpg keys with me to a new machine? #26

Open akavel opened 2 months ago

akavel commented 2 months ago

I installed 0install on a new (Windows) machine. On the previous one, I had a bunch of feeds I packaged using the GUI tools into a catalog. I publish the catalog and registered it at http://roscidus.com/0mirror/. When I tried creating a new app on the new machine, it looks like 0install automatically created a new gpg key (?) and used it for signing (or am I misunderstanding something?). I tried to search for some info in the docs about private gpg keys storage, but wasn't successful in finding any.

Is there some way to carry my private gpg signing keys with me from one machine to another? Is it documented in the docs somewhere that I failed to find?

bastianeicher commented 2 months ago

The various 0install publishing tools all call gpg (GnuPG) under the hoods to sign feeds.

On Windows GnuPG stores private keys (and other data) in %appdata%\gnupg by default. So copying that directory from your old machine to the new one should do the trick.