Insecure Memory Warning on HP-UX 11
Schwant, Gunnar, Dr. (K-GOT-1/1)
gunnar.schwant at volkswagen.de
Wed Jan 24 15:55:50 CET 2007
We installed GnuPG 220.127.116.11 on HP-UX 11 as released by HP:
Unfortunately, GnuPG displays a warning about insecure memory:
gpg: Warning: using insecure memory!
We tried to fix this by following the advise of the GnuPG FAQ
and did setuid(root) permissions on the gpg binary. However, after we did
problem even got worse. GnuPG now refuses to work at all. I get the
gpg: Ohhhh jeeee: ... this is a bug (g10.c:1768:main)
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
I have searched the web to find out what this error message is about and got
impression that there appears to be a problem with dropping the suid(root)
GnuPG drops root privileges as soon as locked memory is allocated.
After dropping the suid(root) privs, the effective and the real user id
identical. GnuPG performs an extra check to verify this. As this check fails
program displays the above error message and aborts.
What do you think: Is this a problem which has to be adressed to HP or to
the developers of GnuPG?
Any help or advise is very appreciated.
Many thanks and best regards,
More information about the Gnupg-users