Bug 170803 - Add content-based classification for binary data, too.
Summary: Add content-based classification for binary data, too.
Status: RESOLVED FIXED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.0.0-rc5
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Andre Heinecke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 15:32 UTC by Marc Mutz
Modified: 2016-07-14 09:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Mutz 2008-09-10 15:32:49 UTC
Version:           2.0.0-rc5 (using Devel)
Installed from:    Compiled sources

The lack of it is a problem for .p7s files in particular: If both A and A.p7s are present, we cannot determine whether A.p7s is a detached signature over A, or an opaque signature made over A, with A left-over.

There's some code in GpgOL, and on-going work in gpg, to classify binary content. Once done, we should make use of that to get rid of the heuristics we now have.
Comment 1 Emanuel Schütze 2013-05-08 10:12:10 UTC
Andre, can you check this issue with current Kleopatra?
Comment 2 Andre Heinecke 2016-07-14 09:45:25 UTC
Git commit 0499cc6822fab0f3c2036954ecebeb788fae5962 by Andre Heinecke.
Committed on 14/07/2016 at 09:17.
Pushed by aheinecke into branch 'master'.

Handle working gpgme_data_identify in classify

Now that we might have a working identify version we
want to prefer that over our own detection if it is available.

M  +54   -25   src/utils/classify.cpp

http://commits.kde.org/kleopatra/0499cc6822fab0f3c2036954ecebeb788fae5962