gpgsm crashes on checking detached signature
Albrecht Dreß
albrecht.dress at arcor.de
Thu Dec 18 19:01:00 CET 2003
Hi,
I am currently playing around with gpgsm to create and check detached S/
MIME signatures. Creating the signature seems to work fine:
[albrecht]$ gpgsm --detach-sign Using-SMIME.ps > smime.p7s
Secure memory is not locked into core
gpgsm: NOTE: THIS IS A DEVELOPMENT VERSION!
gpgsm: It is only intended for test purposes and should NOT be
gpgsm: used in a production environment or with production keys!
gpg-agent[31072]: Secure memory is not locked into core
gpg-agent[31072]: NOTE: this is a development version!
Warning: using insecure memory!
gpgsm: signature created
Checking these files segfaults:
[albrecht]$ gdb gpgsm
GNU gdb Yellow Dog Linux (5.2.1-4b)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "ppc-yellowdog-linux"...
(gdb) run --verify smime.p7s Using-SMIME.ps
Starting program: /usr/local/bin/gpgsm --verify smime.p7s Using-SMIME.ps
Secure memory is not locked into core
gpgsm: NOTE: THIS IS A DEVELOPMENT VERSION!
gpgsm: It is only intended for test purposes and should NOT be
gpgsm: used in a production environment or with production keys!
Program received signal SIGSEGV, Segmentation fault.
gcry_md_info (h=0x0, cmd=35, buffer=0x2, nbytes=0x0) at md.c:1163
1163 *nbytes = 0;
(gdb) bt
#0 gcry_md_info (h=0x0, cmd=35, buffer=0x2, nbytes=0x0) at md.c:1163
#1 0x1001464c in gpgsm_verify (ctrl=0x7ffff608, in_fd=0, data_fd=0,
out_fp=0x0) at verify.c:293
#2 0x100057ec in main (argc=537538606, argv=0x30302030) at gpgsm.c:1212
#3 0x0fda704c in __libc_start_main (argc=603980930, ubp_av=0x10040000,
ubp_ev=0x2, auxvec=0x10040de8, rtld_fini=0,
stinfo=0x7ffff64c, stack_on_entry=0xffee7d0) at ../sysdeps/powerpc/
elf/libc-start.c:178
I use libassuan-0.6.2, libgcrypt-1.1.90, libgpg-error-0.6, libksba-0.9.0
and gnupg-1.9.2 (the agent and gpgsm only) on a Powermac running YellowDog
Linux 3.0 (glibc 2.3.1, gcc 3.2.2). I also see a segfault when using gpgsm
and the related libs from Aegypten 1.0. Any ideas?
Tia, Albrecht.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Albrecht Dreß - Johanna-Kirchner-Straße 13 - D-53123 Bonn (Germany)
Phone (+49) 228 6199571 - mailto:albrecht.dress at arcor.de
_________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20031218/a18cad06/attachment.bin
More information about the Gnupg-devel
mailing list