Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104112

Summary: gnupg 1.4.2 needs small patch per Release Notes
Product: Gentoo Linux Reporter: Peter Hyman <pete4abw>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Hyman 2005-08-29 03:20:10 UTC
http://lists.gnupg.org/pipermail/gnupg-announce/2005q3/000200.html

p.s.  A few hours too late we found a bug in the cURL based helper
programs which makes cURL based LDAP support unusable.  Given that
--with-libcurl is not the default we did not offtake the release but
ask you to apply the patch below.

diff -u -p -r1.90 -r1.91
--- g10/keyserver.c	22 Jul 2005 16:28:40 -0000	1.90
+++ g10/keyserver.c	27 Jul 2005 01:24:57 -0000	1.91
@@ -860,7 +860,9 @@ curl_can_handle(const char *scheme)
 static const char *
 keyserver_typemap(const char *type)
 {
-  if(strcmp(type,"ldaps")==0)
+  if(strcmp(type,"ldap")==0)
+    return "ldap";
+  else if(strcmp(type,"ldaps")==0)
     return "ldap";
   else if(curl_can_handle(type))
     return "curl";

Reproducible: Always
Steps to Reproduce:
1. read Release Notes for 1.4.2
2.
3.

Actual Results:  
found patch

Expected Results:  
LDAP key retrieve will fail using Curl unless patch applied

Why isn't this marked stable? It's been out a month.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-08-31 04:21:36 UTC
thankyou. Added patch. 
 
It will be marked stable shortly. Thanks for the bug report. 
Comment 2 Peter Hyman 2005-10-12 13:32:20 UTC
(In reply to comment #1)
> thankyou. Added patch. 
>  
> It will be marked stable shortly. Thanks for the bug report. 

It's now 1.5 months later. gnupg 1.4.2 should be stable now, don't you think? It
was released in July. JMHO, thanks.