Bug#913550: shared-mime-info: Don't assume every *.key file is an Apple Keynote file

Chris Lamb lamby at debian.org
Mon Nov 12 08:42:29 GMT 2018

Source: shared-mime-info
Version: 1.10-1
Severity: normal
Tags: patch


A Tails user's OpenPGP armored public key (e.g. exported with "gpg --
armor --export $KEY_ID" is incorrectly recognised as "application/x-

This was originally filed as:


.. then migrated to GitLab here:


I created a corresponding upstream merge request here:


.. but upstream are too busy to cut a release:


Therefore I am requesting you apply this to the local Debian
packaging in time for buster. Many thanks in advance.

Best wishes,

     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
-------------- next part --------------
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index d9bc132..2828a6e 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -293,7 +293,6 @@ command to generate the output files.
     <glob pattern="*.asc" weight="10"/>
     <glob pattern="*.pgp"/>
     <glob pattern="*.gpg"/>
-    <glob pattern="*.key"/>
   <mime-type type="application/pgp-signature">
     <_comment>detached OpenPGP signature</_comment>
@@ -7088,7 +7087,7 @@ command to generate the output files.
         <match type="string" value="index.apxl" offset="30"/>
-    <glob pattern="*.key" weight="80"/>
+    <glob pattern="*.key"/>
     <alias type="application/vnd.apple.keynote"/>

More information about the Pkg-freedesktop-maintainers mailing list