On Thu, 20 Sep 2007 02:49, [EMAIL PROTECTED] said:

> [EMAIL PROTECTED] ~]$ gpgsm -K
> /home/graeme/.gnupg/pubring.kbx
> -------------------------------
> gpgsm: DBG: connection to agent established
> secmem usage: 0/16384 bytes in 0 blocks
> [EMAIL PROTECTED] ~]$
>> 
>> this should show you your own certificates
>
> It didn't as you can see.

With own certificates I meant, Your certifciate plus your private key.

Did you import the key at all?

> [EMAIL PROTECTED] ~]$ gpgsm --passwd [EMAIL PROTECTED]
> gpgsm: DBG: connection to agent established
> gpgsm: error changing passphrase: No such file or directory

That means that your private key does not exists.  To manually check
this do:

  gpgsm --dump-key 2D:0D:02:D5:2E:0F:D9:C7:31:48:C8:A2:63:13:6F:AD:C7:21:27:34

Youy will notice a line

  keygrip: <40-hex-digits>

then check whether a file

  ~/.gnupg/private-keys-v1.d/<40-hex-digits>.key

exists. It does not and this is the reason you see "No such file or
directory" (Well, it should better read "No such secret key").

You need to get your private key as a pkcs#12 file and import it into
gpgsm

  gpgsm --import foo.p12



Salam-Shalom,

   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

Reply via email to