You are not logged in.

#1 2012-03-22 08:40:47

Delcaran
Member
From: ud.fvg.it
Registered: 2010-11-14
Posts: 25
Website

[SOLVED] Help with GPG

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

#2 2012-03-22 11:57:32

-Syu
Member
Registered: 2012-01-24
Posts: 29

Re: [SOLVED] Help with GPG

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

#3 2012-03-22 15:01:31

Delcaran
Member
From: ud.fvg.it
Registered: 2010-11-14
Posts: 25
Website

Re: [SOLVED] Help with GPG

Ok, thanks! That works also with secret keys with --export-secret-keys!


I apologize for my English...

Offline

Board footer

Powered by FluxBB