Skip to content

Make application/pgp-* not inherit from text/plain

Alex Henrie requested to merge alexhenrie/shared-mime-info:pgp into master

Although IANA's summaries of application/pgp-encrypted,[1] application/pgp-keys,[2] and application/pgp-signature [3] all say that they are exclusively "7bit text", they also all reference RFC 3156 which says that these formats may be either text or binary:

"OpenPGP implementations can generate either ASCII armor or 8-bit binary output when encrypting data, generating a digital signature, or extracting public key data." [4]

Moreover, GPG's default is to create binary files rather than base64 ASCII files.

This reverts commit 2a82916e.

[1] https://www.iana.org/assignments/media-types/application/pgp-encrypted [2] https://www.iana.org/assignments/media-types/application/pgp-keys [3] https://www.iana.org/assignments/media-types/application/pgp-signature [4] https://www.rfc-editor.org/rfc/rfc3156

Merge request reports

Loading