aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * mkdtemp.c: Replaced byte by unsigned char because it is no longerWerner Koch2002-05-222-2/+7
| | | | | defined in gcrypt.h.
* * keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.Werner Koch2002-05-217-26/+345
| | | | | | | | | | | (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.
* * import.c (gpgsm_import): Try to identify the type of input andWerner Koch2002-05-214-19/+121
| | | | | | | | | | handle certs-only messages. * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors. (map_ksba_err): Add a few mappings. * configure.ac: We now require libgcrypt 1.1.7 and libksba 0.4.2.
* sm/Werner Koch2002-05-1411-11/+132
| | | | | | | | | | | | | | * 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/
* * errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.NEWPG-0-3-6Werner Koch2002-05-032-0/+7
|
* * certpath.c (gpgsm_validate_path): Added EXPTIME arg and changedWerner Koch2002-05-037-40/+96
| | | | | | | all callers. * verify.c (gpgsm_verify): Tweaked usage of log_debug and log_error. Return EXPSIG status and add expiretime to VALIDSIG.
* Debug message cleanups.Werner Koch2002-04-275-7/+18
|
* Debug message cleanups.Werner Koch2002-04-275-8/+22
| | | | | Fixed passphrase caching.
* * call-agent.c (start_agent): Make copies of old locales and checkWerner Koch2002-04-254-11/+37
| | | | | | | for setlocale. * configure.ac: Check for setlocale.
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-245-7/+25
| | | | | | | | | | * agent.h (agent_get_confirmation): Replace paramter prompt with two parameters ok and cancel. * query.c (agent_get_confirmation): Likewise. Implement this. * trustlist.c (agent_marktrusted): Fix invocation of agent_get_confirmation. * divert-scd.c (ask_for_card): Likewise.
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-242-17/+30
| | | | | | * call-agent.c (start_agent): Fix error handling logic so the locale is always correctly reset.
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-244-10/+57
| | | | | | | | * 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-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-249-8/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * certreqgen.c (gpgsm_genkey): Write status output on success.Werner Koch2002-04-182-0/+5
|
* released 0.3.5NEWPG-0-3-5Werner Koch2002-04-153-1/+43
|
* * gpgsm.c (main): Check ksba version.Werner Koch2002-04-152-2/+9
|
* * certpath.c (find_up): New to use the authorithKeyIdentifier.Werner Koch2002-04-153-8/+67
| | | | | Use it in all other functions to locate the signing cert..
* * command.c (cmd_pksign, cmd_pkdecrypt): Use a copy of the key ID.Werner Koch2002-04-152-2/+19
|
* * cryptmiss.c: New.Werner Koch2002-04-153-1/+45
|
* * scdaemon.c: New option --debug-sc N.Werner Koch2002-04-125-85/+78
| | | | | | | | | * card.c (card_open): set it here. * card-p15.c (p15_prepare_key): Factored out common code from ... (p15_sign, p15_decipher): here and made the decryption work the regular way.
* * certlist.c (cert_usable_p): New.Werner Koch2002-04-128-8/+149
| | | | | | | | | | | | (gpgsm_cert_use_sign_p,gpgsm_cert_use_encrypt_p): New. (gpgsm_cert_use_verify_p,gpgsm_cert_use_decrypt_p): New. (gpgsm_add_to_certlist): Check the key usage. * sign.c (gpgsm_sign): Ditto. * verify.c (gpgsm_verify): Print a message wehn an unsuitable certificate was used. * decrypt.c (gpgsm_decrypt): Ditto * keylist.c (print_capabilities): Determine values from the cert.
* * card.c (card_open): Return immediately when no reader is available.Werner Koch2002-04-102-0/+5
|
* * assuan-buffer.c (my_log_prefix): New. Use it for all i/o debug output.Werner Koch2002-04-092-8/+28
|
* * protect-tool.c (show_file): New. Used as default action.Werner Koch2002-04-092-1/+28
|
* yet another test certificateNEWPG-0-3-4Werner Koch2002-03-282-0/+61
|
* * certpath.c (gpgsm_walk_cert_chain): Be a bit more silent onWerner Koch2002-03-283-2/+10
| | | | | common errors.
* * keylist.c (list_cert_colon): Fixed listing of crt record; theWerner Koch2002-03-282-4/+31
| | | | | issuer is not at the right place. Print a chainingID.
* * card.c (card_open, card_close): Adjusted for changes in OpenSC.Werner Koch2002-03-284-64/+61
|
* * divert-scd.c (encode_md_for_card): Don't do the pkcs-1 padding,Werner Koch2002-03-282-34/+23
| | | | | | the scdaemon should take care of it. (ask_for_card): Hack to not display the trailing zero.
* * export.c: New.Werner Koch2002-03-216-8/+304
| | | | | | * gpgsm.c: Add command --export. * server.c (cmd_export): New.
* Added missing fileNEWPG-0-3-3Werner Koch2002-03-181-0/+1
|
* More stuff for SCs - don't expect them to work.Werner Koch2002-03-183-0/+671
|
* Doc fixes, moved some fizmes to TODO, fixed minor bugs.Werner Koch2002-03-1814-421/+208
|
* * decrypt.c (gpgsm_decrypt): Allow multiple recipients.Werner Koch2002-03-134-14/+33
|
* More error codesWerner Koch2002-03-121-0/+2
|
* * verify.c (gpgsm_verify): Detect certs-only message.Werner Koch2002-03-1211-41/+120
|
* * server.c (cmd_listkeys, cmd_listsecretkeys): Divert toNEWPG-0-3-2Werner Koch2002-03-063-25/+119
| | | | | | (do_listkeys): new. Add pattern parsing. * keylist.c (gpgsm_list_keys): Handle selection pattern.
* sm/Werner Koch2002-03-0616-85/+649
| | | | | | | | | | | | | | | | | * 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.
* * assuan-client.c (_assuan_read_from_server): Detect END.Werner Koch2002-03-062-0/+24
| | | | | (assuan_transact): Pass it to the data callback.
* Decryption using a Cryptoflex card does now work.Werner Koch2002-03-0611-30/+305
|
* We got more error codes than actual code ;-)Werner Koch2002-03-051-0/+1
|
* Well and some stuff to access the SC will be helpful. Note, that theWerner Koch2002-03-053-16/+116
| | | | | code requires the latest OpenSC CVS code.
* This file was missing.Werner Koch2002-03-051-0/+98
|
* Signing using a PKCS15 smartcard does work. How to create such a cardWerner Koch2002-03-055-29/+354
| | | | | | is of course a different thing. Note, that you need to create the shadowed-private-key file manually.
* * gpgsm.c, gpgsm.h: Add local_user.Werner Koch2002-03-059-55/+96
| | | | | | | | | | | * 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.
* Minor fixes; about to release 0.3.1NEWPG-0-3-1Werner Koch2002-03-042-1/+4
|
* * pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch2002-03-048-80/+198
| | | | | | | | | | | | used and divert the operation in this case. * pkdecrypt.c (agent_pkdecrypt): Likewise * findkey.c (agent_key_from_file): Add optional arg shadow_info and have it return information about a shadowed key. * protect.c (agent_get_shadow_info): New. * protect.c (snext,sskip,smatch): Moved to * sexp-parse.h: new file. * divert-scd.c: New.
* Added more code fragments.Werner Koch2002-03-043-29/+220
|
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-2823-106/+810
| | | | | no real code yet.
* * assuan-client.c (assuan_transact): Add 2 more arguments toWerner Koch2002-02-286-4/+242
| | | | | | | support status lines. Passing NULL yields the old behaviour. * assuan-handler.c (process_request): Flush data lines send without using the data fp.