delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/19/20:09:51

X-Spam-Check-By: sourceware.org
Message-ID: <7982933.post@talk.nabble.com>
Date: Tue, 19 Dec 2006 17:09:39 -0800 (PST)
From: bjf <bjf624 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: gpg warning message
MIME-Version: 1.0
X-Nabble-From: bjf624 AT hotmail DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello All,

I am having trouble when importing Keys with the GnuPG package distributed
with cygwin.  I continue to get the same warning.  I have searched for this
warning and have found a solution on uinx environments, however, it will not
work with cygwin.  Is there any way around this solution.  The following is
the warning and the fix:


$ gpg --import KEYS
$ gpg: WARNING: using insecure memory!
$ gpg: please see http://www.gnupg.org/faq.html for more information
--imports all the the keys

so I go check out the link and this is the explanation:

Fix to:   Why do I get "gpg: Warning: using insecure memory!"

On many systems this program should be installed as setuid(root). This is
necessary to lock memory pages. Locking memory pages prevents the operating
system from writing them to disk and thereby keeping your secret keys really
secret. If you get no warning message about insecure memory your operating
system supports locking without being root. The program drops root
privileges as soon as locked memory is allocated.

To setuid(root) permissions on the gpg binary you can either use:

$ chmod u+s /path/to/gpg

or

$ chmod 4755 /path/to/gpg 

I don't want to put everything done on this page, but there is a statement
that says:
"On some systems (e.g., Windows) GnuPG does not lock memory pages and older
GnuPG versions (<=1.0.4) issue the warning:"

$ gpg: Please note that you don't have secure memory

But that is not the response I see.  Anyway, I have thoroughly searched for
a fix and the solutions are all the same as the above.

Any help would greatly appreciated.

Thanks,
Ben
-- 
View this message in context: http://www.nabble.com/gpg-warning-message-tf2857385.html#a7982933
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019