aboutsummaryrefslogtreecommitdiffstats
path: root/sm/export.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-12-06* exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.Werner Koch1-111/+20
* gpgsm.c (run_protect_tool) [_WIN32]: Disabled. * import.c (popen_protect_tool): Simplified by making use of gnupg_spawn_process. (parse_p12): Likewise, using gnupg_wait_process. * export.c (popen_protect_tool): Ditto. (export_p12): Ditto.
2004-09-29* minip12.c (parse_bag_encrypted_data): Print error if a badWerner Koch1-4/+29
passphrase has been given. * gpg-agent.texi (Invoking GPG-AGENT): Add a few words about the expected pinentry filename. * import.c (parse_p12): Write an error status line for bad passphrases. Add new arg CTRL and changed caller. * export.c (export_p12): Likewise.
2004-06-06* configure.ac: Require libksba 0.9.7.Werner Koch1-1/+1
* certreqgen.c (get_parameter_uint, create_request): Create an extension for key usage when requested. * gpgsm.c (main): Install emergency_cleanup also as an atexit handler. * verify.c (gpgsm_verify): Removed the separate error code handling for KSBA. We use shared error codes anyway. * export.c (export_p12): Removed debugging code. * encrypt.c (gpgsm_encrypt): Put the session key in to secure memory.
2004-04-26* call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)Werner Koch1-1/+1
(gpgsm_agent_genkey, gpgsm_agent_istrusted) (gpgsm_agent_marktrusted, gpgsm_agent_havekey) (gpgsm_agent_passwd): Add new arg CTRL and changed all callers. (start_agent): New arg CTRL. Send progress item when starting a new agent. * sign.c (gpgsm_get_default_cert, get_default_signer): New arg CTRL to be passed down to the agent function. * decrypt.c (prepare_decryption): Ditto. * certreqgen.c (proc_parameters, read_parameters): Ditto. * certcheck.c (gpgsm_create_cms_signature): Ditto.
2004-04-13* misc.c (setup_pinentry_env): New.Werner Koch1-0/+2
* import.c (popen_protect_tool): Call it. * export.c (popen_protect_tool): Call it.
2004-03-03(gpgsm_export): Make sure that we don't export moreWerner Koch1-3/+11
than one certificate.
2004-03-02(create_duptable, destroy_duptable)Werner Koch1-35/+143
(insert_duptable): New. (gpgsm_export): Avoid duplicates.
2004-02-19* protect-tool.c: New options --have-cert and --prompt.Werner Koch1-1/+370
(export_p12_file): Read a certificate from STDIN and pass it to p12_build. Detect a keygrip and construct the filename in that case. Unprotcet a key if needed. Print error messages for key formats we can't handle. (release_passphrase): New. (get_passphrase): New arg PROMPTNO. Return the allocated string. Changed all callers. * minip12.c: Revamped the build part. (p12_build): New args CERT and CERTLEN. * simple-pwquery.c (agent_open): Don't mangle INFOSTR. * export.c (export_p12, popen_protect_tool) (gpgsm_p12_export): New. * gpgsm.c (main): New command --export-secret-key-p12.
2003-12-17Replaced deprecated type names.Werner Koch1-5/+5
* certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul. (gpgsm_dump_serial): Ditto. * decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-1/+1
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+249
'GNUPG-1-9-BRANCH'.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-5/+5
2003-06-05A small step for GnuPG but a huge leap for error codes.Werner Koch1-2/+2
(Sorry, it does not build currently - I need to check it in to avoid duplicate work.)
2003-06-03Make use of libgpg-errorWerner Koch1-2/+3
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-248/+0
'GNUPG-1-9-BRANCH'.
2002-06-25* certdump.c (print_dn_part): Always print a leading slash,Werner Koch1-26/+16
removed NEED_DELIM arg and changed caller. * export.c (gpgsm_export): Print LFs to FP and not stdout. (print_short_info): Ditto. Make use of gpgsm_print_name. * server.c (cmd_export): Use output-fd instead of data lines; this was actually the specified way.
2002-06-19* call-agent.c (learn_cb): Use log_info instead of log_error onWerner Koch1-0/+17
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.
2002-03-21* export.c: New.Werner Koch1-0/+241
* gpgsm.c: Add command --export. * server.c (cmd_export): New.