Werner Koch
1e53ff3608
Use GPG_ERROR_CFLAGS
2004-01-10 11:50:48 +00:00
Werner Koch
f332166e51
* Manifest: New.
...
* gpgconf.c, gpgconf.h, gpgconf-list.c: New. A skeleton for now.
* no-libgcrypt.c: New.
* Makefile.am: Add above.
2004-01-05 09:28:27 +00:00
Werner Koch
4ad92cecbc
Post release version number bump.
2003-12-23 11:27:13 +00:00
Werner Koch
c25ac44a7e
* README-alpha: Removed.
...
* configure.ac, Makefile.am: Add the tests and tools directories.
V1-9-3
2003-12-23 11:05:19 +00:00
Werner Koch
e11529f290
* Makefile.am: New.
...
* watchgnupg.c: New.
2003-12-23 11:05:00 +00:00
Werner Koch
28db0fabb4
* apdu.c (apdu_send_le): Send a get_response with the indicated
...
length and not the 64 bytes we used for testing.
* app-openpgp.c (verify_chv2, verify_chv3, do_sign): Check the
minimum length of the passphrase, so that we don't need to
decrement the retry counter.
2003-12-23 10:25:24 +00:00
Werner Koch
6103066b17
(map_assuan_err): Prepared for a new error code.
2003-12-23 10:24:49 +00:00
Werner Koch
02f20a7506
Enable the tests directory.
2003-12-23 10:23:16 +00:00
Werner Koch
711c4853d6
* server.c (gpgsm_server): Add arg DEFAULT_RECPLIST.
...
(cmd_encrypt): Add all enrypt-to marked certs to the list.
* encrypt.c (gpgsm_encrypt): Check that real recipients are
available.
* gpgsm.c (main): Make the --encrypt-to and --no-encrypt-to
options work. Pass the list of recients to gpgsm_server.
* gpgsm.h (certlist_s): Add field IS_ENCRYPT_TO.
(opt): Add NO_ENCRYPT_TO.
* certlist.c (gpgsm_add_to_certlist): New arg IS_ENCRYPT_TO.
Changed all callers and ignore duplicate entries.
(is_cert_in_certlist): New.
(gpgsm_add_cert_to_certlist): New.
2003-12-17 17:12:14 +00:00
Werner Koch
aac9cea6da
Requires now libassuan 0.6.2.
...
(CFLAGS): Add --Wformat-noliteral in gcc mode.
2003-12-17 13:03:59 +00:00
Werner Koch
a1bd2fa625
(CFLAGS): Add --Wformat-noliteral in gcc mode.
2003-12-17 12:28:54 +00:00
Werner Koch
cbd57643a7
Replaced deprecated type names.
...
* certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul.
(gpgsm_dump_serial): Ditto.
* decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
2003-12-17 12:28:24 +00:00
Werner Koch
c4182e3e24
Replaced deprecated type names.
...
* card-p15.c (p15_enum_keypairs): Replaced KRC by RC.
* card-dinsig.c (dinsig_enum_keypairs): Ditto.
2003-12-17 12:27:51 +00:00
Werner Koch
e4cea09fe1
Replaced deprecated type names
2003-12-17 12:27:21 +00:00
Werner Koch
23fa5c9792
* card-util.c (print_name): Fixed bad format string usage.
...
(print_isoname): Ditto.
* trustdb.c (check_regexp): s/exp/expr/.
* keyedit.c (trustsig_prompt): Removed a "> 255" term; it is
always false due to the data type.
* passphrase.c (agent_get_passphrase): Use xasprintf and avoid
non-literal format strings.
* tdbio.c (upd_hashtable, drop_from_hashtable, lookup_hashtable):
Fixed log_error format string bugs. Kudos to the now working
gcc-3.3 -Wformat-nonliteral and Florian Weimer's investigations in
gnupg 1.2.3.
2003-12-17 12:26:56 +00:00
Werner Koch
8ab35a7d26
* gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
...
* util.h [!HAVE_VASPRINTF]: Add printf format attribute to the
replacement function.
* miscellaneous.c (xasprintf): New.
2003-12-17 12:26:38 +00:00
Werner Koch
911daed647
(initialize): Replaced use of non-literal forma
...
args. Suggested by Florian Weimer.
2003-12-17 12:25:09 +00:00
Werner Koch
1114bc6430
Updated.
2003-12-16 16:32:02 +00:00
Werner Koch
d27fc828d7
print the time.
2003-12-16 16:31:42 +00:00
Werner Koch
a41d45af62
* gpgsm.c (main): Set the prefixes for assuan logging.
...
* sign.c (gpgsm_sign): Add validation checks for the default
certificate.
* gpgsm.c: Add -k as alias for --list-keys and -K for
--list-secret-keys.
2003-12-16 16:31:16 +00:00
Werner Koch
f438224dae
(main): Set the prefixes for assuan logging.
2003-12-16 16:30:55 +00:00
Werner Koch
bba0f77422
(writen, fun_writer, fun_closer): New.
...
(log_set_file): Add feature to log to a socket.
(log_set_file, do_logv): Force printing with prefix and pid.
2003-12-16 16:30:48 +00:00
Werner Koch
082e84c273
Fixed blatant allocation bug.
2003-12-16 14:20:45 +00:00
Werner Koch
9f8cb453b7
Add simple tool to watch the log output of gnupg and related modules.
2003-12-16 11:32:52 +00:00
Werner Koch
d0fbe288b2
* encrypt.c (init_dek): Use gry_create_nonce for the IV; there is
...
not need for real strong random here and it even better protect
the random bits used for the key.
2003-12-16 11:31:46 +00:00
Werner Koch
f18d0e557c
* seckey-cert.c (protect_secret_key): Use gry_create_nonce for the
...
IV; there is not need for real strong random here and it even
better protect the random bits used for the key.
2003-12-16 11:30:57 +00:00
Werner Koch
d06cba6984
* protect.c (do_encryption): Use gcry_create_nonce instad of the
...
obsolete WEAK_RANDOM.
2003-12-16 11:30:38 +00:00
Werner Koch
dba63c0a0c
* configure.ac: Check for funopen and fopencookie as part of the
...
jnlib checks.
* logging.c (writen, fun_writer, fun_closer): New.
(log_set_file): Add feature to log to a socket.
2003-12-16 11:30:16 +00:00
Werner Koch
56530d2c39
Keep those files in CVS too.
2003-12-09 09:28:27 +00:00
Werner Koch
f6dce349ae
Added missing files
2003-12-09 09:23:54 +00:00
Werner Koch
5b2dc2d67e
Readded accidential removed files
2003-12-09 09:21:06 +00:00
Repo Admin
6c88a1f5c0
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2003-12-09 09:21:06 +00:00
Werner Koch
d4143cdd92
Readded file
2003-12-09 09:20:26 +00:00
Werner Koch
07d31ceeb1
(MSGID_BUGS_ADDRESS): New.
2003-12-09 09:13:29 +00:00
Werner Koch
1c1069f70b
* configure.ac: Add a min_automake_version.
...
* README.CVS: New.
* autogen.sh: Revamped except for the --build-w32 hack.
* Makefile.am: Add README.CVS
2003-12-09 09:12:43 +00:00
Werner Koch
be294cbb14
Added files we better keep in the CVS
2003-12-09 09:07:09 +00:00
Repo Admin
f39b03d03d
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2003-12-09 09:07:09 +00:00
Werner Koch
d0f704991c
Added a very simple tool.
2003-12-01 10:54:59 +00:00
Werner Koch
c68eaa4b6b
* gpgsm.c, gpgsm.h: New options --{enable,disable}-ocsp.
...
(gpgsm_init_default_ctrl): Set USE_OCSP to the default value.
* certchain.c (gpgsm_validate_chain): Handle USE_OCSP.
* call-dirmngr.c (gpgsm_dirmngr_isvalid): Add arg USE_OCSP and
proceed accordingly.
2003-12-01 10:54:30 +00:00
Werner Koch
7134af9fdb
* scdaemon.c, scdaemon.h: New options --allow-admin and --deny-admin.
...
* app-openpgp.c (verify_chv3): Check it here.
2003-12-01 10:54:09 +00:00
Werner Koch
6b7af47bcc
(Certificate Options): Add --{enable,disable}-ocsp.
2003-12-01 10:53:40 +00:00
Werner Koch
fbd0f91c82
* sexp-parse.h (snext): Don't use atoi_1 and digitp macros, so
...
that this file is useful by other applications too.
2003-12-01 10:53:26 +00:00
Werner Koch
2f2eb1d202
* verify.c (gpgsm_verify): Fixed for changes API of gcry_md_info.
...
* certchain.c (unknown_criticals): Fixed an error code test.
2003-11-18 17:29:51 +00:00
Werner Koch
2f3d309750
*** empty log message ***
2003-11-17 12:56:43 +00:00
Werner Koch
fbb2d9de15
Preparing for 1.9.2 release.
V1-9-2
2003-11-17 12:20:11 +00:00
Moritz Schulte
19d65e2b4b
2003-11-16 Moritz Schulte <mo@g10code.com>
...
* signal.c: Removed unused file.
2003-11-16 15:29:07 +00:00
Werner Koch
ecba8bf1f5
Removed.
2003-11-14 11:36:04 +00:00
Werner Koch
9b32497c7e
(vasprintf): Also fixed the prototype.
2003-11-13 19:15:38 +00:00
Werner Koch
53272a25fc
(vasprintf): ARGS should not be a pointer. Fixed
...
segv on Solaris. Reported by Andrew J. Schorr.
2003-11-13 07:37:18 +00:00
Werner Koch
dba40e5e45
Mainly changes to adjust for the changed KSBA API.
2003-11-12 15:17:44 +00:00