aboutsummaryrefslogtreecommitdiffstats
path: root/sm (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-06-20Updated FSF's address.Werner Koch26-28/+71
2006-05-23g10/ does build again.Werner Koch4-29/+14
2006-05-222006-05-19 Marcus Brinkmann <[email protected]>Marcus Brinkmann4-7/+22
* keydb.c (keydb_insert_cert): Do not lock here, but only check if it is locked. (keydb_store_cert): Lock here. * keydb.h (keydb_delete): Accept new argument UNLOCK. * keydb.c (keydb_delete): Likewise. Only unlock if this is set. * delete.c (delete_one): Add new argument to invocation of keydb_delete.
2006-03-21Add Kludge for RegTP sillyness.Werner Koch4-11/+146
2006-02-19Better warning messagesWerner Koch2-8/+13
2006-02-14Added documentation for qualified signaturesWerner Koch1-1/+1
2005-11-23Add translationsWerner Koch1-2/+2
2005-11-23Print a note that the software has not been approved for qualified signatures.Werner Koch6-9/+127
2005-11-13Added qualified signature features.Werner Koch12-9/+535
2005-10-08agent/Marcus Brinkmann2-2/+7
2005-10-08 Marcus Brinkmann <[email protected]> * 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 <[email protected]> * Makefile.am (kbxutil_LDADD): Add ../gl/libgnu.a after ../jnlib/libjnlib.a. scd/ 2005-10-08 Marcus Brinkmann <[email protected]> * Makefile.am (scdaemon_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. sm/ 2005-10-08 Marcus Brinkmann <[email protected]> * Makefile.am (gpgsm_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. tools/ 2005-10-08 Marcus Brinkmann <[email protected]> * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD): Likewise.
2005-09-09Bug fixes and ssh support for the BELPIC.Werner Koch2-0/+7
2005-07-25* findkey.c (agent_public_key_from_file): Fixed array assignment.Werner Koch3-10/+78
This was the cause for random segvs. * call-agent.c (gpgsm_agent_readkey): New.
2005-07-21* gpgsm.c (main): New options --no-log-file and --debug-none.Werner Koch3-29/+109
* 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-20* keylist.c (email_kludge): Reworked.Werner Koch5-11/+31
* certdump.c (gpgsm_print_serial, gpgsm_dump_serial): Cast printf arg to unsigned. * call-dirmngr.c (gpgsm_dirmngr_run_command): Ditto
2005-07-19(gpgsm_get_certid): Cast printf arg to unsigned.Werner Koch2-3/+7
Bug accidently introduced while solving the #$%^& gcc signed/unsigned char* warnings.
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch14-70/+114
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 Koch3-2/+7
(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-21* configure.ac: Do not build gpg by default.Werner Koch4-4/+22
* 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-21(gpgsm_validate_chain): Check revocations even forWerner Koch3-7/+21
expired certificates. This is required because on signature verification an expired key is fine whereas a revoked one is not.
2005-04-18* configure.ac: Require libksba 0.9.11.Werner Koch8-35/+194
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* call-dirmngr.c (start_dirmngr): Use PATHSEP_C instead of ':'.Werner Koch3-2/+7
* call-agent.c (start_agent): Ditto.
2005-03-17* certcheck.c: Fixed use of DBG_CRYPTO and DBG_X509.Werner Koch3-56/+99
* certchain.c (gpgsm_basic_cert_check): Dump certificates after a failed gcry_pk_verify. (find_up): Do an external lookup also for an authorityKeyIdentifier lookup. Factored external lookup code out to .. (find_up_external): .. new.
2005-03-03* acinclude.m4 (GNUPG_PTH_VERSION_CHECK): Accidently usedWerner Koch2-1/+5
--ldflags instead of --cflags. Reported by Kazu Yamamoto. * Makefile.am (AM_CFLAGS): Added PTH_CFLAGS. Noted by Kazu Yamamoto. * Makefile.am (gpgsm_LDADD): Added PTH_LIBS. Noted by Kazu Yamamoto.
2005-01-13* acinclude.m4 (GNUPG_PTH_VERSION_CHECK): Link a simple testV1-9-15Werner Koch3-2/+6
program to see whether the installation is sane. * certreqgen.c (proc_parameters): Cast printf arg.
2004-12-22(set_binary): New.Werner Koch2-4/+41
(main, open_read, open_fwrite): Use it.
2004-12-21* preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch2-0/+4
* 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.
2004-12-21* gpg-agent.c (main): Use default_homedir().Werner Koch2-9/+6
* 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 Koch4-31/+52
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-19* maperror.c (map_assuan_err_with_source): Oops, args were swapped.Werner Koch1-2/+2
* w32-pth.c (pth_init): Enable debugging depending on env var.
2004-12-18* configure.ac (AH_BOTTOM): Define EXEEXT_S.Werner Koch1-0/+1
* autogen.sh: Updated --build-w32 feature. * gpg-agent.c (main): Remove special Pth initialize. * w32-pth.c (pth_init): Reverse return values. Use TRUE and FALSE constants. (pth_kill, pth_mutex_acquire, pth_attr_set, pth_join, pth_cancel): Ditto. * scdaemon.c (main) [W32]: Remove special Pth initialize..
2004-12-18Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch3-1/+11
2004-12-17* call-dirmngr.c (isvalid_status_cb, lookup_status_cb)Werner Koch4-17/+33
(run_command_status_cb): Return cancel status if gpgsm_status returned an error. * server.c (gpgsm_status, gpgsm_status2) (gpgsm_status_with_err_code): Return an error code. (gpgsm_status2): Always call va_end().
2004-12-15(lookup_status_cb): Send progress messagesWerner Koch2-3/+41
upstream. (isvalid_status_cb): Ditto. (gpgsm_dirmngr_isvalid): Put CTRL into status CB parameters. (gpgsm_dirmngr_run_command, run_command_status_cb): Pass CTRL to status callback and handle PROGRESS.
2004-12-15A whole bunch of changes to allow building for W32.Werner Koch3-7/+26
2004-12-13VArious hacks to make it at least build under W32.Werner Koch1-1/+1
* 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.
2004-12-07* asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.Werner Koch3-3/+12
* w32-pth.c, w32-pth.h: New. * Makefile.am (gpgsm_LDADD): Put libassuan before jnlib because under W32 we need the w32 pth code from jnlib. * misc.c (setup_pinentry_env) [W32]: Disabled.
2004-12-06* exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.Werner Koch4-233/+51
* gpgsm.c (run_protect_tool) [_WIN32]: Disabled. * import.c (popen_protect_tool): Simplified by making use of gnupg_spawn_process. (parse_p12): Likewise, using gnupg_wait_process. * export.c (popen_protect_tool): Ditto. (export_p12): Ditto.
2004-12-06* configure.ac (have_w32_system): New. Disable Pth checks for W32.Werner Koch2-2/+4
Link jnlib/w32-pth.h to pth.h. * Makefile.am (pkglib_PROGRAMS): Build only for W32. * keydb.c: Don't define DIRSEP_S here.
2004-12-03Preparing 1.9.13Werner Koch2-4/+23
2004-12-02First take on a W32 portWerner Koch2-21/+30
2004-11-23* b64enc.c: Include stdio.h and string.hWerner Koch4-19/+44
* 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.
2004-10-22(gpgsm_genkey): Remove the NEW from the certificateWerner Koch2-1/+6
request PEM header. This is according to the Sphinx standard.
2004-10-082004-10-08 Moritz Schulte <[email protected]>Moritz Schulte2-2/+9
* certchain.c (gpgsm_validate_chain): Do not use keydb_new() in case the no_chain_validation-return-short-cut is used (fixes memory leak).
2004-10-04(setup_pinentry_env): Try hard to set a default for GPG_TTY.Werner Koch2-1/+20
2004-10-01* gpgconf-comp.c (my_dgettext): Also switch codeset and directoryWerner Koch1-1/+1
for the other used domains (i.e. dirmngr). * gpgconf.c (main): Fixed translation markers.
2004-09-30* gpgv.c (i18n_init): Always use LC_ALL.Werner Koch4-17/+48
* 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.
2004-09-30Preparing a new release. Updated gettextWerner Koch2-1/+5
2004-09-30* de.po: Updated.Werner Koch2-2/+10
* POTFILES.in: Add more files. * app-openpgp.c (do_sign): Add the error string to the verify failed messages. * keylist.c (list_cert_colon): Make sure that the expired flag has a higher precedence than the invalid flag.
2004-09-30spelling fixWerner Koch1-1/+4
2004-09-29Print warning when --default-key is used.Werner Koch1-0/+1