ietf
[Top] [All Lists]

Media type for PGP message?

2014-10-13 12:25:11
Back story: There are starting to be a few decent crypto apps, desktop and
mobile, that put a pretty face on OpenPGP
encrypt/decrypt/verify/key-management.  I posted a couple example
screencasts in https://www.youtube.com/channel/UCZYI0JHoJCILEegRJsWufXQ

On Android, it would make it easier to stitch these things together if
there were a way you could ask the system “Here's a PGP message, identified
by media type, are there any apps registered to handle that media type?”
 Typically, everything is ASCII-armored.

By PGP message, I mean the bits betweeen
-----BEGIN PGP MESSAGE-----
and
-----END PGP MESSAGE-----

RFC 3156 registers application/pgp-encrypted but only as a part of a
multipart/encrypted top-level media type, so it wouldn’t be appropriate to
use that (I think).

So:

1. Am I missing something? Is there a media-type suitable for standalone
ASCII-armored PGP messages?
2. If not, would it be a sane idea to register such a media type?  It would
make life easier anywhere that dispatching by media type is used.

Assuming this is sane, I’d be happy to cook up a draft.