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

Hi,

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

This was originally filed as:

  https://bugs.freedesktop.org/show_bug.cgi?id=93656

.. then migrated to GitLab here:

  https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/39

I created a corresponding upstream merge request here:

  https://gitlab.freedesktop.org/xdg/shared-mime-info/merge_requests/5

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

  https://gitlab.freedesktop.org/xdg/shared-mime-info/merge_requests/5#note_76365

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>
   <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"/>
       </match>
     </magic>
-    <glob pattern="*.key" weight="80"/>
+    <glob pattern="*.key"/>
     <alias type="application/vnd.apple.keynote"/>
   </mime-type>
 


More information about the Pkg-freedesktop-maintainers mailing list