Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I've created a keypair with

gpg2 --gen-key

Then I created a subkey only for sign. If I clearly understand the process I have now 3 pub/priv pairs. The master, one for encrypt and one for signing. I exported public keys with :

gpg --armor --export FINGERPRINT > pub.asc

Now I have a file which seems to contains only one public key, is it the master public key ? Does this pub key contains the others public keys ?

Because I'll sign with the third subkey I've created, so which public key do I need to upload on a keys-server ?

Thank's in advance for explanation.

share|improve this question

migrated from crypto.stackexchange.com Feb 13 at 18:55

This question came from our site for software developers, mathematicians and others interested in cryptography.

1 Answer 1

up vote 1 down vote accepted

Subkeys are bound to the primary key and exported together with it when calling gpg --export or gpg --send-keys. Same applies to signatures and user ID packages.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.