diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2022-12-14 22:27:11 -0700 |
---|---|---|
committer | Alex Henrie <alexhenrie24@gmail.com> | 2022-12-14 22:27:11 -0700 |
commit | a2ffb2810ebb387182612e3503dfe29455d4536d (patch) | |
tree | ab98ed06b23251d1635e5a26bcf8a201aea0f9ee | |
parent | fea642e9a88fffc8fb14793a5cbd6c4031d4271b (diff) | |
download | shared-mime-info-a2ffb2810ebb387182612e3503dfe29455d4536d.tar.gz |
Make application/pgp-* not inherit from text/plain
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 2a82916e00e5541bc163c56de87d03c42c8a31b3.
[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
-rw-r--r-- | data/freedesktop.org.xml.in | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 95d769ad..b178ce21 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -269,8 +269,6 @@ command to generate the output files. </mime-type> <mime-type type="application/pgp-encrypted"> <comment>PGP/MIME-encrypted message header</comment> - <sub-class-of type="text/plain"/> - <generic-icon name="text-x-generic"/> <magic> <match type="string" value="-----BEGIN PGP MESSAGE-----" offset="0"/> </magic> @@ -283,8 +281,6 @@ command to generate the output files. <comment>PGP keys</comment> <acronym>PGP</acronym> <expanded-acronym>Pretty Good Privacy</expanded-acronym> - <sub-class-of type="text/plain"/> - <generic-icon name="text-x-generic"/> <magic> <match type="string" value="-----BEGIN PGP PUBLIC KEY BLOCK-----" offset="0"/> <match type="string" value="-----BEGIN PGP PRIVATE KEY BLOCK-----" offset="0"/> @@ -302,8 +298,6 @@ command to generate the output files. </mime-type> <mime-type type="application/pgp-signature"> <comment>detached OpenPGP signature</comment> - <sub-class-of type="text/plain"/> - <generic-icon name="text-x-generic"/> <magic> <match type="string" value="-----BEGIN PGP SIGNATURE-----" offset="0"/> </magic> |