can't generate key pair
gpg2 --full-gen-key breaks shortly after pass key is entered twice generating a Timeout error. I tried this with complex and simple keys and gpg2 times out in both cases. Would a configuration change help here? -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940.
i had the same issue (but the command was gpg , not gpg2 for me), and i solved it by deleting a 'lockfile' in the ~/.gnupg directory Ekkor: 2024. június 15. 13:03:11 CEST, Jude DaShiell <jdashiel@panix.com> írta:
gpg2 --full-gen-key breaks shortly after pass key is entered twice generating a Timeout error. I tried this with complex and simple keys and gpg2 times out in both cases. Would a configuration change help here?
-- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940.
Jude DaShiell <jdashiel@panix.com> wrote:
gpg2 --full-gen-key
Are you sure you are using gpg2 as designed? Copied from [Only answer to the difference of gpg and gpg2for this particular question](https://superuser.com/a/1722792) A major change between GPG and GPG2 is that all the crypto operations have been moved to the GPG agent, so without an agent, GPG2 can't work. As I do not have solid knowledge about the subject, the above answer should be taken with a grain of salt. In addition, gpg has --verbose --verbose, deliberatly doubling. Perhaps gpg2 has that too. -- u34
breaks shortly after pass key is entered twice generating a Timeout error. I tried this with complex and simple keys and gpg2 times out in both cases. Would a configuration change help here?
-- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940.
On Sat, 2024-06-15 at 16:37 +0000, u34@net9.cf wrote:
Jude DaShiell <jdashiel@panix.com> wrote:
A major change between GPG and GPG2 is that all the crypto
To avoid any confusion. gpg and gpg2 are the same binary with gpg2 being a symlink to gpg. Thus gpg and gpg2 are in fact the same gnupg version which is 2.4.5. To best of my knowledge the applicationbehaves identically regardless if invoked as gpg or gpg2 - at least in my reading of the source code I could find nothingsuggesting any difference. Separately, as u34 suggested, gnupg's current version, 2.4.x, is quite different than the very ancient 1.4.y version, which is effectively deprecated and not available in Arch repos. gene -- Gene
Did you already try to create a key with a fresh ~/.gnupg, eg. move ~/.gnupg to ~/.gnupg.bak and try again? If that works, you can narrow it down to the config. After entering the password, gpg generates the random bytes and prints to use the system to gain entropy, so it’s likely that part that is failing. Does it immidiately fail with a timeout or does it take some time to _actually_ time out? -- tippfehlr
It takes some time to time out. -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Tue, 18 Jun 2024, tippfehlr wrote:
Did you already try to create a key with a fresh ~/.gnupg, eg. move ~/.gnupg to ~/.gnupg.bak and try again? If that works, you can narrow it down to the config.
After entering the password, gpg generates the random bytes and prints to use the system to gain entropy, so it’s likely that part that is failing.
Does it immidiately fail with a timeout or does it take some time to _actually_ time out?
-- tippfehlr
participants (5)
-
based department official
-
Genes Lists
-
Jude DaShiell
-
tippfehlr
-
u34@net9.cf