aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-06-04* gpgsm.c (main): New command --list-sigsNEWPG-0-3-7Werner Koch1-3/+6
* keylist.c (list_cert_std): New. Use it whenever colon mode is not used. (list_cert_chain): New.
2002-05-31* gpgsm.c (main): Don't print the "go ahead" message for anWerner Koch1-1/+1
invalid command.
2002-05-21* keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.Werner Koch1-2/+2
(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.
2002-05-14sm/Werner Koch1-3/+15
* 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/
2002-04-242002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-5/+5
* server.c (option_handler): Accept display, ttyname, ttytype, lc_ctype and lc_messages options. * gpgsm.c (main): Allocate memory for these options. * gpgsm.h (struct opt): Make corresponding members non-const.
2002-04-242002-04-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+17
* configure.ac: Check for locale.h. agent/ 2002-04-24 Marcus Brinkmann <[email protected]> * agent.h (struct opt): Add members display, ttyname, ttytype, lc_ctype, and lc_messages. * gpg-agent.c (enum cmd_and_opt_values): Add oDisplay, oTTYname, oTTYtype, oLCctype, and LCmessages. (main): Handle these options. * command.c (option_handler): New function. (register_commands): Register option handler. * query.c (start_pinentry): Pass the various display and tty options to the pinentry. sm/ 2002-04-24 Marcus Brinkmann <[email protected]> * gpgsm.h (struct opt): New members display, ttyname, ttytype, lc_ctype, lc_messages. * gpgsm.c (enum cmd_and_opt_values): New members oDisplay, oTTYname, oTTYtype, oLCctype, oLCmessages. (opts): New entries for these options. (main): Handle these new options. * call-agent.c (start_agent): Set the various display and tty parameter after resetting.
2002-04-15 released 0.3.5NEWPG-0-3-5Werner Koch1-1/+1
2002-04-15* gpgsm.c (main): Check ksba version.Werner Koch1-2/+7
2002-03-21* export.c: New.Werner Koch1-4/+9
* gpgsm.c: Add command --export. * server.c (cmd_export): New.
2002-03-18Doc fixes, moved some fizmes to TODO, fixed minor bugs.Werner Koch1-2/+2
2002-03-12* verify.c (gpgsm_verify): Detect certs-only message.Werner Koch1-3/+9
2002-03-06sm/Werner Koch1-1/+27
* gpgsm.c: New command --learn-card * call-agent.c (learn_cb,gpgsm_agent_learn): New. * gpgsm.c (main): Print error messages for non-implemented commands. agent/ * learncard.c: New. * divert-scd.c (ask_for_card): The serial number is binary so convert it to hex here. * findkey.c (agent_write_private_key): New. * genkey.c (store_key): And use it here. scd/ * pkdecrypt.c (agent_pkdecrypt): Changed the way the diversion is done. * divert-scd.c (divert_pkdecrypt): Changed interface and implemented it.
2002-03-05* gpgsm.c, gpgsm.h: Add local_user.Werner Koch1-0/+1
* sign.c (gpgsm_get_default_cert): New. (get_default_signer): Use the new function if local_user is not set otherwise used that value. * encrypt.c (get_default_recipient): Removed. (gpgsm_encrypt): Use gpgsm_get_default_cert. * verify.c (gpgsm_verify): Better error text for a bad signature found by comparing the hashs.
2002-03-04Minor fixes; about to release 0.3.1NEWPG-0-3-1Werner Koch1-1/+1
2002-02-25* server.c (option_handler): Allow to use -2 for "send all certsWerner Koch1-1/+1
except the root cert". * sign.c (add_certificate_list): Implement it here. * certpath.c (gpgsm_is_root_cert): New.
2002-02-19* certpath.c (check_cert_policy): New.Werner Koch1-4/+27
(gpgsm_validate_path): And call it from here. * gpgsm.c (main): New options --policy-file, --disable-policy-checks and --enable-policy-checks. * gpgsm.h (opt): Added policy_file, no_policy_checks.
2002-02-07* certlist.c (gpgsm_add_to_certlist): Check that the specifiedWerner Koch1-3/+3
name identifies a certificate unambiguously. (gpgsm_find_cert): Ditto. * server.c (cmd_listkeys): Check that the data stream is available. (cmd_listsecretkeys): Ditto. (has_option): New. (cmd_sign): Fix ambiguousity in option recognition. * gpgsm.c (main): Enable --logger-fd. * encrypt.c (gpgsm_encrypt): Increased buffer size for better performance. * call-agent.c (gpgsm_agent_pksign): Check the S-Exp received from the agent. * keylist.c (list_cert_colon): Filter out control characters.
2002-01-29* call-agent.c (gpgsm_agent_havekey): New.Werner Koch1-4/+5
* keylist.c (list_cert_colon): New arg HAVE_SECRET, print "crs" when we know that the secret key is available. (gpgsm_list_keys): New arg MODE, check whether a secret key is available. Changed all callers. * gpgsm.c (main): New command --list-secret-keys. * server.c (cmd_listsecretkeys): New. (cmd_listkeys): Return secret keys with "crs" record.
2002-01-25* gpgsm.c (main): Disable core dumps.Werner Koch1-3/+25
* sign.c (add_certificate_list): New. (gpgsm_sign): Add the certificates to the CMS object. * certpath.c (gpgsm_walk_cert_chain): New. * gpgsm.h (server_control_s): Add included_certs. * gpgsm.c: Add option --include-certs. (gpgsm_init_default_ctrl): New. (main): Call it. * server.c (gpgsm_server): Ditto. (option_handler): Support --include-certs.
2002-01-21* gpgsm.c: Add option --enable-crl-checks.Werner Koch1-15/+20
* call-agent.c (start_agent): Implemented socket based access. * call-dirmngr.c (start_dirmngr): Ditto.
2002-01-19* server.c (gpgsm_server): Use assuan_deinit_server and setupWerner Koch1-1/+1
assuan logging if enabled. * call-agent.c (inq_ciphertext_cb): Don't show the session key in an Assuan log file. * gpgsm.c (my_strusage): Take bugreport address from configure.ac
2002-01-11* call-dirmngr.c: New.Werner Koch1-2/+12
* certpath.c (gpgsm_validate_path): Check the CRL here. * fingerprint.c (gpgsm_get_certid): New. * gpgsm.c: New options --dirmngr-program and --disable-crl-checks.
2001-12-20* verify.c (gpgsm_verify): Implemented non-detached signatureWerner Koch1-3/+3
verification. Add OUT_FP arg, initialize a writer and changed all callers. * server.c (cmd_verify): Pass an out_fp if one has been set.
2001-12-15* gpgsm.c (main): Renamed the default key database to "keyring.kbx".Werner Koch1-1/+1
2001-12-14* gpgsm.c (main): New option --debug-wait n, so that it isWerner Koch1-9/+20
possible to attach gdb when used in server mode.
2001-12-14* keylist.c (list_cert_colon): Print alternative names of subjectWerner Koch1-0/+6
and a few other values.
2001-12-13Made decryption work in --server mode, allow output of plain base64,Werner Koch1-31/+46
allow --armor and --base64 arguments for INPUT and OUTPUT, new global option --base64, cleaned up the help page.
2001-12-12* gpgsm.c (main): New options --assume-{armor,base64,binary}.Werner Koch1-1/+40
* base64.c (base64_reader_cb): Fixed non-autodetection mode.
2001-12-11Implemented encryption in server mode.Werner Koch1-13/+29
Allow to specify a recipient on the commandline There is still a default hardwired recipient if none has been set.
2001-12-05Started with decryption stuffWerner Koch1-12/+13
2001-11-27--armor does now produce PEM format.Werner Koch1-0/+4
2001-11-27* base64.c: New. Changed all other functions to use this insteadWerner Koch1-1/+5
of direct creation of ksba_reader/writer. * gpgsm.c (main): Set ctrl.auto_encoding unless --no-armor is used. This way we can feed PEM encoded stuff to --verify.
2001-11-26* gpgsm.c: New option --agent-programWerner Koch1-1/+4
* call-agent.c (start_agent): Allow to override the default path to the agent.
2001-11-23Just a Backup. We can now write out a basic signature which in turnWerner Koch1-0/+10
exhibits a bug in --verify.
2001-11-19Added basic code for keylisting.Werner Koch1-4/+3
New Assuan command LISTKEYS.
2001-11-19Write status output, make verify work in server mode.Werner Koch1-6/+19
2001-11-19gpgsm --verify does now work like gpg including theWerner Koch1-3/+68
--enable-special-filenames option.
2001-11-16Base code for gpgsm --verify does workWerner Koch1-0/+4
2001-11-13We have reached a state where we are able to import certs andWerner Koch1-7/+8
check the certification path.
2001-11-10we are now able to check self-signed certificatesWerner Koch1-0/+1
2001-11-07Implemented server main loop and started with import command.Werner Koch1-1/+1
2001-11-06gpgsm does now build and a dummy server can be started.Werner Koch1-2/+1030
2001-10-31Created configuration filesWerner Koch1-0/+6