aboutsummaryrefslogtreecommitdiffstats
path: root/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (simple_pwquery): Handle gpg-error style returnWerner Koch2004-08-182-2/+13
| | | | | code for canceled.
* * Makefile.am (sm): Build kbx only if gpgsm is to be build.Werner Koch2004-07-202-1/+4
| | | | | * maperror.c: Removed header ksba.h. Not required anymore.
* * xreadline.c: New. Based on the iobuf_read_line function.Werner Koch2004-06-144-0/+126
| | | | | | | | | | * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New. * gpgconf-comp.c (retrieve_options_from_program) (retrieve_options_from_file, change_options_file) (change_options_program, gc_component_change_options): Replaced getline by read_line and test for allocation failure.
* * util.h (xtrycalloc_secure,xtrymalloc_secure): New.Werner Koch2004-06-062-1/+7
|
* * sysutils.c (disable_core_dumps): Only set the current limit.Werner Koch2004-05-113-7/+36
| | | | | | | | | | | | | | | (enable_core_dumps): New. * gpgsm.texi (Esoteric Options): Add --debug-allow-core-dump. * gpgsm.c: New option --debug-allow-core-dump. * gpgsm.h (opt): Add member CONFIG_FILENAME. * gpgsm.c (main): Use it here instead of the local var. * server.c (gpgsm_server): Print some additional information with the hello in verbose mode.
* Removed this file from the CVS.Werner Koch2004-04-201-37/+0
|
* (copy_and_escape): Relaxed quoting.Werner Koch2004-04-132-5/+11
|
* (STATUS_NEWSIG): New.Werner Koch2004-04-052-1/+6
|
* * dynload.h [__MINGW32__]: Define RTLD_LAZY.Werner Koch2004-03-163-2/+10
|
* Preparing for a releaseWerner Koch2004-03-064-1/+209
|
* * protect-tool.c: New options --have-cert and --prompt.Werner Koch2004-02-192-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.
* * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.Werner Koch2004-02-182-1/+3
|
* Added STATUS_IMPORT_OK.Werner Koch2004-02-172-0/+5
|
* minor cleanupsWerner Koch2004-02-122-3/+3
|
* New. Based on code from ../sm/base64.c.Werner Koch2004-02-104-2/+234
|
* 2004-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-01-304-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.
* Some minor bug fixes, new test utilities and started support for otherWerner Koch2004-01-274-1/+108
| | | | | smartcard applications.
* (map_assuan_err): Prepared for a new error code.Werner Koch2003-12-232-11/+8
|
* * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.Werner Koch2003-12-174-3/+40
| | | | | | | | * util.h [!HAVE_VASPRINTF]: Add printf format attribute to the replacement function. * miscellaneous.c (xasprintf): New.
* Preparing for 1.9.2 release.V1-9-2Werner Koch2003-11-172-5/+4
|
* Removed.Werner Koch2003-11-143-40/+4
|
* (vasprintf): Also fixed the prototype.Werner Koch2003-11-132-1/+3
|
* (vasprintf): ARGS should not be a pointer. FixedWerner Koch2003-11-132-2/+7
| | | | | segv on Solaris. Reported by Andrew J. Schorr.
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-123-45/+4
|
* * util.h (gnupg_isotime_t): New.Werner Koch2003-10-313-0/+52
| | | | | | | (gnupg_copy_time): New. * gettime.c (gnupg_get_isotime): New.
* Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch2003-09-234-18/+30
|
* (tty_fprintf): New.Werner Koch2003-09-183-7/+64
| | | | | | (tty_print_string, tty_print_utf8_string2) (tty_print_utf8_string): Made P argument const byte*.
* 2003-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-202-2/+7
| | | | | | * maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set the error source.
* Add 'dynload.h' to Makefile.am.Timo Schulz2003-08-141-1/+2
|
* *** empty log message ***Timo Schulz2003-08-142-8/+6
|
* 2003-08-14 Timo Schulz <[email protected]>Timo Schulz2003-08-142-0/+75
| | | | | * dlfcn.h. New. W32 wrapper around the dynload mechanism.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-0517-0/+4965
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-01-093-0/+286
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-198-1098/+0
| | | | 'GNUPG-1-9-BRANCH'.
* 2002-09-04 Neal H. Walfield <[email protected]>Neal Walfield2002-09-052-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.
* * errors.h: Added STATUS_IMPORT_PROBLEM.Werner Koch2002-08-212-0/+5
|
* * vasprintf.c: Hack to handle NULL for %s.Werner Koch2002-08-212-2/+13
|
* Renamed an error code.Werner Koch2002-08-163-3/+3
|
* * signal.c: New. Taken from GnuPG 1.1.91.Werner Koch2002-08-094-3/+246
|
* * fseeko.c, ftello.c: New.Werner Koch2002-07-224-1/+89
| | | | | * configure.ac: Check for ftello and provide a replacement.
* * maperror.c (map_to_assuan_status): Map more errorcodes to BadWerner Koch2002-06-282-0/+11
| | | | | Certificate.
* * maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.Werner Koch2002-06-262-0/+7
|
* Various changes.Werner Koch2002-06-125-6/+91
|
* * no-pth.c, Makefile.am: Removed.Werner Koch2002-05-233-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.
* * mkdtemp.c: Replaced byte by unsigned char because it is no longerWerner Koch2002-05-222-2/+7
| | | | | defined in gcrypt.h.
* * keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.Werner Koch2002-05-211-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.
* * import.c (gpgsm_import): Try to identify the type of input andWerner Koch2002-05-212-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.
* sm/Werner Koch2002-05-144-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/
* * errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.NEWPG-0-3-6Werner Koch2002-05-032-0/+7
|
* * cryptmiss.c: New.Werner Koch2002-04-153-1/+45
|