On Fri, 2024-11-29 at 19:21:20 +0100, Simon Josefsson wrote:
> Guillem Jover <guil...@debian.org> writes:
> > But I guess your plan of just accepting .asc, .pgp, and .gpg, and
> > warning to rename to .pgp for other extensions would be the safest
> > less disruptive path for now.
> 
> The registered MIME file extension for PGP keys is *.asc, see:
> 
> https://www.rfc-editor.org/rfc/rfc3156.html#section-9.3

That is for ASCII Armored certificates or keys. I'm not sure whether
there's anything else that might recommend or specify extensions for
the various OpenPGP data. I'll try to bring that up in the WG list.

> However the files used here are keyrings.  Where is the specification
> for that file format?  Isn't that GnuPG's file format?

A keyring is just a concatenation of OpenPGP certificates. The file
format used in binary keyrings is just the one specified in the
OpenPGP RFC.

The only format which is GnuPG specific, are for example its internal
keybox keyrings, which I don't think has ever been used as any kind
of public interchange format.

In any case, «.gpg» seems definitely wrong as an extension for OpenPGP
RFC conformant data. For v5 stuff it could make sense though.

Thanks,
Guillem

Reply via email to