[Pkg-kde-extras] Bug#574600: [kmymoney] Crashes when clicking on save
Matthias Dellweg
2500 at gmx.de
Sat Mar 20 01:19:03 UTC 2010
Same problem here.
I searched for isRevoked in kmymoney and I found an assumption in
libkgpgfile.cpp around line 311 which seems incorrect.
As you see there:
std::vector<GpgME::UserID> userIDs = key.userIDs();
std::vector<GpgME::Subkey> subkeys = key.subkeys();
for (unsigned int i = 0; i < userIDs.size(); ++i) {
const GpgME::Subkey& skey = subkeys[i];
if (!(skey.isRevoked() || skey.isExpired() || skey.isInvalid() ||
skey.isDisabled()))
it is assumed that a gpg key has the same number of userIDs and subkeys.
As far as I can see, my key has one subkey and multiple userIDs.
Hope this helps.
Greetings, Matthias
More information about the pkg-kde-extras
mailing list