Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I created a pgp-key with Seahorse 3.6.3. If i select the key and go to "File -> Export", i can choose between two options: An .asc-file, which exports the public key in a text format, and a .pgp-file, which creates a binary file.

I can't figure out what the binary file contains and for what it is used. Does it contain my private key? Can i give it away (because i did without understanding what i was doing)? What is it for?

TIA.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

OpenPGP knows to file formats, the binary one (more efficient in terms of storage and transmission) and the ascii armored version (more compatible).

Seahorse probably includes your public key, public subkeys, user ids and incoming signatures with your key (like GnuPG does). To verify what's included, run gpg --list-packets [filename], which will dump all OpenPGP packets included in the file.

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.