aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-14Documentaion updates.Werner Koch1-11/+80
Support doe Dirmngr under W32. Fixed a yat2m bug.
2007-08-10Implemented the chain model for X.509 validation.Werner Koch1-7/+42
2007-08-02Factored common gpgconf constants outWerner Koch1-28/+12
Fixed W32 compare_filenames
2007-07-17Typo fixes.Werner Koch1-4/+11
Made --default-key work for gpgsm Add --default-key and --encrypt-to to gpgconf.
2007-07-12Translate all file descriptors received from assuan.Werner Koch1-1/+1
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-26More W32 related changesWerner Koch1-0/+1
2007-06-25Fixed a problem in estream-printf.c.Werner Koch1-8/+8
Changes for Windows (gpgsm -k does now work). Minor cleanups.
2007-06-21Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under ↵Werner Koch1-4/+7
Windows.
2007-06-20[w32] gpg-agent is now started automagically by gpgsm.Werner Koch1-1/+1
2007-06-19Made percent_escape more general.Werner Koch1-1/+1
Added regression tests support to jnlib. W32 changes.
2007-06-18jnlib/Marcus Brinkmann1-3/+6
2007-06-18 Marcus Brinkmann <[email protected]> * stringhelp.h (percent_escape): New prototype. * stringhelp.c (percent_escape): New function. agent/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg-agent.c (main): Percent escape pathname in --gpgconf-list output. g10/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg.c (gpgconf_list): Percent escape output of --gpgconf-list. scdaemon/ 2007-06-18 Marcus Brinkmann <[email protected]> * scdaemon.c (main): Percent escape output of --gpgconf-list. sm/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpgsm.c (main): Percent escape output of --gpgconf-list.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-4/+4
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch1-15/+0
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-04-20Improved logging for error orginating from libgcrypt.Werner Koch1-8/+4
2007-03-20Make gpgconf aware of --p12-charset.Werner Koch1-0/+2
2007-03-20Allow setting of the passphrase encoding of pkcs#12 files.Werner Koch1-2/+9
New option --p12-charset.
2007-03-19Allow export to work on systems without funopen/fopencookie.Werner Koch1-1/+1
2007-03-19Changes to let the key listing use estream to help systems withoutWerner Koch1-4/+42
funopen.
2007-01-31Included LIBICONV in all Makefiles.Werner Koch1-3/+6
g10/ * passphrase.c (passphrase_get): Set the cancel flag on all error from the agent. Fixes a bug reported by Tom Duerbusch. sm/ * gpgsm.c (main): Let --gen-key print a more informative error message.
2006-12-21Comment mtrace featureWerner Koch1-2/+2
2006-12-212006-12-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+2
* encrypt.c (encrypt_dek): Release S_CIPH.
2006-10-23.Werner Koch1-12/+35
2006-10-17Pth tweaks and improved estream.cWerner Koch1-8/+1
2006-10-02Fix for bug 537Werner Koch1-5/+5
2006-09-21Various updatesWerner Koch1-0/+1
2006-09-18Added common certificates.Werner Koch1-3/+22
2006-09-13Various fixes and new features.Werner Koch1-45/+40
Enhanced gpg-connect-agent.
2006-09-06The big Assuan error code removal.Werner Koch1-2/+3
2006-08-29See ChangeLogsWerner Koch1-41/+67
2006-06-20Updated FSF's address.Werner Koch1-4/+12
2005-11-23Print a note that the software has not been approved for qualified signatures.Werner Koch1-0/+5
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-1458/+0
2005-07-21* gpgsm.c (main): New options --no-log-file and --debug-none.Werner Koch1-1/+7
* 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-04-21* configure.ac: Do not build gpg by default.Werner Koch1-0/+12
* 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-18* configure.ac: Require libksba 0.9.11.Werner Koch1-1/+1
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.
2004-12-22(set_binary): New.Werner Koch1-4/+36
(main, open_read, open_fwrite): Use it.
2004-12-21* preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch1-0/+3
* 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 Koch1-9/+2
* 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-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-15A whole bunch of changes to allow building for W32.Werner Koch1-3/+12
2004-12-06* exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.Werner Koch1-0/+2
* 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-02First take on a W32 portWerner Koch1-21/+23
2004-11-23* b64enc.c: Include stdio.h and string.hWerner Koch1-1/+6
* 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-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 Koch1-5/+0
* 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-29Print warning when --default-key is used.Werner Koch1-0/+1
2004-08-17* import.c (check_and_store): Do a full validation ifWerner Koch1-2/+6
--with-validation is set. * certchain.c (gpgsm_basic_cert_check): Print more detailed error messages. * certcheck.c (do_encode_md): Partly support DSA. Add new arg PKALGO. Changed all callers to pass it. (pk_algo_from_sexp): New. tests/pkits: New directory
2004-08-06* gpgsm.c: New option --with-ephemeral-keys.Werner Koch1-0/+3
* keylist.c (list_internal_keys): Set it here. (list_cert_raw): And indicate those keys. Changed all our callers to pass the new arg HD through.
2004-06-06* configure.ac: Require libksba 0.9.7.Werner Koch1-5/+11
* certreqgen.c (get_parameter_uint, create_request): Create an extension for key usage when requested. * gpgsm.c (main): Install emergency_cleanup also as an atexit handler. * verify.c (gpgsm_verify): Removed the separate error code handling for KSBA. We use shared error codes anyway. * export.c (export_p12): Removed debugging code. * encrypt.c (gpgsm_encrypt): Put the session key in to secure memory.