On 4/10/24 18:54, Terminada wrote:

It certainly looks like the functionality should work based upon what the commit link said: https://dev.gnupg.org/rG6dc3846d78192e393be73c16c72750734a9174d1

Here is what I did:

I compiled and installed to my local user account GnuPG software devel version 2.5.1 after first compiling and locally installing all the dependency libraries which my Debian Bookworm system doesn't have (libgpg-error-1.50, libgcrypt-1.11.0, libassuan-3.0.0, libksba-1.6.7). Then I reconfigured my Debian /usr/lib/systemd/user/gpg-agent.service to use the newly installed versions in my local user path after configuring appropriate PATH and LD_LIBRARY_PATH variables in user $HOME/.profile.

gpg --version
> gpg (GnuPG) 2.5.1

... snip ...

Create self-signed certificate? (y/N) y
These parameters are used:
    Key-Type: card:OPENPGP.1
    Key-Length: 1024
    Key-Usage: sign
    Serial: random
    Name-DN: CN=example.org CA, O=example.org, C=AU
    Name-Email: [email protected]

Proceed with creation? (y/N) y
Now creating self-signed certificate.  This may take a while ...
gpgsm: about to sign the certificate for key: &FD125D82F23050A7BB3AE9069BB63C0D29FB0CEC
gpgsm: signing failed: Not implemented
gpgsm: error creating certificate request: Not implemented <GPG Agent>

Just in case, I re-tried with the parameter file used in the linked commit after changing the Key-Grip value to my key.  But, unfortunately I received the exact same error.

Maybe I am doing something wrong or I have installed some component incorrectly?


I checked the 2.5.1 source code I compiled on my main machine and the code mentioned in that commit is there.


I am prepared to install Debian sid to a spare machine and then install gnupg from the "experimental" distribution which has gnupg version 2.4.5, if you think that might make a difference?


I proceeded to install Debian unstable on another machine, and then installed gnupg and scdaemon from experimental (both version 2.4.5), but, I get the same error unfortunately.

I don't know what else I can do now to test this any further.

Thanks for any assistance.


_______________________________________________
Gnuk-users mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnuk-users

Reply via email to