Version: 1.5 (using KDE 3.1.1 (CVS >= 20021124))
Installed from: compiled sources
Compiler: gcc version 2.95.4 20011002 (Debian prerelease)
OS: Linux (i686) release 2.4.17
I have multiple identities that use the same PGP key and I have one identity that does not have a PGP key assigned to it. I also use 'Automatically sign messages'.
Now, if I open a composer and try to send a message with the identity that doesn't have a PGP key assigned to it, KMail still tries to sign that message. If the OpenPGP plugin is selected, KMail complains that there is no key assigned to that identity. If I use inline PGP, it lets me enter the passphrase for the key assigned to the default identity.
Instead, KMail should simply not sign the message if there is no PGP key assigned to the currently selected identity. If I remember correctly, it used to work that way in KDE 3.0.x.
Subject: Re: New: Identities with/without an assigned PGP key confuse the composer
That's a feature of the OpenPGP plugin stuff. If you selected "Sign all
message parts" then KMail will always try to sign all outgoing messages
regardless of an assigned PGP key. Of course this doesn't make much
sense but I didn't change it because Karl-Heinz seemed to have a reason
to do it this way (Sphinx requirement?). As Sphinx is S/MIME only I
will change this for OpenPGP.
What's up with this bug? Shouldn't this be pretty easy to fix? My girlfriend is
repeatedly confused by this...
My wife also ;-) She hates to disable signing/encryption everytime writing to their
mailinglists. But we don't want to disable it in general, espacially for our private mails ;-)
This appears to work as expected in KMail 1.7 which will be part of KDE 3.3. When switching from an identity without a key to one with a key the state of the actions is not properly reset, though. I'll look into that.
Reopening because of comment #4 which seems to have been forgotten, the composer still doesn't properly auto-sign when switching from a keyless identity to a key-owning identity with KDE PIM 3.4.
can confirm with KDE-3.5.5 as written in https://bugs.kde.org/show_bug.cgi?id=88200 when switching from a keyless identity to one with, the mail is not signed
*** Bug 88200 has been marked as a duplicate of this bug. ***
*** Bug 92893 has been marked as a duplicate of this bug. ***
In 1.10.0 (kde 4.1) the allways sign messages does not make the sign message option in the composing window to be enabled (having the identity keys or not), and the message is not signed unless the sign button (or option) is selected manually.
Using KDE 4.1.2 I get the following when switching identities in the composer window.
1. Identity with key -> identity without key:
Sign button gets deselected, I'm not bugged about signing
2. Identity without key -> identity with key (and sign all option set):
Sign button stays disabled.
I'm not sure what the expected behaviour is.
I fixed it in trunk for KDE 4.4
SVN commit 1007465 by tmcguire:
Backport r1005418 by mkoller from trunk to the 4.3 branch:
Activate signing if switching from an identity without key to an
identity with key and auto-sign option is set,
M +8 -3 kmcomposewin.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=1007465