Warning Messages - Red Hat ENTERPRISE LINUX 4 - STEP BY STEP GUIDE Manual

Table of Contents

Advertisement

152
Appendix B. Getting Started with Gnu Privacy Guard
mv ~/.gnupg/options ~/.gnupg/gpg.conf
If you are upgrading from a version prior to 1.0.7, you can create signature caches in your keyring to
decrease the keyring access time. To perform this operation, execute the following command once:
gpg --rebuild-keydb-caches
B.2. Warning Messages
When executing GnuPG commands, you may see the following message:
gpg: Warning: using insecure memory!
This warning is because non-root users can not lock memory pages. If users could lock memory pages,
they could perform out-of-memory Denial of Service (DoS) attacks; thus, it is a possible security
problem. For details, refer to http://www.gnupg.org/(en)/documentation/faqs.html#q6.1.
You might also see the following message:
gpg: WARNING: unsafe permissions on configuration file "/home/username/.gnupg/gpg.conf"
This message is shown if the file permissions of your configuration file allows others to read it. If
you see this warning, it is recommended that you execute the following command to change the file
permissions:
chmod 600 ~/.gnupg/gpg.conf
Another common warning messages is as follows:
gpg: WARNING: unsafe enclosing directory permissions on configuration file
"/home/username/.gnupg/gpg.conf"
This message is shown if the file permissions of the directory that contains the configuration file allows
others to read its contents. If you see this warning, it is recommended that you execute the following
command to change the file permissions:
chmod 700 ~/.gnupg
If you upgraded from a previous version of GnuPG, you might see the message:
gpg: /home/username/.gnupg/gpg.conf:82: deprecated option "honor-http-proxy"
gpg: please use "keyserver-options honor-http-proxy" instead
This warning is because your
file contains the line:
~/.gnupg/gpg.conf
honor-http-proxy
Version 1.0.7 and higher prefers a different syntax. Change the line to the following:
keyserver-options honor-http-proxy

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 4

Table of Contents