Skip Menu |

This queue is for tickets about the GnuPG CPAN distribution.

Report information
The Basics
Id: 6562
Status: resolved
Priority: 0/
Queue: GnuPG

People
Owner: Nobody in particular
Requestors: perl [...] crystalflame.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



To: bug-GnuPG [...] rt.cpan.org
From: Richard Soderberg <perl [...] crystalflame.net>
Subject: 0.09 and GnuPG 1.2.3 (OS X) fails tests 2,3,4 (permissions-related?)
Date: Wed, 9 Jun 2004 05:24:36 -0700
Show quoted text
> Import new public key not ok 2: protocol error > expected IMPORT_RES got IMPORT_OK > at test.pl line 34 > Import existing public key not ok 3: protocol error > expected IMPORT_RES got IMPORT_OK > at test.pl line 39 > Import many public keys not ok 4: protocol error > expected IMPORT_RES got IMPORT_OK > at test.pl line 44
Do those indicate that my keychain isn't writable by the current user? I'm not sure, but they're failing with OS X and the following GnuPG / perl -V. - R. gpg (GnuPG) 1.2.3 Copyright (C) 2003 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details. Home: ~/.gnupg Supported algorithms: Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH Hash: MD5, SHA1, RIPEMD160, SHA256 Compression: Uncompressed, ZIP, ZLIB Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3) configuration: Platform: osname=darwin, osvers=7.0, archname=darwin-thread-multi-2level uname='darwin hampsten 7.0 darwin kernel version 6.0: fri jul 25 16:58:41 pdt 2003; root:xnu-344.frankd.rootsxnu-344.frankd~objrelease_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include', optimize='-Os', cppflags='-no-cpp-precomp -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1495)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: RC3 Built under darwin Compiled at Sep 12 2003 19:50:49 %ENV: PERL_READLINE_NOWARN="1" @INC: /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl .
From: jayapradha_kg [...] yahoo.com
hi, I am building GnuPG module [ GnuPG-0.09 ] on Perl 5.8.8 for Hp-Itanium Server. In the make test, Out of 25 test 3 tests fail and the error messages are as follows :: Import new public key not ok 2: protocol error expected IMPORT_RES got IMPORT_OK at test.pl line 34 Import existing public key not ok 3: protocol error expected IMPORT_RES got IMPORT_OK at test.pl line 39 Import many public keys not ok 4: protocol error expected IMPORT_RES got IMPORT_OK at test.pl line 44 These errors are the same errors that are being marked in below. If there is any solution or code modification needed to be don eto overcome teh errors. Please do let me know. I have attached the file containing the detailed description of perl and the OS details. Thanks in advance !!! Jaya On Wed Jun 09 08:24:13 2004, perl@crystalflame.net wrote: Show quoted text
> > Import new public key not ok 2: protocol error > > expected IMPORT_RES got IMPORT_OK > > at test.pl line 34 > > Import existing public key not ok 3: protocol error > > expected IMPORT_RES got IMPORT_OK > > at test.pl line 39 > > Import many public keys not ok 4: protocol error > > expected IMPORT_RES got IMPORT_OK > > at test.pl line 44
> > Do those indicate that my keychain isn't writable by the current
user? Show quoted text
> I'm not sure, but they're failing with OS X and the following
GnuPG / Show quoted text
> perl -V. > > - R. > > gpg (GnuPG) 1.2.3 > Copyright (C) 2003 Free Software Foundation, Inc. > This program comes with ABSOLUTELY NO WARRANTY. > This is free software, and you are welcome to redistribute it > under certain conditions. See the file COPYING for details. > > Home: ~/.gnupg > Supported algorithms: > Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG > Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH > Hash: MD5, SHA1, RIPEMD160, SHA256 > Compression: Uncompressed, ZIP, ZLIB > > Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3) > configuration: > Platform: > osname=darwin, osvers=7.0, archname=darwin-thread-multi-2level > uname='darwin hampsten 7.0 darwin kernel version 6.0: fri jul
25 Show quoted text
> 16:58:41 pdt 2003; > root:xnu-344.frankd.rootsxnu-344.frankd~objrelease_ppc power
macintosh Show quoted text
> powerpc ' > config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe > -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' > hint=recommended, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef useithreads=define > usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef Show quoted text
> use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-g -pipe -pipe -fno-common -DPERL_DARWIN > -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include', > optimize='-Os', > cppflags='-no-cpp-precomp -g -pipe -pipe -fno-common -
DPERL_DARWIN Show quoted text
> -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' > ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc.
build Show quoted text
> 1495)', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=8 Show quoted text
> ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='off_t', Show quoted text
> lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags > ='-L/usr/local/lib' > libpth=/usr/local/lib /usr/lib > libs=-ldbm -ldl -lm -lc > perllibs=-ldl -lm -lc > libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, > libperl=libperl.dylib > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup > -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES > PERL_IMPLICIT_CONTEXT > Locally applied patches: > RC3 > Built under darwin > Compiled at Sep 12 2003 19:50:49 > %ENV: > PERL_READLINE_NOWARN="1" > @INC: > /System/Library/Perl/5.8.1/darwin-thread-multi-2level > /System/Library/Perl/5.8.1 > /Library/Perl/5.8.1/darwin-thread-multi-2level > /Library/Perl/5.8.1 > /Library/Perl > /Network/Library/Perl/5.8.1/darwin-thread-multi-2level > /Network/Library/Perl/5.8.1 > /Network/Library/Perl > . >
$ perl -v This is perl, v5.8.8 built for IA64.ARCHREV_0-thread-multi Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. $ perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-thread-multi uname='hp-ux isp5583 b.11.23 u ia64 0823897512 unlimited-user license ' config_args='-Dprefix=/opt/standard_perl/perl588 -Uinstallusrbinperl' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags =' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ', optimize='+O1', cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings' ccversion='B3910B A.06.05', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/usr/lib/hpux32' libpth=/usr/local/lib /usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib libs=-lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread -lc perllibs=-lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred ' cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib -L/usr/lib/hpux32' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under hpux Compiled at Apr 24 2006 15:08:11 @INC: /opt/standard_perl/perl588/lib/5.8.8/IA64.ARCHREV_0-thread-multi /opt/standard_perl/perl588/lib/5.8.8 /opt/standard_perl/perl588/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/standard_perl/perl588/lib/site_perl/5.8.8 /opt/standard_perl/perl588/lib/site_perl . $ make test PERL_DL_NONLAZY=1 /opt/standard_perl/perl588/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..25 Key generation pub 1024D/85B3B2F5 2006-05-08 GnuPG Test Key fingerprint = 6B65 D3EA F314 20A3 A64D 05F1 1229 F216 85B3 B2F5 sub 1024g/C40A85F0 2006-05-08 ok 1 Import new public key not ok 2: protocol error expected IMPORT_RES got IMPORT_OK at test.pl line 34 Import existing public key not ok 3: protocol error expected IMPORT_RES got IMPORT_OK at test.pl line 39 Import many public keys not ok 4: protocol error expected IMPORT_RES got IMPORT_OK at test.pl line 44 Public key export ok 5 Exporting public key ring ok 6 Exporting secret key ok 7 Encrypt ok 8 Pipe Encrypt ok 9 Pipe Decrypt ok 10 Encrypt and Sign ok 11 Symmetric encryption ok 12 Encrypt to undefined trust ok 13 Decrypt a file ok 14 Decrypt a Signed File ok 15 Symmetric decryption ok 16 Sign a file ok 17 Detach signature of a file ok 18 Clear Sign a File ok 19 Verify a signed file ok 20 Verify a detach signature ok 21 Verify a clearsigned file ok 22 Tied encrypt interface ok 23 Tied decrypt interface ok 24 Tied decrypt in paragraph mode ok 25 root@isp.s05583.us:/u/.cpan/build/GnuPG-0.09
Version 0.10 has just been released and should resolve the problem