GnuPG Frequently Asked Questions - GnuPG.org I chmod-ed 4755 (setUID=root) /usr/bin/gpg2 but I still get warnings about insecure memory (I operate machine through SSH only).
felipe@suse-amd:~> stat /usr/bin/gpg2
File: `/usr/bin/gpg2'
Size: 745628 Blocks: 1472 IO Block: 4096 regular file
Device: 803h/2051d Inode: 680920 Links: 1
Access: (4755/-rwsr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-02-23 04:12:21.000000000 -0500
Modify: 2008-06-06 21:18:28.000000000 -0400
Change: 2009-02-23 04:12:07.000000000 -0500
felipe@suse-amd:~> gpg2 -d encrypted.asc
You need a passphrase to unlock the secret key for
user: "Brian Davidson (Masked Crusader 2) <brian.davidson@xxxxxxxxxxxxx.com>"
2048-bit ELG key, ID EA98F26F, created 2009-02-22 (main key ID 9A69A656)
can't connect to `/home/felipe/.gnupg/S.gpg-agent': No such file or directory
can�t lock memory: Cannot allocate memory
Warning: using insecure memory!
gpg: encrypted with 2048-bit ELG key, ID EA98F26F, created 2009-02-22
"Brian Davidson (Masked Crusader 2) <brian.davidson@xxxxxxxxxxxxxxxxx.com>"
Content-Type: text/plain; format=flowed; charset=UTF-8
Content-Transfer-Encoding: base64
dGVzdCAzDQoxODo0Ng0KZW5jcnlwdGVkDQoNCg0KRmVsaXBlDQoNCg==
felipe@suse-amd:~>