gpgsm --sign with smartcard?

Simon Josefsson simon at josefsson.org
Fri Apr 20 15:14:57 CEST 2007


Werner Koch <wk at gnupg.org> writes:

> On Fri, 20 Apr 2007 14:03, simon at josefsson.org said:
>
>> Use --disable-crl-checks to disable CRL checks.  Also, you must put
>> the CA fingerprint in your trustlist.txt:
>
> Or use --allow-mark-trusted in gpg-agent.conf so that the agent will ask
> you whether to put it into trustlist.txt.

Neat, although I had to manually create the trustlist.txt file first.
Otherwise I get:

jas at mocca:~$ echo foo|gpgsm --sign --disable-crl-checks -a
gpgsm: checking the trust list failed: No such file or directory
gpgsm: error creating signature: No such file or directory <GPG Agent>
jas at mocca:~$

Maybe gpg-agent could create trustlist.txt if it doesn't exist, if
allow-mark-trusted is used?

/Simon



More information about the Gnupg-users mailing list