aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * server.c (option_handler): Allow to use -2 for "send all certsWerner Koch2002-02-259-6/+69
| | | | | | | except the root cert". * sign.c (add_certificate_list): Implement it here. * certpath.c (gpgsm_is_root_cert): New.
* * keybox-search.c (blob_cmp_mail): Use case-insensitive compareWerner Koch2002-02-252-20/+65
| | | | | | | | | | | | | | because mail addresses are in general case insensitive (well RFC2822 allows for case sensitive mailbox parts, but this is in general considired a Bad Thing). Add additional substr parameter to allow for substring matches within the mail address. Change all callers to pass this along. (blob_cmp_name): Likewise but do the case-insensitive search only in sub string mode. (keybox_search): Implement MAILSUB and SUBSTR mode. * stringhelp.c (ascii_memcasemem): New.
* * certpath.c (check_cert_policy): New.Werner Koch2002-02-196-11/+280
| | | | | | | | (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.
* * findkey.c (unprotect): Show an error message for a bad passphrase.Werner Koch2002-02-182-1/+6
|
* * certpath.c (gpgsm_validate_path): Ask the agent to add theWerner Koch2002-02-184-15/+77
| | | | | | certificate into the trusted list. * call-agent.c (gpgsm_agent_marktrusted): New.
* Some experimental code - don't use it.Werner Koch2002-02-184-16/+315
|
* More error codesWerner Koch2002-02-183-0/+23
|
* A bunch of new features. Allow empty responses on an inquiry.Werner Koch2002-02-186-18/+62
|
* * command.c (cmd_marktrusted): Implemented.Werner Koch2002-02-185-10/+161
| | | | | | | | * trustlist.c (agent_marktrusted): New. (open_list): Add APPEND arg. * query.c (agent_get_confirmation): New.
* * fopencookie.c: Dummy function.Werner Koch2002-02-127-4/+288
| | | | | | | | * vasprintf.c: New. Taken from binutils-2.9.1 and dropped all non ANSI-C stuff. Merged with asprintf version. * no-pth.c: New.
* * assuan-buffer.c (writen,readline) [USE_GNU_PT]: Use pth_read/write.Werner Koch2002-02-123-1/+23
| | | | | * assuan-socket-server.c (accept_connection) [USE_GNU_PTH]: Ditto.
* 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-0710-21/+79
| | | | | | | | | | | | | | | | 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.
* * decrypt.c (gpgsm_decrypt): Bail out after an decryption error.Werner Koch2002-02-063-45/+45
| | | | | | | | * server.c (reset_notify): Close input and output FDs. (cmd_encrypt,cmd_decrypt,cmd_verify,cmd_sign.cmd_import) (cmd_genkey): Close the FDs and release the recipient list even in the error case.