Bug 9401 - application/pgp-* are missing magic/globs
Summary: application/pgp-* are missing magic/globs
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-20 04:43 UTC by Adam Schreiber
Modified: 2007-02-05 02:57 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Adds magic to pgp types (1.62 KB, patch)
2006-12-20 04:44 UTC, Adam Schreiber
Details | Splinter Review
pgp-mimetypes.patch (2.09 KB, patch)
2006-12-20 08:35 UTC, Sebastian Dröge (slomo)
Details | Splinter Review

Description Adam Schreiber 2006-12-20 04:43:27 UTC
The missing magic for application/pgp-encrypted, application/pgp-keys and
application/pgp-signature is causing conflicts with the mime info file installed
properly with seahorse.  This causes our integration with the file system to
break.  The solution is to copy our magic to freedesktop.org.xml.in.  I will
attach a patch.
Comment 1 Adam Schreiber 2006-12-20 04:44:16 UTC
Created attachment 8175 [details] [review]
Adds magic to pgp types
Comment 2 Sebastian Dröge (slomo) 2006-12-20 04:50:15 UTC
There's also application/pgp which is chosen for *.pgp files. This should
probably be removed in favor of application/pgp-encrypted as now both are
responsible for *.pgp.
Comment 3 Sebastian Dröge (slomo) 2006-12-20 08:35:13 UTC
Created attachment 8179 [details] [review]
pgp-mimetypes.patch

This patch removes application/pgp and marks it as an alias of
application/pgp-encrypted. This makes the mimetype detection finally work on my
machine and seahorse via nautilus is also happy.
Comment 4 Adam Schreiber 2007-01-26 13:13:42 UTC
Jonathan, Is there anything else that needs to be done for Sebastian's patch to be applied?
Comment 5 Bastien Nocera 2007-02-05 02:57:18 UTC
2007-02-05  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Patch from Adam Schreiber <sadam@clemson.edu>
        and Sebastian Dröge <slomo@ubuntu.com> to clean up PGP/GnuPG file
        types detection (Closes: #9401)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.