Summary: | All .asc files are recognized as OpenPGP files | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Jérémy Bobbio <lunar> |
Component: | freedesktop.org.xml | Assignee: | Shared Mime Info group <shared_mime_info> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | lunar |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
patch v1
Example encrypted message .asc file detected as plain text |
Description
Jérémy Bobbio
2013-10-16 16:30:22 UTC
We tested this patch and it works as expected when used in the context of GNOME Seahorse. Any news? commit 4f33cfd52a4a794f9dfeb2e53b788780d5d3f1c5 Author: Jérémy Bobbio <lunar@debian.org> Date: Wed Oct 16 11:12:28 2013 +0200 Do not recognize all .asc files as application/pgp-encrypted The change introduced in 2c3438c had the unfortunate effect of having all .asc be identified as application/pgp-encrypted. As this should only happen when we can identify armor headers, we now give a lower weight than text/plain to the *.asc glob for OpenPGP MIME types. https://bugs.freedesktop.org/show_bug.cgi?id=70539 Created attachment 115788 [details]
Example encrypted message .asc file detected as plain text
I have a *.asc encrypted message that is detected as plain-text. I was told to file a bug report here from the KDE bug tracker. https://bugs.kde.org/show_bug.cgi?id=346754#c5 To summarise, the file that I have attached is opened as a plain text file by default. I removed *.asc association with plain-text files to get it recognised as a GPG-encrypted message. Re-adding *.asc as a recognised filetype for plain-text documents returns the erroneous recognition. Sorry. I am going to file a new bug report instead. |
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.