reproduce: * mv /usr/bin/gpgsm{,.away} * rerun selftest or restart kleopatra * Error dialog pops up: gpgsm (smime backend) installation: too old with details: Backend /usr/bin/gpgsm is installed in version 1.0.0, but at least version 2.0.4 is required. expected: * Result should be 'not found' and Details: Backend /usr/bin/gpgsm is not found. reproducability: always
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