I just installed the pgp-5.0i package on a 4.5 amd64 system (Thinkpad X61).
After loading (with pgpk -a) keys, I attempted to encrypt a test file with
my son's public key and got a seg-fault (I've x'ed out his personal info):

d...@sophie:/tmp$ pgpe -r 'xxxxxxx' test.txt
  1024 bits, Key ID E93C920B, Created 2008-09-18
   "xxxxxxx <[email protected]>"

Received signal 11.

With gdb:

  (gdb) run -r 'xxxxxxxxx' test.txt

Starting program: /usr/local/bin/pgpe -r 'David Allen' test.txt

1024 bits, Key ID E93C920B, Created 2008-09-18

"xxxxxxx <[email protected]>"


 Program received signal SIGSEGV, Segmentation fault.

strcmp (s1=0x2035d6070 "xxxxxxx <[email protected]>", '' <repeats 166
times>..., s2=0x200000000 <Address 0x200000000 out of bounds>) at
/usr/src/lib/libc/string/strcmp.c:47

47 /usr/src/lib/libc/string/strcmp.c: No such file or directory.

in /usr/src/lib/libc/string/strcmp.c

I can send the stack trace if you wish, but it seemed pretty useless, since
I don't have symbols.


I also have OpenBSD 4.5 installed on a Thinkpad G41, a 32-bit system. So I
installed the i386 version of the pgp-5.0i package on that machine and went
through the same sequence of steps. The encryption that fails above on the
amd64 machine works fine on the i386 machine.

/Don Allen

Reply via email to