Previous: Importing the Certificate, Up: Certificate Preparation
This step is optional. You may choose to store the certificate directly into your OpenPGP card. The benefit of doing so is that Scute will then be able to fetch the certificate from the card without having to look into the GPGSM store.
You need your certificate in the DER format. Export it from the GPGSM store with the following command:
$ gpgsm -o floppy-head.crt --export Floppy
Then, fire up the GnuPG card editor to transfer the certificate to the
card (note that the writecert
command is not listed in the
editor’s online help):
$ gpg2 --card-edit Application ID ...: D27600012301020000005000012340000 [...] gpg/card> admin Admin commands are allowed gpg/card> writecert 3 < floppy-head.crt gpg/card> quit