Summary: | kleopatra selftest: a missing /usr/bin/gpgsm binary is shown as 'v1.0 too old' | ||
---|---|---|---|
Product: | [Applications] kleopatra | Reporter: | Achim Bohnet <ach> |
Component: | general | Assignee: | Andre Heinecke <aheinecke> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdepim-bugs, mutz |
Priority: | NOR | ||
Version: | 2.3.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kleopatra/fbf28dc043a9d0bf1a8d774435bedf4d23969656 | Version Fixed In: | 17.04 |
Sentry Crash Report: |
Description
Achim Bohnet
2017-04-14 11:33:24 UTC
I'm going with the "not properly installed" branch as we don't differentiate if gpgsm can't be started because a libarary can't be loaded or the file does not exist etc. This means it was available at the compile time of gpgme, and enabled during the gpg build but is no longer there. The problem here is a fallback in gpgme that reports version 1.0.0 becasue gpgsm 1.0 did not support --version and would error out. Git commit fbf28dc043a9d0bf1a8d774435bedf4d23969656 by Andre Heinecke. Committed on 18/04/2017 at 13:33. Pushed by aheinecke into branch 'Applications/17.04'. Fix selftest for gpgsm installation Treat a reported version of gpgsm just as "not properly installed" it is highly unlikely to encounter a gpgsm 1.0 in the wild but this version is reported as a fallback by gpgme if gpgsm --version returns an error. FIXED-IN: 17.04 M +4 -1 src/selftest/enginecheck.cpp https://commits.kde.org/kleopatra/fbf28dc043a9d0bf1a8d774435bedf4d23969656 |