B.2. °æ°í ¸Þ½ÃÁö

GnuPG ¸í·ÉÀ» ½ÇÇàÇÏ½Ã¸é ´ÙÀ½°ú °°Àº ¸Þ½ÃÁö¸¦ º¸½Ç °Ì´Ï´Ù:

gpg: Warning: using insecure memory!

ÀÌ °æ°í ¸Þ½ÃÁö´Â ·çÆ®°¡ ¾Æ´Ñ »ç¿ëÀÚ°¡ ¸Þ¸ð¸® ÆäÀÌÁö¸¦ Àá±Û ¼ö ¾ø±â ¶§¹®¿¡ ³ªÅ¸³³´Ï´Ù. ¸¸ÀÏ »ç¿ëÀÚ°¡ ¸Þ¸ð¸® ÆäÀÌÁö¸¦ Àá±Û ¼ö ÀÖ´Ù¸é, »ç¿ëÀÚ´Â ¸Þ¸ð¸® ºÎÁ· ¼­ºñ½º °ÅºÎ(Denial-of-service) °ø°ÝÀ» °¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. µû¶ó¼­ º¸¾È»ó ÇãÁ¡ÀÌ µË´Ï´Ù. ÀÚ¼¼ÇÑ »çÇ×Àº http://www.gnupg.org/(en)/documentation/faqs.html#q6.1¸¦ ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù.

´ÙÀ½°ú °°Àº ¸Þ½ÃÁö°¡ ³ªÅ¸³¯ °æ¿ìµµ ÀÖ½À´Ï´Ù:

gpg: WARNING: unsafe permissions on configuration file "/home/username/.gnupg/gpg.conf"

ÀÌ ¸Þ½ÃÁö´Â ¸¸ÀÏ ¿©·¯ºÐÀÇ ¼³Á¤ ÆÄÀÏÀÌ ´Ù¸¥ »ç¿ëÀÚ°¡ ÀÐÀ» ¼ö ÀÖ´Â ÆÄÀÏ Çã°¡¸¦ °¡Áö°í ÀÖ´Â °æ¿ì ³ªÅ¸³³´Ï´Ù. ÀÌ °æ°í ¸Þ½ÃÁö¸¦ º¸½Ã¸é, ´ÙÀ½°ú °°Àº ¸í·ÉÀ» »ç¿ëÇÏ¿© ÆÄÀÏ Çã°¡¸¦ º¯°æÇϽñ⠹ٶø´Ï´Ù:

chmod 600 ~/.gnupg/gpg.conf

ÀϹÝÀûÀ¸·Î ³ªÅ¸³ª´Â ¶Ç ´Ù¸¥ °æ°í ¸Þ½ÃÁö´Â ´ÙÀ½°ú °°½À´Ï´Ù:

gpg: WARNING: unsafe enclosing directory permissions on configuration file 
"/home/username/.gnupg/gpg.conf"

ÀÌ ¸Þ½ÃÁö´Â ¼³Á¤ ÆÄÀÏÀ» Æ÷ÇÔÇÑ µð·ºÅ丮ÀÇ ÆÄÀÏ Çã°¡°¡ ´Ù¸¥ »ç¿ëÀÚ°¡ ±× ³»¿ëÀ» ÀÐÀ» ¼ö ÀÖµµ·Ï ¼³Á¤µÇ¾î ÀÖ´Â °æ¿ì ³ªÅ¸³³´Ï´Ù. ÀÌ °æ°í ¸Þ½ÃÁö°¡ ³ªÅ¸³­´Ù¸é ´ÙÀ½°ú °°Àº ¸í·ÉÀ» »ç¿ëÇÏ¿© ÆÄÀÏ Çã°¡¸¦ º¯°æÇϽñ⠹ٶø´Ï´Ù:

chmod 700 ~/.gnupg

ÀÌÀü GnuPG ¹öÀü¿¡¼­ ¾÷±×·¹À̵åÇϼ̴ٸé, ´ÙÀ½°ú °°Àº ¸Þ½ÃÁö°¡ ³ªÅ¸³¯ °æ¿ì°¡ ÀÖ½À´Ï´Ù:

gpg: /home/username/.gnupg/gpg.conf:82: deprecated option "honor-http-proxy"
gpg: please use "keyserver-options honor-http-proxy" instead

ÀÌ °æ°í ¸Þ½ÃÁö´Â ~/.gnupg/gpg.conf ÆÄÀÏ¿¡ ´ÙÀ½°ú °°Àº ¶óÀÎÀÌ Æ÷ÇԵǾî Àֱ⠶§¹®¿¡ ³ªÅ¸³³´Ï´Ù:

honor-http-proxy

1.0.7 ÀÌÈÄ ¹öÀüÀº ´Ù¸¥ ±¸¹®À» ¼±È£ÇÕ´Ï´Ù. ÇØ´ç ¶óÀÎÀ» ´ÙÀ½°ú °°ÀÌ º¯°æÇØ ÁֽʽÿÀ:

keyserver-options honor-http-proxy