aboutsummaryrefslogtreecommitdiffstats
path: root/common (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-03-06Preparing for a releaseWerner Koch4-1/+209
2004-02-19* protect-tool.c: New options --have-cert and --prompt.Werner Koch2-1/+10
(export_p12_file): Read a certificate from STDIN and pass it to p12_build. Detect a keygrip and construct the filename in that case. Unprotcet a key if needed. Print error messages for key formats we can't handle. (release_passphrase): New. (get_passphrase): New arg PROMPTNO. Return the allocated string. Changed all callers. * minip12.c: Revamped the build part. (p12_build): New args CERT and CERTLEN. * simple-pwquery.c (agent_open): Don't mangle INFOSTR. * export.c (export_p12, popen_protect_tool) (gpgsm_p12_export): New. * gpgsm.c (main): New command --export-secret-key-p12.
2004-02-18* simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.Werner Koch2-1/+3
2004-02-17Added STATUS_IMPORT_OK.Werner Koch2-0/+5
2004-02-12minor cleanupsWerner Koch2-3/+3
2004-02-10New. Based on code from ../sm/base64.c.Werner Koch4-2/+234
2004-01-302004-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann4-19/+52
* Makefile.am (libcommon_a_SOURCES): Add xasprintf.c. * miscellaneous.c (xasprintf): Moved to ... * xasprintf (xasprintf): ... here. New file. This allows to use xasprintf without sucking in gpg-error.
2004-01-27Some minor bug fixes, new test utilities and started support for otherWerner Koch4-1/+108
smartcard applications.
2003-12-23(map_assuan_err): Prepared for a new error code.Werner Koch2-11/+8
2003-12-17* gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.Werner Koch4-3/+40
* util.h [!HAVE_VASPRINTF]: Add printf format attribute to the replacement function. * miscellaneous.c (xasprintf): New.
2003-11-17Preparing for 1.9.2 release.V1-9-2Werner Koch2-5/+4
2003-11-14Removed.Werner Koch3-40/+4
2003-11-13(vasprintf): Also fixed the prototype.Werner Koch2-1/+3
2003-11-13(vasprintf): ARGS should not be a pointer. FixedWerner Koch2-2/+7
segv on Solaris. Reported by Andrew J. Schorr.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch3-45/+4
2003-10-31* util.h (gnupg_isotime_t): New.Werner Koch3-0/+52
(gnupg_copy_time): New. * gettime.c (gnupg_get_isotime): New.
2003-09-23Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch4-18/+30
2003-09-18(tty_fprintf): New.Werner Koch3-7/+64
(tty_print_string, tty_print_utf8_string2) (tty_print_utf8_string): Made P argument const byte*.
2003-08-202003-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-2/+7
* maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set the error source.
2003-08-14Add 'dynload.h' to Makefile.am.Timo Schulz1-1/+2
2003-08-14*** empty log message ***Timo Schulz2-8/+6
2003-08-142003-08-14 Timo Schulz <[email protected]>Timo Schulz2-0/+75
* dlfcn.h. New. W32 wrapper around the dynload mechanism.
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin17-0/+4965
'GNUPG-1-9-BRANCH'.
2003-01-09This commit was manufactured by cvs2svn to create branchRepo Admin3-0/+286
'GNUPG-1-9-BRANCH'.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin8-1098/+0
'GNUPG-1-9-BRANCH'.
2002-09-052002-09-04 Neal H. Walfield <[email protected]>Neal Walfield2-1/+14
* vasprintf.c (vasprintf) [va_copy]: Use va_copy. [!va_copy && __va_copy]: Use __va_copy. [!va_copy && !__va_copy]: Only now fall back to using memcpy.
2002-08-21* errors.h: Added STATUS_IMPORT_PROBLEM.Werner Koch2-0/+5
2002-08-21* vasprintf.c: Hack to handle NULL for %s.Werner Koch2-2/+13
2002-08-16Renamed an error code.Werner Koch3-3/+3
2002-08-09* signal.c: New. Taken from GnuPG 1.1.91.Werner Koch4-3/+246
2002-07-22* fseeko.c, ftello.c: New.Werner Koch4-1/+89
* configure.ac: Check for ftello and provide a replacement.
2002-06-28* maperror.c (map_to_assuan_status): Map more errorcodes to BadWerner Koch2-0/+11
Certificate.
2002-06-26* maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.Werner Koch2-0/+7
2002-06-12Various changes.Werner Koch5-6/+91
2002-05-23* no-pth.c, Makefile.am: Removed.Werner Koch3-55/+4
* call-scd.c: Seirialized all scdaeom access when using Pth. * cache.c: Made the cache Pth-thread-safe. (agent_unlock_cache_entry): New. * findkey.c (unprotect): Unlock the returned cache value. * command.c (cmd_get_passphrase): Ditto. * gpg-agent.c (main): Register pth_read/write with Assuan.
2002-05-22* mkdtemp.c: Replaced byte by unsigned char because it is no longerWerner Koch2-2/+7
defined in gcrypt.h.
2002-05-21* keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.Werner Koch1-1/+3
(list_external_keys): New. (gpgsm_list_keys): Dispatcher for above. * call-dirmngr.c (lookup_cb,pattern_from_strlist) (gpgsm_dirmngr_lookup): New. * server.c (option_handler): Handle new option --list-mode. (do_listkeys): Handle options and actually use the mode argument. (get_status_string): New code TRUNCATED.
2002-05-21* import.c (gpgsm_import): Try to identify the type of input andWerner Koch2-2/+33
handle certs-only messages. * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors. (map_ksba_err): Add a few mappings. * configure.ac: We now require libgcrypt 1.1.7 and libksba 0.4.2.
2002-05-14sm/Werner Koch4-1/+100
* gpgsm.c: New option --faked-system-time * sign.c (gpgsm_sign): And use it here. * certpath.c (gpgsm_validate_path): Ditto. common/ * gettime.c: New. agent/ * cache.c (housekeeping, agent_put_cache): Use our time() wrapper. / * doc/: New * configure.ac, Makefile.am: Added doc/
2002-05-03* errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.NEWPG-0-3-6Werner Koch2-0/+7
2002-04-15* cryptmiss.c: New.Werner Koch3-1/+45
2002-04-12* certlist.c (cert_usable_p): New.Werner Koch1-0/+1
(gpgsm_cert_use_sign_p,gpgsm_cert_use_encrypt_p): New. (gpgsm_cert_use_verify_p,gpgsm_cert_use_decrypt_p): New. (gpgsm_add_to_certlist): Check the key usage. * sign.c (gpgsm_sign): Ditto. * verify.c (gpgsm_verify): Print a message wehn an unsuitable certificate was used. * decrypt.c (gpgsm_decrypt): Ditto * keylist.c (print_capabilities): Determine values from the cert.
2002-03-12More error codesWerner Koch1-0/+2
2002-03-05We got more error codes than actual code ;-)Werner Koch1-0/+1
2002-02-28Changes needed to support smartcards. Well, only _support_. There isWerner Koch2-1/+10
no real code yet.
2002-02-19* certpath.c (check_cert_policy): New.Werner Koch1-0/+2
(gpgsm_validate_path): And call it from here. * gpgsm.c (main): New options --policy-file, --disable-policy-checks and --enable-policy-checks. * gpgsm.h (opt): Added policy_file, no_policy_checks.
2002-02-18More error codesWerner Koch3-0/+23
2002-02-12* fopencookie.c: Dummy function.Werner Koch7-4/+288
* vasprintf.c: New. Taken from binutils-2.9.1 and dropped all non ANSI-C stuff. Merged with asprintf version. * no-pth.c: New.
2002-02-07* certlist.c (gpgsm_add_to_certlist): Check that the specifiedWerner Koch1-0/+1
name identifies a certificate unambiguously. (gpgsm_find_cert): Ditto. * server.c (cmd_listkeys): Check that the data stream is available. (cmd_listsecretkeys): Ditto. (has_option): New. (cmd_sign): Fix ambiguousity in option recognition. * gpgsm.c (main): Enable --logger-fd. * encrypt.c (gpgsm_encrypt): Increased buffer size for better performance. * call-agent.c (gpgsm_agent_pksign): Check the S-Exp received from the agent. * keylist.c (list_cert_colon): Filter out control characters.
2002-01-31Added a few more error codesWerner Koch1-0/+3