+2002-12-23 Marcus Brinkmann <marcus@g10code.de>
+
+ * gpgsm/Makefile.am (./gpgsm.conf): Add a faked system time to
+ avoid certification's expiry.
+ * gpgsm/t-encrypt.c (main): Use the short certification name.
+
2002-11-19 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-genkey.c (main): Add missing argument to gpgme_op_genkey
./gpgsm.conf:
echo disable-crl-checks > ./gpgsm.conf
+ echo faked-system-time 1038908198 >> ./gpgsm.conf
./private-keys-v1.d/$(key_id).key: $(srcdir)/$(key_id)
test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
fail_if_err (err);
if (argc)
err = gpgme_recipients_add_name_with_validity (rset, *argv,
- GPGME_VALIDITY_FULL);
+ GPGME_VALIDITY_FULL);
else
- err = gpgme_recipients_add_name_with_validity (rset,
- "/CN=test cert 1,OU=Aegypten Project,O=g10 Code GmbH,L=Düsseldorf,C=DE",
- GPGME_VALIDITY_FULL);
+ err = gpgme_recipients_add_name_with_validity (rset, "test cert 1",
+ GPGME_VALIDITY_FULL);
fail_if_err (err);
err = gpgme_op_encrypt (ctx, rset, in, out );