6.0.0-alpha12
6/8/25

[#1038] GPG encryption fails with multiple addressbooks
Summary GPG encryption fails with multiple addressbooks
Queue Turba
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at)
Requester enrico.scholz (at) informatik (dot) tu-chemnitz (dot) de
Created 12/30/2004 (7465 days ago)
Due
Updated 01/11/2005 (7453 days ago)
Assigned 12/31/2004 (7464 days ago)
Resolved 01/11/2005 (7453 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/11/2005 09:09:01 PM Chuck Hagenbuch Comment #6
State ⇒ Resolved
Reply to this comment
I've merged this; it'll be in the next stable release of Turba (2.0.1, 
I believe). Additional testing would be most welcome.
01/10/2005 12:24:38 AM Chuck Hagenbuch Comment #5 Reply to this comment
Please try what I just committed it for this:

http://cvs.horde.org/diff.php/turba/lib/api.php?r1=1.120&r2=1.121&ty=u
01/03/2005 08:46:56 AM Jan Schneider Comment #4 Reply to this comment
Solution 2 sounds like a more graceful handling to me.
01/03/2005 03:27:37 AM Chuck Hagenbuch Comment #3
Queue ⇒ Turba
Version ⇒ HEAD
Reply to this comment
How about adding a "nonempty" parameter for only returning non-empty 
values (kind of a combination of Michael's 2 suggestions)?
12/31/2004 07:18:58 PM Michael Slusarz Comment #2
Taken from Michael Slusarz
Assigned to Horde DevelopersHorde Developers
Reply to this comment
This is a Turba issue - _turba_getField() only allows a single value 
to be returned or else it throws an error.  I don't know how much we 
can change the API on this function without affecting other programs.



Several options as I see it:

1) _turba_getField() needs parameters that allow it to return more 
than 1 value.

2) We only consider an entry that has a non-empty value as being a 
valid returnable entry.



This should probably go into the Turba queue first (looks like I can't 
change the queues on bug reports) and be fixed there before anything 
can be done in IMP.
12/31/2004 01:58:07 AM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
12/30/2004 04:14:27 PM enrico (dot) scholz (at) informatik (dot) tu-chemnitz (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ GPG encryption fails with multiple addressbooks
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
I have problems with the GPG encryption when there are multiple 
addressbook entries for an affected party. E.g. everytime when I try 
to send a GPG encrypted mail I get either:



* no gpg key found for <my-address>, or

* 'More than 1 entry found'



This is caused because I have a "personal addressbook" and a company 
wide LDAP directory.



I am listed in the LDAP directory but the entry does not contain GPG 
keys so the first message will be generated (I guess, that IMP 
encrypts for the sender also).



When I add myself to the "personal addressbook" with a valid GPG key, 
my sender address will be found twice which makes it fail also.

Saved Queries