GnuPG 2.1 exporting secret keys

martijn.list martijn.list at gmail.com
Mon Jun 9 14:30:48 CEST 2014


On 06/09/2014 11:43 AM, Werner Koch wrote:
> On Sun,  8 Jun 2014 21:03, martijn.list at gmail.com said:
> 
>> gpg: key 2BAD7887: asking agent for the secret parts
>> gpg: key 2BAD7887: error receiving key from agent: Missing item in
>> object - skipped
> 
> Are you sure that you are using the latest gpg-agent.
> 
>   gpg-connect-agent 'getinfo version' /bye
> 
> show the version.  Does it match the version of gpg (2.1.0-beta422)?

Hmm strange, it reports a different version

$ gpg-connect-agent 'getinfo version' /bye
D 2.1.0-beta704

I have used the following script to build it from GIT so I assumed that
it uses the latest release from git://git.gnupg.org since it basically
does a "git clone git://git.gnupg.org" for all the required parts

https://github.com/Wikinaut/utils/wiki#How_to_compile_GnuPG_gpg_from_the_github_sources

The script seems to clone the head and not a specific branch.

Kind regards,

Martijn Brinkers

> 
> If it does, can you pleae repeat that with a test key you can send to
> me?  What I need is the public key and the corresponding private key
> which you find similar to this example:
> 
>   $ gpg -K --with-keygrip 439F02CA
>   sec   dsa768/439F02CA 1998-03-17
>         Keygrip = FD692BD59D6640A84C8422573D469F84F3B98E53
>   uid                  pgp5 test <pgp5 at dev.null>
>   ssb   elg768/CB879DE9 1998-03-17
>         Keygrip = 0D6F6AD4C4C803B25470F9104E9F4E6A4CA64255
>   
>   $ cd ~/.gnupg
>   $ cp private-keys-v1.d/FD692BD59D6640A84C8422573D469F84F3B98E53 foo.sec
> 
> send me foo.sec and the result of 
> 
>   gpg --export-key 439F02CA >foo.pub
> 
> 
> 
> Shalom-Salam,
> 
>    Werner
> 


-- 
DJIGZO email encryption



More information about the Gnupg-users mailing list