ietf-openpgp
[Top] [All Lists]

Re: [urgent] PGP/MIME IANA considerations: file extensions, Macintosh file type codes.

2001-07-17 15:12:04
So what change do you suggest? Should I replace the extension in 9.2 by ".sig", or list ".asc" and ".sig"? (I also note that PGP 2.6 and PGP 5.0i generate ".asc" for ASCII-armored detached signatures on my Linux machine; gnupg generates ".sig".)

And what file type and extension am I supposed to put in there for ascii-armored public keys? ".asc" and "TEXT"? ".pkr" and "pgPR"? None of these seem to make terribly much sense to me.

Or should I just drop extensions and Mac file types?

PLEASE ADVISE ASAP. THE FINAL DRAFT MUST BE IN THE I-D REPOSITORIES WITHIN LESS THAN 48 HOURS.

--
Thomas Roessler                        http://log.does-not-exist.org/






On 2001-07-17 13:10:23 -0700, Will Price wrote:
Date: Tue, 17 Jul 2001 13:10:23 -0700
From: Will Price <wprice(_at_)cyphers(_dot_)net>
Reply-To: wprice(_at_)cyphers(_dot_)net
X-Mailer: Mozilla 4.75 (Macintosh; U; PPC)
To: Florian Weimer <Florian(_dot_)Weimer(_at_)RUS(_dot_)Uni-Stuttgart(_dot_)DE>
Cc: "openPGP e-Mail (E-Mail)" <ietf-openpgp(_at_)imc(_dot_)org>
Subject: Re: [urgent] PGP/MIME IANA considerations: file extensions, Macintosh file type codes.


The "pgDS" file type is a Detached Signature. The correct file extension
for a detached signature is ".sig". These are ASCII files. They do *not*
use the ".asc" extension.

The "pgPR" file type is a Public Keyring file. The correct file extension
for a Public Keyring file is ".pkr". These are always binary files.

".asc" files sometimes contain keys, and sometimes contain encrypted
and/or signed data -- always in ASCII format. These files have no special
Macintosh file type. The file type for these is the standard "TEXT".

The "pgRR" file type is a Secret Keyring file. The correct file extension
for a Secret Keyring file is ".skr". These are always binary files.

The "pgEF" file type is a PGP encrypted and/or signed file. The correct
file extension for such a file is ".pgp". These are usually binary files,
but not always.



Florian Weimer wrote:

Excerpt from the current OpenPGP/MIME draft:

| 9.2.  Registration of the application/pgp-signature media type

|    Encoding considerations:
|
|       The content of this media type always consists of 7bit text.

|    Additional information:
|
|       Magic number(s): none
|       File extension(s): asc
|       Macintosh File Type Code(s): pgDS

| 9.3.  Registration of the application/pgp-keys media type

|    Encoding considerations:
|
|       The content of this media type always consists of 7bit text.

|    Additional information:
|
|       Magic number(s): none
|       File extension(s): asc
|       Macintosh File Type Code(s): pgPR

Doesn't Macintosh PGP (and perhaps other programs as well) store
binary data in pgDS/pgPR files as well?  That's why I don't think the
MIME types and Macintosh file types are equivalent.


--

Will Price, Director of Engineering
PGP Security, Inc.
a division of Network Associates, Inc.


Attachment: pgptQ5POe2fOp.pgp
Description: PGP signature