Subject: pkg/11876: gnupg pkg doesn't provide option to enable IDEA
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lukem@limb.com.au>
List: netbsd-bugs
Date: 01/02/2001 23:05:13
>Number: 11876
>Category: pkg
>Synopsis: gnupg pkg doesn't provide option to enable IDEA
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jan 02 23:05:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Luke Mewburn
>Release: 1.5
>Organization:
Luke Mewburn <lukem@wasabisystems.com> http://www.wasabisystems.com
Luke Mewburn <lukem@netbsd.org> http://www.netbsd.org
Wasabi Systems - providing NetBSD sales, support and service.
>Environment:
System: NetBSD argo.akimbo.com.au 1.5_BETA2 NetBSD 1.5_BETA2 (ARGO) #0: Thu Nov 16 19:55:34 EST 2000 lukem@argo.akimbo.com.au:/z/src/netbsd-1-5/src/sys/arch/i386/compile/ARGO i386
>Description:
i was playing around with the gnupg package (because pgp2 and
pgp5 both didn't seem to do what I wanted wrt compatibility
with various key formats, etc) and noticed that by default
IDEA support isn't provided in gnupg (because it's patented)
there is a known workaround listed on the gnupg web site:
http://www.gnupg.org/faq.html#q3.3
>How-To-Repeat:
try to read a message encrypted using IDEA (pgp2 messages?),
and watch gpg fail with:
gpg: protection algorithm 1 is not supported
>Fix:
in short, grab
ftp://ftp.gnupg.org/pub/gcrypt/contrib/idea.c
compile it up with:
gcc -Wall -O2 -shared -fPIC -o idea idea.c
install as
/usr/pkg/lib/gnupg/idea
add to ~/.gnupg/options:
load-extension idea
btw: i'm not asking for this to be done by default in the
gnupg package. however, having it done if mk.conf
USE_IDEA==yes would be convenient.
>Release-Note:
>Audit-Trail:
>Unformatted: