gpg-agent unknown value for WHAT
Hi there, I'm attempting to generate a 4096bit RSA key using gnupg 2.0.12 and gpg-agent 2.0.11 but I'm getting an error message prior to entering the passphrase: gpg: problem with the agent: Not supported Having done a little digging I decided to enable --debug-all to see if this would shed any light on the problem - unfortunately the error message means very little on first inspection - hence this mail. gpg-agent[66760.6] DBG: - ERR 67109144 parameter conflict - unknown value for WHAT I've included the full session output below with certain fields X'd out... _Environment_info_ Mac OS X 10.5.8 gnupg2 installed via darwin ports _Non_standard_entries_in_~/.gnupg/gpg.conf_ personal-digest-preferences SHA512 cert-digest-algo SHA512 default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed Any help or suggestions of where to look further appreciated. Regards, Dave Session output... bash-3.2$ gpg-agent --daemon --debug-all /bin/bash gpg-agent[66759]: NOTE: no default option file `/Users//.gnupg/gpg-agent.conf' gpg-agent[66759]: listening on socket `/tmp//S.gpg-agent' bash-3.2$ gpg2 --gen-key gpg (GnuPG) 2.0.12; Copyright (C) 2009 Free Software Foundation, Inc. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Please select what kind of key you want: (1) RSA and RSA (default) (2) DSA and Elgamal (3) DSA (sign only) (4) RSA (sign only) Your selection? 1 RSA keys may be between 1024 and 4096 bits long. What keysize do you want? (2048) 4096 Requested keysize is 4096 bits Please specify how long the key should be valid. 0 = key does not expire n = key expires in n days nw = key expires in n weeks nm = key expires in n months ny = key expires in n years Key is valid for? (0) Key does not expire at all Is this correct? (y/N) y GnuPG needs to construct a user ID to identify your key. Real name: X Email address: XX Comment: CODE SIGNING KEY You selected this USER-ID: XXX (CODE SIGNING KEY) Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O You need a Passphrase to protect your secret key. gpg-agent[66760]: handler 0x302780 for fd 6 started gpg-agent[66760.6] DBG: - OK Pleased to meet you gpg-agent[66760.6] DBG: - RESET gpg-agent[66760.6] DBG: - OK gpg-agent[66760.6] DBG: - OPTION display=/tmp/launch-JBTxKt/:0 gpg-agent[66760.6] DBG: - OK gpg-agent[66760.6] DBG: - OPTION ttyname=/dev/ttys002 gpg-agent[66760.6] DBG: - OK gpg-agent[66760.6] DBG: - OPTION ttytype=xterm gpg-agent[66760.6] DBG: - OK gpg-agent[66760.6] DBG: - OPTION lc-ctype=en_GB.UTF-8 gpg-agent[66760.6] DBG: - OK gpg-agent[66760.6] DBG: - OPTION lc-messages=en_GB.UTF-8 gpg-agent[66760.6] DBG: - OK gpg-agent[66760.6] DBG: - OPTION allow-pinentry-notify gpg-agent[66760.6] DBG: - OK gpg-agent[66760.6] DBG: - GETINFO cmd_has_option GET_PASSPHRASE repeat gpg-agent[66760.6] DBG: - ERR 67109144 parameter conflict - unknown value for WHAT gpg: problem with the agent: Not supported gpg: Key generation canceled. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: gpg-agent unknown value for WHAT
On Tue, 20 Oct 2009 16:41, david.sav...@paremus.com said: I'm attempting to generate a 4096bit RSA key using gnupg 2.0.12 and gpg-agent 2.0.11 but I'm getting an error message prior to entering That does not work. You have to update gpg-agent. The conflict is an attempt to minimize such dependencies in the future. Shalom-Salam, Werner -- Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: gpg-agent unknown value for WHAT
David Savage wrote the following on 10/20/09 10:41 AM: Hi there, I'm attempting to generate a 4096bit RSA key using gnupg 2.0.12 and gpg-agent 2.0.11 but I'm getting an error message prior to entering the passphrase: gpg: problem with the agent: Not supported Hi David, IMO, the problems resides with your installation of gnupg2 via Darwin Ports. Darwin Ports installs a version of pinentry (required for gpg-agent to function) that is not compatible with MacOSX. If you want to install a functioning gnupg2 for MacOSX, with a Mac native pinentry.app, you might want to try MacGPG2 2.0.12 http://sourceforge.net/projects/macgpg2/ http://lists.gnupg.org/pipermail/gnupg-users/2009-June/036724.html, that can be downloaded from: http://sourceforge.net/projects/macgpg2/files/macgpg2/ Having done a little digging I decided to enable --debug-all to see if this would shed any light on the problem - unfortunately the error message means very little on first inspection - hence this mail. gpg-agent[66760.6] DBG: - ERR 67109144 parameter conflict - unknown value for WHAT I've included the full session output below with certain fields X'd out... _Environment_info_ Mac OS X 10.5.8 gnupg2 installed via darwin ports That should be the problem. _Non_standard_entries_in_~/.gnupg/gpg.conf_ personal-digest-preferences SHA512 cert-digest-algo SHA512 default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed Any help or suggestions of where to look further appreciated. Please see above. [...] gpg: problem with the agent: Not supported Ditto, Darwin Ports does not install gpg-agent with the required pinentry that will function under MacOSX Charly MacOSX 10.6.1 32bits MacBook5,1 - Gnupg 1.4.10 - MacGPG2 2.0.12 - Running Enigmail version 0.97a (20091019-2108), with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: gpg-agent unknown value for WHAT
Firstly, thx for the quick replies. I'm in the process of updating gpg using the urls Charly forwarded in the previous email - I guess I could try to just update the gpg-agent in use on my machine from that release then stick with the mac port version of gpg? Just one less variable to tidy up? Sound's like a patch is needed to mac ports in any case. I'll try pinging a mail over there and see if there's any chance they can update. Regards, Dave On Tue, Oct 20, 2009 at 6:31 PM, Werner Koch w...@gnupg.org wrote: On Tue, 20 Oct 2009 16:41, david.sav...@paremus.com said: I'm attempting to generate a 4096bit RSA key using gnupg 2.0.12 and gpg-agent 2.0.11 but I'm getting an error message prior to entering That does not work. You have to update gpg-agent. The conflict is an attempt to minimize such dependencies in the future. Shalom-Salam, Werner -- Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: gpg-agent unknown value for WHAT
David Savage wrote the following on 10/20/09 2:04 PM: I'm in the process of updating gpg using the urls Charly forwarded in the previous email - I guess I could try to just update the gpg-agent in use on my machine from that release then stick with the mac port version of gpg? Just one less variable to tidy up? I don't remember whether using the MacGPG2 2.0.12 installer will simply overwrite your Darwin Ports installation. If it does, you will have a working MacGPG2 2.0.12, complete with gpg-agent and Mac native pinentry.app. If it doesn't, you might still have some problems with the remnants of the previous install. Sound's like a patch is needed to mac ports in any case. Yes. I'll try pinging a mail over there and see if there's any chance they can update. Wish you luck. Charly ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users