Re: default keyring file formats

2013-02-20 Thread Werner Koch
On Wed, 20 Feb 2013 06:05, jw72...@verizon.net said:

 Hi, David. I appreciated your prompt reply. So with a concatenated
 keyring in the format foo.pub would I first use a command like the
 following one if I want to get the keys out of it in order to move

No, please don't do that!  The API to access the keyrings are the
--import and --export commands.

It might work now but may change at any time.  It is not a good idea to
suggest this use.  For example the file ~/.gnupg/pubring.gpg and
~/.gnupg/secring.gpg use private extensions to the OpenPGP format.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


default keyring file formats

2013-02-19 Thread John A. Wallace
A lot of the documentation I see online includes references to files with
names like foo.pub or foo.sec as if these were public key rings and
secret key rings. However, I am accustomed to seeing keyrings like
pubring.gpg and secring.gpg. Were the former of these used as keyring
files in the past, but nowadays the latter format are used?



John A. Wallace

The pen is mightier than the sword, but only if you get in the first stroke.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: default keyring file formats

2013-02-19 Thread David Shaw
On Feb 19, 2013, at 9:27 PM, John A. Wallace jw72...@verizon.net wrote:

 A lot of the documentation I see online includes references to files with 
 names like “foo.pub” or “foo.sec” as if these were public key rings and 
 secret key rings. However, I am accustomed to seeing keyrings like 
 “pubring.gpg” and “secring.gpg”. Were the former of these used as keyring 
 files in the past, but nowadays the latter format are used?

Keyrings of that type are just files with multiple keys concatenated together.  
The format is effectively the same no matter what the filename is.

I've often seen foo.pub / foo.sec as a single key (while the pubring.gpg, 
pubring.pgp, or pubring.pkr) is the keyring, but that's just convention.

David


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: default keyring file formats

2013-02-19 Thread John
David Shaw  wrote in message 
news:A85519AA-6166-48A8-91C8-312ADB5B7EEC__1406.68022581867$1361331370$gmane$o...@jabberwocky.com...


On Feb 19, 2013, at 9:27 PM, John A. Wallace jw72...@verizon.net wrote:

A lot of the documentation I see online includes references to files with 
names like “foo.pub” or “foo.sec” as if these were public key rings and 
secret key rings. However, I am accustomed to seeing keyrings like 
“pubring.gpg” and “secring.gpg”. Were the former of these used as keyring 
files in the past, but nowadays the latter format are used?


Keyrings of that type are just files with multiple keys concatenated 
together.  The format is effectively the same no matter what the filename 
is.


I've often seen foo.pub / foo.sec as a single key (while the pubring.gpg, 
pubring.pgp, or pubring.pkr) is the keyring, but that's just convention.


David


Hi, David. I appreciated your prompt reply. So with a concatenated keyring 
in the format foo.pub would I first use a command like the following one 
if I want to get the keys out of it in order to move them and import them 
into a default (i.e., conventional) keyring of the format pubring.gpg:


gpg --export --no-default-keyring --keyring foo.pub --armor --output 
pubkey_file



John




___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users