delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/12/02/14:43:18

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3B2EF3858C3A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1670010149;
bh=z3kMgzHymfRR8mnI3mYeKFhd09vn5PxCiPK6qErA5Bo=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=KFTFafg+Eb8gB4zd8fBu9ksk/uGE8UGcYWCyAl0XwGhmjG4wHUzH1lL1yufMRueLO
dAm9+5AEpo5GlcXnLVdA/K2KfiSasxY0FGh8Hgy6iX3Zd9rApt6K/bkvfHbnKDR6bh
jVjBFbNaafb9C5p4/xWt8AAy/fQRg65i+ZzmVhuM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CA9953858D20
Message-ID: <d9b6cb7d-ea14-44df-6053-f006afeb087a@jhmg.net>
Date: Fri, 2 Dec 2022 11:41:53 -0800
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Firefox/102.0 Thunderbird/102.5.0
Subject: Re: gpg --gen-key : agent_genkey failed: Timeout
To: cygwin AT cygwin DOT com
References: <cf7bbc53-643b-1113-43c9-2d324adc652c AT jhmg DOT net>
In-Reply-To: <cf7bbc53-643b-1113-43c9-2d324adc652c@jhmg.net>
X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_PASS,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jim Garrison via Cygwin <cygwin AT cygwin DOT com>
Reply-To: jhg AT acm DOT org
Cc: Jim Garrison <jhg AT jhmg DOT net>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 2B2Jgr79024562

On 12/02/22 11:23, Jim Garrison via Cygwin wrote:
> Fully updated cygwin64 on Win10 Pro x64; cygcheck.out attached.
> 
> If I attempt this in a regular mintty session, it hangs forever (until
> killed with ^C). If I run it in a priviliged session (Run As
> Administrator) it gives the below timeout message after about 90
> seconds.  And yes, I did as suggested: moving the mouse, running
> chkdisk in a CMD box, etc.
> 
> ===================================
> $ gpg --gen-key
> Note: Use "gpg2 --full-generate-key" for a full featured key generation 
> dialog.
> 
> GnuPG needs to construct a user ID to identify your key.
> 
> Real name: Jim Garrison
> Email address: [redacted]
> You selected this USER-ID:
>      "Jim Garrison [redacted]"
> 
> Change (N)ame, (E)mail, or (O)kay/(Q)uit? O
> We need to generate a lot of random bytes. It is a good idea to perform
> some other action (type on the keyboard, move the mouse, utilize the
> disks) during the prime generation; this gives the random number
> generator a better chance to gain enough entropy.
> 
> gpg: agent_genkey failed: Timeout
> Key generation failed: Timeout
> ====================================

Running this on a Debian 10 system completes successfully in < 1 second.

-- 
Jim Garrison
jhg AT acm DOT org


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

- Raw text -


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