gpg: fatal: out of secure memory while allocating

John Place John Place <jcplace@attglobal.net>
Thu, 30 Nov 2000 07:54:58 -0500


Hi,

I just wanted to point out a small glitch that crops up if you typo your 
password the first time.

========================================================================
[placej:/usr/home/placej/tmp]$ echo This is a test | gpg -er placej > list 
[placej:/usr/home/placej/tmp]$ gpg < list

You need a passphrase to unlock the secret key for
user: "John C. Place <jcplace@attglobal.net>"
4096-bit ELG-E key, ID 5C5E1A7A, created 2000-04-15 (main key ID 4B8AB1D4)

gpg: Invalid passphrase; please try again ...

You need a passphrase to unlock the secret key for
user: "John C. Place <jcplace@attglobal.net>"
4096-bit ELG-E key, ID 5C5E1A7A, created 2000-04-15 (main key ID 4B8AB1D4)

gpg: fatal: out of secure memory while allocating 4316 bytes
secmem usage: 1472/12160 bytes in 3/9 blocks of pool 13440/16384
[placej:/usr/home/placej/tmp]$ 
=======================================================================

If I get the password right the first time

=======================================================================
[placej:/usr/home/placej/tmp]$ echo This is a test | gpg -er placej > list 
[placej:/usr/home/placej/tmp]$ gpg < list                                  

You need a passphrase to unlock the secret key for
user: "John C. Place <jcplace@attglobal.net>"
4096-bit ELG-E key, ID 5C5E1A7A, created 2000-04-15 (main key ID 4B8AB1D4)

This is a test    
[placej:/usr/home/placej/tmp]$ 
=======================================================================

The above sessions were on FreeBSD 4.1-RELEASE with GnuPG 1.0.4. The
Gnupg is a stock install with the exception of the
--with-included-gettext option which is required for my platform. It is
not a major problem I just wanted to point it out.

gpg version info:
--------------------------------------------------
gpg (GnuPG) 1.0.4
Copyright (C) 2000 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:
Cipher: 3DES, CAST5, BLOWFISH, RIJNDAEL, RIJNDAEL192, RIJNDAEL256, TWOFISH
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG
Hash: MD5, SHA1, RIPEMD160
--------------------------------------------------

Thanks
John