--===============0469548685== Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=nextPart2822013.30KQ5dLKM8 Content-transfer-encoding: 7bit --nextPart2822013.30KQ5dLKM8 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Freitag, 5. Mai 2006 23:01 schrieb Stefan Gehn: > Moin, > > just stumbled across this small race-condition. If you're fast enough > you can select an invalid key for signing/encrypting. Fast enough > here means selecting a key and clicking OK before > slotCheckSelection() is called (it's async). > > The problem is in Kleo::KeySelectionDialog::slotOk() where the > key-selection gets checked one last time. If that check disables the > OK button, accept() is called nevertheless and one ends up with an > key that is not usable for signing/encryption. Hmm, maybe the OK button should be disabled by default and should only=20 be enabled if everything is okay. Currently, it seems to be the other=20 way around. Regards, Ingo --nextPart2822013.30KQ5dLKM8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBEYJ8bqUQWN/hplRsRAqiyAJwIVMH/kW8PF1KJNfy36c0J8gK1UQCfW46g RatjPhYqSO7yikV+9RxSVKM= =sBRl -----END PGP SIGNATURE----- --nextPart2822013.30KQ5dLKM8-- --===============0469548685== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-pim mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim kde-pim home page at http://pim.kde.org/ --===============0469548685==--