Hi, the .asc extension for PGP files is not really managed well currently. It's only registred for application/pgp-encrypted but people also use it for ASCII signatures and keys. The same applies for the .gpg and .pgp extensions. The current behaviour makes it impossible to open a ASCII signature file from nautilus as the extension and content differ. Giving the 3 extensions to all 3 types won't give the desired behaviour in nautilus though, it still believes that the .asc extension maps to the encrypted files and doesn't want to open the file because extension and content differ. Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/105874 Bye
Patch? Test case?
Created attachment 32909 [details] testcase for a clear text signature (gpg --clearsign file)
Created attachment 32910 [details] testcase for an ascii armored public key (gpg --armor -o key.asc --export $key)
My last tests resturn the correct results with standard::content-type (testcases have been attached). To me this looks like the issue has been fixed. Setting to resolved/fixed.
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.