aboutsummaryrefslogtreecommitdiffstats
path: root/sm/import.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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