aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-agent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.Werner Koch2002-06-271-1/+10
| | | | | | | | | | | | | * call-agent.c (start_agent): Create and pass the list of FD to keep in the child to assuan. * call-dirmngr.c (start_dirmngr): Ditto. * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * assuan-pipe-connect.c (assuan_pipe_connect): No special handling for the log_fd and stderr. Connect stderr to /dev/null if it should not be retained.
* * call-agent.c (learn_cb): Use log_info instead of log_error onWerner Koch2002-06-191-2/+2
| | | | | | | | | | | | successful import. * keydb.c (keydb_set_ephemeral): New. (keydb_store_cert): New are ephemeral, changed all callers. * keylist.c (list_external_cb): Store cert as ephemeral. * export.c (gpgsm_export): Kludge to export epehmeral certificates. * gpgsm.c (main): New command --list-external-keys.
* Debug message cleanups.Werner Koch2002-04-271-2/+4
|
* * call-agent.c (start_agent): Make copies of old locales and checkWerner Koch2002-04-251-6/+24
| | | | | | | for setlocale. * configure.ac: Check for setlocale.
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-241-17/+25
| | | | | | * call-agent.c (start_agent): Fix error handling logic so the locale is always correctly reset.
* 2002-04-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-241-4/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Doc fixes, moved some fizmes to TODO, fixed minor bugs.Werner Koch2002-03-181-1/+1
|
* * verify.c (gpgsm_verify): Detect certs-only message.Werner Koch2002-03-121-2/+2
|
* sm/Werner Koch2002-03-061-2/+91
| | | | | | | | | | | | | | | | | * 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.
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-281-12/+12
| | | | | no real code yet.
* * certpath.c (gpgsm_validate_path): Ask the agent to add theWerner Koch2002-02-181-1/+37
| | | | | | certificate into the trusted list. * call-agent.c (gpgsm_agent_marktrusted): New.
* Set version numbers add a commentNEWPG-0-3-0Werner Koch2002-02-071-0/+1
|
* * certlist.c (gpgsm_add_to_certlist): Check that the specifiedWerner Koch2002-02-071-1/+5
| | | | | | | | | | | | | | | | 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.
* * call-agent.c (gpgsm_agent_havekey): New.Werner Koch2002-01-291-0/+23
| | | | | | | | | | | * 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.
* * gpgsm.c: Add option --enable-crl-checks.Werner Koch2002-01-211-14/+39
| | | | | | * call-agent.c (start_agent): Implemented socket based access. * call-dirmngr.c (start_dirmngr): Ditto.
* * server.c (gpgsm_server): Use assuan_deinit_server and setupWerner Koch2002-01-191-0/+2
| | | | | | | | | 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
* * import.c (gpgsm_import): Just do a basic cert check beforeWerner Koch2002-01-151-1/+28
| | | | | | | | | | | | | | | | storing it. * certpath.c (gpgsm_basic_cert_check): New. * keydb.c (keydb_store_cert): New. * import.c (store_cert): Removed and change all caller to use the new function. * verify.c (store_cert): Ditto. * certlist.c (gpgsm_add_to_certlist): Validate the path * certpath.c (gpgsm_validate_path): Check the trust list. * call-agent.c (gpgsm_agent_istrusted): New.
* * call-dirmngr.c: New.Werner Koch2002-01-111-11/+1
| | | | | | | * 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.
* * base64.c (gpgsm_create_writer): Allow to set the object nameWerner Koch2002-01-101-0/+68
| | | | | | | | * server.c (cmd_genkey): New. * certreqgen.c: New. The parameter handling code has been taken from gnupg/g10/keygen.c version 1.0.6. * call-agent.c (gpgsm_agent_genkey): New.
* assuan/Marcus Brinkmann2001-12-191-1/+1
| | | | | | | | | | | | | | | | | | | 2001-12-14 Marcus Brinkmann <[email protected]> * assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use it to save the length of the attic line. Rediddle the code a bit to make it more clear what happens. agent/ 2001-12-19 Marcus Brinkmann <[email protected]> * query.c (start_pinentry): Add new argument to assuan_pipe_connect. sm/ 2001-12-19 Marcus Brinkmann <[email protected]> * call-agent.c (start_agent): Add new argument to assuan_pipe_connect.
* Changes to be used with the new libksba interface.Werner Koch2001-12-181-1/+6
| | | | | libgcrypt-1.1.5 is required (cvs or tarball)
* * gpgsm.c (main): New option --debug-wait n, so that it isWerner Koch2001-12-141-8/+0
| | | | | possible to attach gdb when used in server mode.
* assuan/Marcus Brinkmann2001-12-131-4/+2
| | | | | | | | | | | | | | | | | | | | | 2001-12-14 Marcus Brinkmann <[email protected]> * assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH. assuan.h: Define ASSUAN_LINELENGTH. agent/ 2001-12-14 Marcus Brinkmann <[email protected]> * query.c (LINELENGTH): Removed. (agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH. sm/ 2001-12-14 Marcus Brinkmann <[email protected]> * call-agent.c (LINELENGTH): Removed. (gpgsm_agent_pksign): Use ASSUAN_LINELENGTH, not LINELENGTH. (gpgsm_agent_pkdecrypt): Likewise.
* Decryption does now workWerner Koch2001-12-061-8/+32
|
* Started with decryption stuffWerner Koch2001-12-051-350/+113
|
* * gpgsm.c: New option --agent-programWerner Koch2001-11-261-4/+12
| | | | | | * call-agent.c (start_agent): Allow to override the default path to the agent.
* * keydb.c (keydb_add_resource): Create keyboxWerner Koch2001-11-261-4/+4
| | | | | | * keylist.c (gpgsm_list_keys): Fixed non-server keylisting. * server.c (rc_to_assuan_status): New. Use it for all commands.
* The agent does now work and read the secret keys from the directoryWerner Koch2001-11-251-0/+556
~/.gnupg-test/private-keys-v1.d/<keygrip-as-20-byte-hex-number>. I will post a sample key to gpa-dev.