aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-07Minor cleanups.Werner Koch1-0/+1
Implemented key helper kdns
2007-12-13Allow verification of some broken S-TRUST generated signatures.Werner Koch1-0/+1
2007-12-04Created help files form the current po entries.Werner Koch1-1/+1
2007-12-04Allow configuraton of pinentry tooltip.Werner Koch1-0/+6
Other minor buf fixes.
2007-08-29New command --check-programs for gpgconf.Werner Koch1-0/+4
2007-08-28Add more passphrase policy rules.Werner Koch1-1/+3
(--max-passphrase-days).
2007-08-27Implemented more gpg-agen options to support certain passphrase policies.Werner Koch1-0/+1
New tool gpg-check-pattern.
2007-08-14Documentaion updates.Werner Koch1-0/+1
Support doe Dirmngr under W32. Fixed a yat2m bug.
2007-08-10Implemented the chain model for X.509 validation.Werner Koch1-1/+1
2007-07-05Fixed card key generation of gpg2.Werner Koch1-0/+2
Reveal less information about timings while generating a key.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-26More W32 related changesWerner Koch1-2/+4
2007-06-21Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under ↵Werner Koch1-1/+5
Windows.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-0/+16
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch1-2/+3
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-05-15Use estream_asprintf instead of the GNU asprintf.Werner Koch1-10/+10
2007-04-20Improved logging for error orginating from libgcrypt.Werner Koch1-0/+4
2007-03-19Allow export to work on systems without funopen/fopencookie.Werner Koch1-0/+2
2007-03-19Changes to let the key listing use estream to help systems withoutWerner Koch1-1/+0
funopen.
2006-11-28Preparing 2.0.1Werner Koch1-1/+2
2006-10-20Allow to select X.509 certificates using the keygrip.Werner Koch1-0/+1
2006-10-10Various changesWerner Koch1-0/+7
2006-09-27Add missing file and other changes.Werner Koch1-9/+0
2006-09-21Various updatesWerner Koch1-0/+9
2006-09-15Allow for a global trustlist.Werner Koch1-0/+6
2006-09-14Take advantage of newer gpg-error features.Werner Koch1-3/+1
2006-09-06The big Assuan error code removal.Werner Koch1-6/+12
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2006-05-23g10/ does build again.Werner Koch1-0/+3
2006-04-19Merged with gpg 1.4.3 code. Werner Koch1-1/+5
The gpg part does not yet build.
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-120/+0
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-1/+1
char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
2005-06-01* configure.ac (gl_INIT): Add gnulib stuff.Werner Koch1-16/+24
(fseeko, ftello, ttyname, isascii): Replaced the AC_REPLACE_FUNCS by a simple check. (putc_unlocked): Removed check. Not used. (strsep, mkdtemp, asprintf): Replaced checks by gnulib checks. (xsize): Added will probably come handy soon. (CFLAGS): Use -Wformat-security instead of -Wformat-nonliteral. Add --Wno-format-y2k. * gl/, gl/m4/: New. * gpg-agent.c: Include setenv.h. * Makefile.am (AM_CPPFLAGS): Added. * util.h: Add some includes for gnulib. (ttyname, isascii): Define them inline. * fseeko.c, ftello.c: Removed. * strsep.c, mkdtemp.c: Removed. * ttyname.c, isascii.c: Removed. * mkdtemp.c: Removed. * exec.c: Include mkdtemp.h * keybox-file.c (ftello) [!HAVE_FSEEKO]: New replacement function. Copied from ../common/ftello.c. * keybox-update.c (fseeko) [!HAVE_FSEEKO]: New replacement function. Copied from ../common/iobuf.c. * scdaemon.c: Include mkdtemp.h. * misc.c: Include setenv.h. * symcryptrun.c: Include mkdtemp.h.
2005-04-18* configure.ac: Require libksba 0.9.11.Werner Koch1-0/+3
sm/ * call-dirmngr.c (inq_certificate): Add new inquire SENDCERT_SKI. * certlist.c (gpgsm_find_cert): Add new arg KEYID and implement this filter. Changed all callers. * certchain.c (find_up_search_by_keyid): New helper. (find_up): Also try using the AKI.keyIdentifier. (find_up_external): Ditto.
2005-04-11* sexputil.c: New.Werner Koch1-0/+3
2005-02-25* findkey.c (modify_description): Keep invalid % escapes, so thatWerner Koch1-0/+4
%0A may pass through. * agent.h (server_control_s): New field USE_AUTH_CALL. * call-scd.c (agent_card_pksign): Make use of it. * command-ssh.c (data_sign): Set the flag. (ssh_send_key_public): New arg OVERRIDE_COMMENT. (card_key_available): Add new arg CARDSN. (ssh_handler_request_identities): Use the card s/n as comment. (sexp_key_extract): Use GCRYMPI_FMT_STD. (data_sign): Ditto. * learncard.c (make_shadow_info): Moved to .. * protect.c (make_shadow_info): .. here. Return NULL on malloc failure. Made global. * agent.h: Add prototype. * xasprintf.c (xtryasprintf): New. * app-openpgp.c (get_public_key): Make sure not to return negative numbers. (do_sign): Allow passing of indata with algorithm prefix. (do_auth): Allow OPENPGP.3 as an alternative ID. * app.c (app_getattr): Return just the S/N but not the timestamp. * no-libgcrypt.c (gcry_strdup): New.
2004-12-21* gpg-agent.c (main): Use default_homedir().Werner Koch1-0/+4
* protect-tool.c (main): Ditto. * signal.c (got_fatal_signal, got_usr_signal) (got_fatal_signal) [DOSISH]: Don't build. * simple-gettext.c: Include sysutils.h * homedir.c: New. * Makefile.am (libcommon_a_SOURCES): Add it. (EXTRA_DIST): Removed mkerror and mkerrtok. * gpgv.c, g10.c (main): Use default_hoemdir (). * scdaemon.c (main): Use default_homedir(). * gpgsm.c (main): Use default_homedir().
2004-12-20* configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch1-0/+4
directories default to c:/gnupg. Require libassuan 0.6.9. * gpg-agent.c (main) [W32]: Now that Mutexes work we can remove the pth_init kludge. (main): Add new options --[no-]use-standard-socket. (check_for_running_agent): Check whether it is running on the standard socket. * sysutils.h [W32]: Define sleep. * util.h: Add prototype for mkdtemp. * call-agent.c (start_agent): Before starting a pipe server start to connect to a server on the standard socket. Use PATHSEP * call-dirmngr.c (start_dirmngr): Use PATHSEP. * import.c: Include unistd.h for dup and close.
2004-12-18Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch1-1/+1
2004-12-15A whole bunch of changes to allow building for W32.Werner Koch1-1/+3
2004-12-02First take on a W32 portWerner Koch1-1/+3
2004-06-14* xreadline.c: New. Based on the iobuf_read_line function.Werner Koch1-0/+5
* 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.
2004-06-06* util.h (xtrycalloc_secure,xtrymalloc_secure): New.Werner Koch1-1/+3
2004-02-10New. Based on code from ../sm/base64.c.Werner Koch1-2/+18
2004-01-27Some minor bug fixes, new test utilities and started support for otherWerner Koch1-1/+2
smartcard applications.
2003-12-17* gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.Werner Koch1-1/+7
* util.h [!HAVE_VASPRINTF]: Add printf format attribute to the replacement function. * miscellaneous.c (xasprintf): New.
2003-11-13(vasprintf): Also fixed the prototype.Werner Koch1-1/+1
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-2/+0
2003-10-31* util.h (gnupg_isotime_t): New.Werner Koch1-0/+19
(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 Koch1-0/+4