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.
Created attachment 8175 [details] [review] Adds magic to pgp types
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.
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.
Jonathan, Is there anything else that needs to be done for Sebastian's patch to be applied?
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.