aboutsummaryrefslogtreecommitdiffstats
path: root/sm/verify.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-02-07* certlist.c (gpgsm_add_to_certlist): Check that the specifiedWerner Koch1-1/+1
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-15* import.c (gpgsm_import): Just do a basic cert check beforeWerner Koch1-30/+5
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.
2001-12-20* verify.c (gpgsm_verify): Implemented non-detached signatureWerner Koch1-12/+37
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-20* base64.c (base64_reader_cb): Try to detect an S/MIME body part.Werner Koch1-46/+3
* certdump.c (print_sexp): Renamed to gpgsm_dump_serial, made global. (print_time): Renamed to gpgsm_dump_time, made global. (gpgsm_dump_serial): Take a real S-Expression as argument and print the first item. * keylist.c (list_cert_colon): Ditto. * keydb.c (keydb_search_issuer_sn): Ditto. * decrypt.c (print_integer_sexp): Removed and made callers use gpgsm_dump_serial. * verify.c (print_time): Removed, made callers use gpgsm_dump_time.
2001-12-18Changes to be used with the new libksba interface.Werner Koch1-7/+14
libgcrypt-1.1.5 is required (cvs or tarball)
2001-12-14* verify.c (gpgsm_verify): Add hash debug helpersWerner Koch1-0/+5
* sign.c (gpgsm_sign): Ditto. * base64.c (base64_reader_cb): Reset the linelen when we need to skip the line and adjusted test; I somehow forgot about DeMorgan. * server.c (cmd_encrypt,cmd_decrypt,cmd_sign,cmd_verify) (cmd_import): Close the FDs on success. (close_message_fd): New. (input_notify): Setting autodetect_encoding to 0 after initializing it to 0 is pretty pointless. Easy to fix.
2001-12-11Implemented encryption in server mode.Werner Koch1-1/+1
Allow to specify a recipient on the commandline There is still a default hardwired recipient if none has been set.
2001-12-10--encrypt does now work for a hardwired key.Werner Koch1-1/+1
2001-11-27* base64.c: New. Changed all other functions to use this insteadWerner Koch1-66/+16
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* keydb.c (keydb_add_resource): Create keyboxWerner Koch1-0/+34
* keylist.c (gpgsm_list_keys): Fixed non-server keylisting. * server.c (rc_to_assuan_status): New. Use it for all commands.
2001-11-25The agent does now work and read the secret keys from the directoryWerner Koch1-1/+0
~/.gnupg-test/private-keys-v1.d/<keygrip-as-20-byte-hex-number>. I will post a sample key to gpa-dev.
2001-11-24Added new directory common to enable sharing of some code and errorWerner Koch1-12/+12
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
2001-11-24Signing does now work. There is no secret key management yet, so youWerner Koch1-2/+6
should set GPGSM_FAKE_KEY=1 before you try to verify a signature created by gpgsm --sign or the SIGN server command.
2001-11-23Just a Backup. We can now write out a basic signature which in turnWerner Koch1-1/+1
exhibits a bug in --verify.
2001-11-20Map Libksba's OIDs to Libgcrypt digest algo numbers.Werner Koch1-11/+17
The latest Libgcrypt CVS version is needed.
2001-11-19Write status output, make verify work in server mode.Werner Koch1-2/+50
2001-11-19gpgsm --verify does now work like gpg including theWerner Koch1-8/+52
--enable-special-filenames option.
2001-11-16Base code for gpgsm --verify does workWerner Koch1-0/+374