gpgsm --sign with smartcard?

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

Werner Koch <wk at> writes:

> On Fri, 20 Apr 2007 14:03, simon at 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?


More information about the Gnupg-users mailing list