Add the possibility to revoke certifications of OpenPGP keys
More precisely, this revokes certifications (i.e. signatures) for user IDs of OpenPGP keys. Needs GnuPG >= 2.2.24 (soon to be released) and gpgme >= 1.14.1 (unreleased). GnuPG-bug-id: 5094
-
This breaks building in OpenSUSE, at least:
[ 109s] /home/abuild/rpmbuild/BUILD/kleopatra-20.11.70git.20201105T154302~27bfea40/src/dialogs/revokecertificationwidget.cpp: In function 'bool {anonymous}::uidsAreEqual(const GpgME::UserID&, const GpgME::UserID&)': [ 109s] /home/abuild/rpmbuild/BUILD/kleopatra-20.11.70git.20201105T154302~27bfea40/src/dialogs/revokecertificationwidget.cpp:73:13: error: 'const class GpgME::UserID' has no member named 'uidhash' [ 109s] 73 | if (lhs.uidhash() && rhs.uidhash()) { [ 109s] | ^~~~~~~ [ 109s] /home/abuild/rpmbuild/BUILD/kleopatra-20.11.70git.20201105T154302~27bfea40/src/dialogs/revokecertificationwidget.cpp:73:30: error: 'const class GpgME::UserID' has no member named 'uidhash' [ 109s] 73 | if (lhs.uidhash() && rhs.uidhash()) { [ 109s] | ^~~~~~~ [ 109s] /home/abuild/rpmbuild/BUILD/kleopatra-20.11.70git.20201105T154302~27bfea40/src/dialogs/revokecertificationwidget.cpp:74:27: error: 'const class GpgME::UserID' has no member named 'uidhash' [ 109s] 74 | return strcmp(lhs.uidhash(), rhs.uidhash()) == 0; [ 109s] | ^~~~~~~ [ 109s] /home/abuild/rpmbuild/BUILD/kleopatra-20.11.70git.20201105T154302~27bfea40/src/dialogs/revokecertificationwidget.cpp:74:42: error: 'const class GpgME::UserID' has no member named 'uidhash' [ 109s] 74 | return strcmp(lhs.uidhash(), rhs.uidhash()) == 0; [ 109s] | ^~~~~~~ [ 109s] make[2]: *** [src/CMakeFiles/kleopatra_bin.dir/build.make:846: src/CMakeFiles/kleopatra_bin.dir/dialogs/revokecertificationwidget.cpp.o] Error 1
This is with GpgME and QGpgME 1.14.0.
-
Thanks. I've added a version check, but it should be available in gpgme++ since 1.14.0: https://dev.gnupg.org/rM194272dbc3e326cc32c1464bc6fda0c0d10b5559
Please register or sign in to comment