summaryrefslogtreecommitdiffstats
path: root/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* g10/ does build again.Werner Koch2006-05-233-29/+13
|
* .Werner Koch2006-02-062-0/+7
|
* Fixed importing certs created by newer versions of Mozilla.Werner Koch2005-12-164-8/+17
|
* Add support for direct pkcs#7 signaturesWerner Koch2005-12-142-10/+70
|
* Preparing an interim releaseWerner Koch2005-11-283-2/+14
|
* 2005-10-08 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-10-082-0/+3
| | | | | * Makefile.am (watchgnupg_LDADD): New variable.
* agent/Marcus Brinkmann2005-10-082-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-08 Marcus Brinkmann <marcus@g10code.de> * Makefile.am (gpg_protect_tool_LDADD): Add ../gl/libgnu.a. (gpg_preset_passphrase_LDADD, t_common_ldadd): Likewise. (gpg_agent_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. kbx/ 2005-10-08 Marcus Brinkmann <marcus@g10code.de> * Makefile.am (kbxutil_LDADD): Add ../gl/libgnu.a after ../jnlib/libjnlib.a. scd/ 2005-10-08 Marcus Brinkmann <marcus@g10code.de> * Makefile.am (scdaemon_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. sm/ 2005-10-08 Marcus Brinkmann <marcus@g10code.de> * Makefile.am (gpgsm_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. tools/ 2005-10-08 Marcus Brinkmann <marcus@g10code.de> * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD): Likewise.
* 2005-09-29 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-09-292-1/+5
| | | | | * Makefile.am (AM_CFLAGS): Add $(LIBGCRYPT_CFLAGS).
* Changed license of this parser to LPGL.Werner Koch2005-09-063-36/+41
|
* About to release 1.9.18V1-9-18Werner Koch2005-08-012-5/+20
|
* * gpgsm.c (main): New options --no-log-file and --debug-none.Werner Koch2005-07-212-7/+55
| | | | | | | | | | | * certreqgen.c (get_parameter, get_parameter_value): Add SEQ arg to allow enumeration. Changed all callers. (create_request): Process DNS and URI parameters. * gpgsm-gencert.sh: Reworked to allow for multiple email addresses as well as DNsanmes and URi. Present the parameter file before creating the certificate.
* 2005-07-04 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-07-042-6/+71
| | | | | | | | | | * symcryptrun.c (SYMC_BAD_PASSPHRASE, SYMC_CANCELED): New symbols, use instead constants. (hash_string): New function copied from simple-gettext.c. (confucius_get_pass): Take new argument CACHEID. (confucius_process): Calculate cacheid and pass it to confucius_get_pass. Clear passphrase from cache if necessary.
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-165-3/+11
| | | | | | | 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-04 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-06-042-25/+39
| | | | | | | | | | | * symcryptrun.c (main): Allow any number of arguments, don't use first argument as input file name. Pass extra arguments to confucius_main. (confucius_main): Accept new arguments argc and argv and pass them to confucius_process. (confucius_process): Accept new arguments argc and argv and pass them to the confucius process.
* * configure.ac (gl_INIT): Add gnulib stuff.Werner Koch2005-06-013-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* * agent.h (out_of_core): s/__inline__/inine. Noted by Ray Link.Werner Koch2005-05-312-0/+17
| | | | | | | | | | | * dynload.h: s/__inline__/inline/. * tlv.c [GNUPG_MAJOR_VERSION==1]: Define constants instead of including a gnupg 1.4 header. * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines. Noted by Ray Link.
* 2005-05-28 Moritz Schulte <moritz@g10code.com>Moritz Schulte2005-05-283-1/+303
| | | | | | * gpgkey2ssh.c: New file. * Makefile.am (bin_PROGRAMS): Added gpgkey2ssh.
* * protect-tool.c: New option --canonical.Werner Koch2005-05-202-3/+229
| | | | | | | | | | | | | | | | | | | | | | | | (show_file): Implement it. * keyformat.txt: Define the created-at attribute for keys. * ccid-driver.c: Replaced macro DEBUG_T1 by a new debug level. (parse_ccid_descriptor): Mark SCR335 firmware version 5.18 good. (ccid_transceive): Arghhh. The seqno is another bit in the R-block than in the I block, this was wrong at one place. * scdaemon.c: New options --debug-ccid-driver and --debug-disable-ticker. * app-openpgp.c (do_genkey, do_writekey): Factored code to check for existing key out into .. (does_key_exist): .. New function. * gpg-connect-agent.c (add_definq, show_definq, clear_definq) (handle_inquire): New. (read_and_print_response): Handle INQUIRE command. (main): Implement control commands.
* Changed the scdaemon to handle concurrent sessions. AdjustedWerner Koch2005-05-181-1/+19
| | | | | gpg-agent accordingly. Code cleanups.
* (main): Optionally allow the input file as commandWerner Koch2005-04-212-1/+18
| | | | | line argument.
* * configure.ac: Do not build gpg by default.Werner Koch2005-04-213-1/+15
| | | | | | | | | | | | * gpgsm.c: New options --{enable,disable}-trusted-cert-crl-check. * certchain.c (gpgsm_validate_chain): Make use of it. * certchain.c (gpgsm_validate_chain): Check revocations even for expired certificates. This is required because on signature verification an expired key is fine whereas a revoked one is not. * gpgconf-comp.c: Add gpgsm option disable-trusted-cert-crl-check.
* 2005-04-19 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-04-192-28/+50
| | | | | * symcryptrun.c: Add --input option.
* 2005-04-15 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-04-152-0/+17
| | | | | * symcryptrun.c (TEMP_FAILURE_RETRY): Define if not defined.
* 2005-04-15 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-04-152-11/+73
| | | | | | | | | | | | * configure.ac: Check for /usr/bin/shred and define SHRED. tools/ 2005-04-15 Marcus Brinkmann <marcus@g10code.de> * symcryptrun.c (remove_file): New function. (confucius_copy_file): Accept new argument PLAIN and shred the file if it is set on error.
* 2005-04-15 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-04-152-2/+15
| | | | | | | | | | | | | | | * configure.ac: Add --enable-symcryptrun, disabled by default. Define automake variable BUILD_SYMCRYPTRUN. Check for openpty -lutil, define LIBUTIL_LIBS. tools/ 2005-04-15 Marcus Brinkmann <marcus@g10code.de> * Makefile.am: Define symcryptrun make variable depending on BUILD_SYMCRYPTUN. (bin_PROGRAMS): Add ${symcryptrun} instead symcryptrun. (symcryptrun_LDADD): Use $(LIBUTIL_LIBS) instead of -lutil.
* (confucius_mktmpdir): Changed to use mkdtmp(3).Werner Koch2005-04-112-22/+11
|
* * gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'.Werner Koch2005-04-112-2/+6
|
* 2005-04-11 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-04-112-7/+82
| | | | | * symcryptrun.c: Implement config file parsing.
* 2005-04-11 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-04-113-1/+860
| | | | | | | * Makefile.am (bin_PROGRAMS): Add symcryptrun. (symcryptrun_SOURCES, symcryptrun_LDADD): New variables. * symcryptrun.c: New file.
* Fixed description for dirmngr:honor-http-proxyWerner Koch2005-03-091-1/+1
|
* Add honor-http-proxy.Werner Koch2005-03-092-0/+7
|
* * findkey.c (modify_description): Keep invalid % escapes, so thatWerner Koch2005-02-253-4/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | %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.
* * gpg-agent.c (handle_connections): Need to check for events ifWerner Koch2005-02-243-5/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | select returns with -1. * tools.texi (gpg-connect-agent): New. * app-openpgp.c (get_one_do): Never try to get a non cacheable object from the cache. (get_one_do): Add new arg to return an error code. Changed all callers. (do_getattr): Let it return a proper error code. * app.c (select_application): Return an error code and the application context in an new arg. * command.c (open_card): Adjusted for that. Don't use the fallback if no card is present. Return an error if the card has been removed without a reset. (do_reset, cmd_serialno): Clear that error flag. (TEST_CARD_REMOVAL): New. Use it with all command handlers. * scdaemon.c (ticker_thread): Termintate if a shutdown is pending. * apdu.c: Added some PCSC error codes. (pcsc_error_to_sw): New. (reset_pcsc_reader, pcsc_get_status, pcsc_send_apdu) (open_pcsc_reader): Do proper error code mapping. * gpg-connect-agent.c: New. * Makefile.am: Add it.
* * preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch2004-12-212-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (gpg_preset_passphrase_LDADD): Reorder libs so that pwquery may use stuff from jnlib. Conditionally add -lwsock2 (gpg_protect_tool_LDADD): Ditto. * preset-passphrase.c (main): Use default_homedir(). (main) [W32]: Initialize sockets. * simple-pwquery.c (agent_open) [W32]: Implement for W32. (readline) [W32]: Use recv instead of read. (writen) [W32]: Use send instead of write. (my_stpcpy): Define a stpcpy replacement so that this file continues to be self-contained. (agent_send_all_options) [W32]: Don't call ttyname. * gnupg-badge-openpgp.eps, gnupg-badge-openpgp.jpg: New * gnupg.texi: Add a logo. * sysnotes.texi: New. * gpgsm.c (main): Use default_homedir(). (main) [W32]: Default to disabled CRL checks. * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute pathnames with a drive letter.
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-153-1/+32
|
* VArious hacks to make it at least build under W32.Werner Koch2004-12-132-1/+5
| | | | | | | | | | * stringhelp.c (w32_strerror) [W32]: New. * w32-pth.c, w32-pth.h: Added real code written by Timo Schulz. Not finished, though. * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
* Add dirmngr options to gpgconf and updated the DE translationWerner Koch2004-11-242-2/+5
|
* Add --ignore-http-dp andWerner Koch2004-11-242-0/+11
| | | | | --ignore-ldap-dp.
* * b64enc.c: Include stdio.h and string.hWerner Koch2004-11-233-2/+33
| | | | | | | | | * gpgsm.c: New option --prefer-system-dirmngr. * call-dirmngr.c (start_dirmngr): Implement this option. * gpgconf-comp.c <dirmngr>: Add the proxy options. <gpgsm>: Add --prefer-system-daemon.
* Compile fixes.Werner Koch2004-10-221-1/+1
|
* * Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.shWerner Koch2004-10-223-12/+24
| | | | | * gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF.
* Made all strings for --log-file read the same.Werner Koch2004-10-012-4/+8
|
* * gpgconf-comp.c (my_dgettext): Also switch codeset and directoryWerner Koch2004-10-013-7/+22
| | | | | | | for the other used domains (i.e. dirmngr). * gpgconf.c (main): Fixed translation markers.
* * gpgv.c (i18n_init): Always use LC_ALL.Werner Koch2004-09-302-5/+2
| | | | | | | | | | | | | | | | | | | * kbxutil.c (i18n_init): Always use LC_ALL. * gpgsm.c (i18n_init): Always use LC_ALL. * certdump.c (gpgsm_format_name): Factored code out to .. (gpgsm_format_name2): .. new. (gpgsm_print_name): Factored code out to .. (gpgsm_print_name2): .. new. (print_dn_part): New arg TRANSLATE. Changed all callers. (print_dn_parts): Ditto. (gpgsm_format_keydesc): Do not translate the SUBJECT; we require it to stay UTF-8 but we still want to filter out bad control characters. * gpgconf.c (i18n_init): Always use LC_ALL.
* Preparing a new release. Updated gettextWerner Koch2004-09-302-1/+5
|
* Remove what is now in the texi docs.Marcus Brinkmann2004-09-301-346/+3
|
* * gpgsm.texi (Configuration Options): Add --log-file.Werner Koch2004-09-293-31/+51
| | | | | | | * gpgconf-comp.c: Made the entries fro GROUPs translatable. Include i18n.h. (my_dgettext): Hack to use the gnupg2 domain.
* 2004-08-09 Moritz Schulte <moritz@g10code.com>Moritz Schulte2004-08-092-0/+119
| | | | | * gpgsm-gencert.sh: New file.
* * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF.Werner Koch2004-07-203-4/+28
|
* * xreadline.c: New. Based on the iobuf_read_line function.Werner Koch2004-06-143-36/+57
| | | | | | | | | | * 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.