secret keys are not imported

Hauke Laging mailinglisten at hauke-laging.de
Thu Apr 8 12:28:38 CEST 2010


Am Donnerstag 08 April 2010 12:03:09 schrieb Werner Koch:

> Merging secret keys is not yet supported.  Delete the secret keys on the
>  target box first.

OK... I did this:

# gpg --delete-secret-key ECCB5814
[...]

# LC_ALL=C gpg --list-secret-keys eccb5814
gpg: error reading key: No secret key

And then I tried to import again:

# LC_ALL=C gpg --import hauke__0xECCB5814.sec.asc
gpg: key ECCB5814: secret key imported
gpg: key ECCB5814: "Hauke Laging <hauke at laging.de>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1

This works:

# LC_ALL=C gpg --list-secret-keys eccb5814
sec   1024D/ECCB5814 2005-09-05
uid                  Hauke Laging <hauke at laging.de>
uid                  Hauke Laging <mail at hauke-laging.de>
uid                  Hauke Laging <mailinglisten at hauke-laging.de>
ssb   2048R/51B279FA 2010-03-04 [expires: 2013-03-03]
ssb   2048R/3A403251 2010-03-04 [expires: 2013-03-03]
ssb   2048g/E623EF88 2005-09-05 [expires: 2010-04-03]

But why does the import command say 1 everywhere though obviously not one but 
three subkeys have been read and imported?


CU

Hauke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20100408/b1a40b36/attachment.pgp>


More information about the Gnupg-users mailing list