aboutsummaryrefslogtreecommitdiffstats
path: root/sm/import.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * import.c (print_imported_summary): Cleaned up. Print newWerner Koch2002-08-211-20/+62
| | | | | | | | | not_imported value. (check_and_store): Update non_imported counter. (print_import_problem): New. (check_and_store): Print error status message. * server.c (get_status_string): Added STATUS_IMPORT_PROBLEM.
* * gpgsm.c (main): Use the log file only in server mode.Werner Koch2002-08-201-7/+106
| | | | | | | | | | * import.c (print_imported_summary): New. (check_and_store): Update the counters, take new argument. (import_one): Factored out core of gpgsm_import. (gpgsm_import): Print counters. (gpgsm_import_files): New. * gpgsm.c (main): Use the new function for import.
* * call-agent.c (learn_cb): Special treatment when the issuerWerner Koch2002-08-161-1/+1
| | | | | certificate is missing.
* * server.c (gpgsm_status2): Insert a blank between all optionalWerner Koch2002-07-031-1/+1
| | | | | | | | arguments when using assuan. * server.c (cmd_recipient): No more need for extra blank in constants. * import.c (print_imported_status): Ditto. * gpgsm.c (main): Ditto.
* * keydb.c (keydb_store_cert): Add optional ar EXISTED and changedWerner Koch2002-07-021-33/+58
| | | | | | | | | | | | all callers. * call-agent.c (learn_cb): Print info message only for real imports. * import.c (gpgsm_import): Moved duplicated code to ... (check_and_store): new function. Added magic to import the entire chain. Print status only for real imports and moved printing code to .. (print_imported_status): New.
* * import.c (gpgsm_import): Print an STATUS_IMPORTED.Werner Koch2002-06-261-1/+8
| | | | | * gpgsm.c: --debug-no-path-validation does not take an argument.
* * 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.
* * import.c (gpgsm_import): Add error messages.Werner Koch2002-05-231-1/+15
|
* * import.c (gpgsm_import): Try to identify the type of input andWerner Koch2002-05-211-17/+83
| | | | | | | | | | 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.
* * verify.c (gpgsm_verify): Detect certs-only message.Werner Koch2002-03-121-2/+8
|
* sm/Werner Koch2002-03-061-0/+2
| | | | | | | | | | | | | | | | | * 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.
* * import.c (gpgsm_import): Just do a basic cert check beforeWerner Koch2002-01-151-28/+2
| | | | | | | | | | | | | | | | 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.
* * base64.c: New. Changed all other functions to use this insteadWerner Koch2001-11-271-223/+10
| | | | | | | 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.
* Added new directory common to enable sharing of some code and errorWerner Koch2001-11-241-2/+2
| | | | | | numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
* Write status output, make verify work in server mode.Werner Koch2001-11-191-1/+1
|
* gpgsm --verify does now work like gpg including theWerner Koch2001-11-191-10/+178
| | | | | --enable-special-filenames option.
* We have reached a state where we are able to import certs andWerner Koch2001-11-131-183/+17
| | | | | check the certification path.
* we are now able to check self-signed certificatesWerner Koch2001-11-101-41/+153
|
* Implemented server main loop and started with import command.Werner Koch2001-11-071-0/+213