You are not logged in.
Goodmorning everyone! I want to export my GPG public keys, but I need to know how to do it in my situation:
I have only one secret key like this
Name Surname <mail@provider.com>
In this key I have more subkeys:
Name Surname <mail2@provider2.com
Nickname <mail@provider.com
Nickname <mail3@provider3.com
Name Surname <mail4@provider.com>
My question is: how can I export all this (secret and public) keys? I need to export only the main key to export them all, or I need to export them one by one? If the latter, how can I select one key from another if they have the same username or the same email?
The wiki wasn't helpful, and so the GPG manual...
Last edited by Delcaran (2012-03-22 15:01:51)
I apologize for my English...
Offline
Your subkeys will be exported along with the main key.
gpg -a -o output.asc --export mail@provider.com
(-a enables ASCII output, -o output.asc sets output.asc as your output file.)
Offline
Ok, thanks! That works also with secret keys with --export-secret-keys!
I apologize for my English...
Offline