[kmail2] [Bug 327986] when I GnuPG encrypt to several receivers and I have more than one of the receiving keys myself, I am asked multiple times for my password

2016-09-26 Thread Arne Babenhauserheide via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=327986

--- Comment #8 from Arne Babenhauserheide  ---
(In reply to Sandro Knauß from comment #7)
> Please - still awnser my question: Are the recipients are hidden in the
> mail? This is a feature of gpg and than gpg has to test every private key (
> in worst case scenario), because I can be that only the last key is the one
> that decrypts the email. If gpg can see the keyIds it should only ask for
> these keys to enter the passphrase.

There are hidden recipients, yes. That might explain the issue… 

Sorry for being so slow to answer - and thank you for persisting!

A possibility to improve this might be to first try the key for the email
address with which I received the email.

I cannot currently test this with a kmail based on kde5, because akonadi
currently does not work at all for me (fails to start and the error logs says
that all old accounts are missing).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 327986] when I GnuPG encrypt to several receivers and I have more than one of the receiving keys myself, I am asked multiple times for my password

2016-09-26 Thread Sandro Knauß via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=327986

--- Comment #7 from Sandro Knauß  ---
Please - still awnser my question: Are the recipients are hidden in the mail?
This is a feature of gpg and than gpg has to test every private key ( in worst
case scenario), because I can be that only the last key is the one that
decrypts the email. If gpg can see the keyIds it should only ask for these keys
to enter the passphrase.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 327986] when I GnuPG encrypt to several receivers and I have more than one of the receiving keys myself, I am asked multiple times for my password

2016-09-24 Thread Denis Kurz via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=327986

Denis Kurz  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #6 from Denis Kurz  ---
This bug has only been reported for versions before 4.14, which have been
unsupported for at least two years now. Can anyone tell if this bug still
present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0
or later, as part of KDE Applications 15.12 or later), it gets closed in about
three months.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 327986] when I GnuPG encrypt to several receivers and I have more than one of the receiving keys myself, I am asked multiple times for my password

2014-01-04 Thread Hauke Laging
https://bugs.kde.org/show_bug.cgi?id=327986

Hauke Laging ha...@laging.de changed:

   What|Removed |Added

 CC||ha...@laging.de

--- Comment #2 from Hauke Laging ha...@laging.de ---
(In reply to comment #0)
 When I now click on one of my sent mails (or receive one of the mails - I
 always BCC myself) I have to enter multiple passwords: at least one for each
 key.

Are that more than two keys and are you sure that you are asked the passphrase
for different keys (check the pinentry message!)?

Are you sure this is different from the bug you reported two weeks earlier?

https://bugs.kde.org/show_bug.cgi?id=327357

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 327986] when I GnuPG encrypt to several receivers and I have more than one of the receiving keys myself, I am asked multiple times for my password

2014-01-04 Thread Hauke Laging
https://bugs.kde.org/show_bug.cgi?id=327986

--- Comment #3 from Hauke Laging ha...@laging.de ---
(In reply to comment #0)
 at least one for each key.

Once for each of your keys or once for every target key?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 327986] when I GnuPG encrypt to several receivers and I have more than one of the receiving keys myself, I am asked multiple times for my password

2014-01-04 Thread Hauke Laging
https://bugs.kde.org/show_bug.cgi?id=327986

--- Comment #4 from Hauke Laging ha...@laging.de ---
(In reply to comment #1)
 If you don't see your keyid at the output, gpg has to test all keys.

That doesn't make sense if his description is precise: If he hides the IDs of n
recipient keys and at least two of them are his own (which are probably the
last in the list) then he should have to try n-1 keys only because every key of
his own could decrypt the message.

Perhaps it helps to save the mail to a file, attach strace -p $PID -f -e
trace=execve to the kmail/kontact process (in order to see the gpg calls) and
then open the file.

Perhaps it makes sense to add some gpg debugging capability to KMail. If it is
activated all gpg calls and a copy of all used data are written to a directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 327986] when I GnuPG encrypt to several receivers and I have more than one of the receiving keys myself, I am asked multiple times for my password

2014-01-04 Thread Arne Babenhauserheide
https://bugs.kde.org/show_bug.cgi?id=327986

--- Comment #5 from Arne Babenhauserheide arne_...@web.de ---
At Sat, 04 Jan 2014 08:27:02 +,
Hauke Laging wrote:
  When I now click on one of my sent mails (or receive one of the mails - I
  always BCC myself) I have to enter multiple passwords: at least one for each
  key.
 
 Are that more than two keys and are you sure that you are asked the passphrase
 for different keys (check the pinentry message!)?

Yes, I checked that multiple times.

 Are you sure this is different from the bug you reported two weeks earlier?

There are two issues: Being asked for different keys and being ask twice for
the same. I am not 100% sure that I did not miss a different key ID in the
earlier bug, though I think it was the same (I cannot test right now: I'll only
be able to access my KDE machine again in a few days).

Best wishes,
Arne

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 327986] when I GnuPG encrypt to several receivers and I have more than one of the receiving keys myself, I am asked multiple times for my password

2013-11-24 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=327986

Sandro Knauß m...@sandroknauss.de changed:

   What|Removed |Added

 CC||m...@sandroknauss.de

--- Comment #1 from Sandro Knauß m...@sandroknauss.de ---
Asking for all passwords sounds like you get mails, that hides the recipients.
Please test a mail with [1] to make sure you see your keyid at the output. If
you don't see your keyid at the output, gpg has to test all keys.

 (it took me quite some time to track down why I have to enter my password 
 twice, but I *think* that this is the reason) 
This other issue is unrelated, 'cause I use gpg without entering all
passphrases everytime.

Please discribe your crypto system a bit:
* gpg-agent/ gpg-agent.conf
* prinentry
* What kind of crypto do you use S-MIME/GPG Mime/Inline

[1] http://lists.gnupg.org/pipermail/gnupg-users/2011-November/043223.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs