gpgsm key creation problem

Lurkos lurkos.usenet at gmail.com
Wed Mar 4 01:58:09 CET 2009


I'm new in gpgsm and I would like to test X.509 and S/MIME style encryption.
Then I tried the "classical" --gen-key option to generate a new
keypair, but this error appears.
What's wrong?

$ gpgsm --gen-key
gpgsm (GnuPG) 2.0.7; Copyright (C) 2007 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
   (2) Existing key
   (3) Existing key from card
Your selection? 1
What keysize do you want? (2048)
Requested keysize is 2048 bits
Possible actions for a RSA key:
   (1) sign, encrypt
   (2) sign
   (3) encrypt
Your selection? 1
Enter the X.509 subject name: CN=Test
Enter email addresses (end with an empty line):
> test at test.invalid
>
Enter DNS names (optional; end with an empty line):
>
Enter URIs (optional; end with an empty line):
>
Parameters to be used for the certificate request:
    Key-Type: RSA
    Key-Length: 2048
    Key-Usage: sign, encrypt
    Name-DN: CN=Test
    Name-Email: test at test.invalid

Really create request? (y/N) y
Now creating certificate request.  This may take a while ...
gpgsm: line 1: key generation failed: Unknown IPC command <GpgSM>
gpgsm: error creating certificate request: Unknown IPC command <GpgSM>



More information about the Gnupg-users mailing list