How to export public GPG key?
+0
−0
GPG stores keys inside an internal database of some sort. How to export your public key in the familiar -----BEGIN PGP PUBLIC KEY BLOCK-----
format so that it can be imported to other software? E.g. to a git forge.
1 answer
+1
−0
This is how to save it to a file:
$ gpg --export --armor key-id > my-key.pub
--armor
stands for the format with printable characters.
0 comment threads