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.
This commit is contained in:
parent
51168de35d
commit
c60bcb31ad
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -46,6 +46,7 @@ all-local: ./pubring.kbx ./gpgsm.conf ./private-keys-v1.d/$(key_id).key ./trustl
|
||||
|
||||
./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
|
||||
|
@ -110,11 +110,10 @@ main (int argc, char **argv )
|
||||
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 );
|
||||
|
Loading…
Reference in New Issue
Block a user