aboutsummaryrefslogtreecommitdiffstats
path: root/sm/export.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-4/+4
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
2011-04-25Fix regression in gpg's mail address parsing.Werner Koch1-2/+2
Since 2009-12-08 gpg was not able to find email addresses indicated by a leading '<'. This happened when I merged the user id classification code of gpgsm and gpg.
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-37/+36
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2010-11-26Remove superfluous parameter.Werner Koch1-3/+2
Make self-check interval larger
2010-06-21Implement export of pkcs#12 objects using a direct agent connection.Werner Koch1-241/+226
2010-06-09Merged Dirmngr with GnuPG.Werner Koch1-1/+2
A few code changes to support dirmngr.
2010-03-24More changes for CE. gpgsm does now build and run a keylisting.Werner Koch1-13/+11
2010-03-08Removed almost al dup calls.Werner Koch1-16/+7
2010-03-08Replace use stdio by estream functions.Werner Koch1-16/+15
2009-12-08Unification of the search descriptor usage.Werner Koch1-2/+2
2009-04-01Import/export of pkcs#12 now uses the gpg-agent directly.Werner Koch1-3/+9
Removed duplicated code (percent unescaping).
2009-03-06New gpg-agent command to list key information.Werner Koch1-12/+10
Gpgsm does now print the S/N of cards. Consider ephemeral keys during listing an export.
2008-10-23Try to start the agent before invoking the protect-tool.Werner Koch1-2/+9
2008-05-20Fix --output option used when with --export-secret-kety-p12.Werner Koch1-1/+1
2008-01-27[W32] Avoid extra console window when importing or exporting.Werner Koch1-1/+1
Fixes bug 875.
2007-08-29New command --check-programs for gpgconf.Werner Koch1-1/+1
2007-08-23Add new features to kbxutil.Werner Koch1-4/+18
Fixed bug 829 (can't encrypt if duplicated certs are in the keybox)
2007-08-22Updated estream.Werner Koch1-2/+3
More changes for Windows.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-1/+1
See the ChangeLogs for details.
2007-05-29Print passphrase encoding info only in PEM mode.Werner Koch1-1/+1
2007-03-20Allow setting of the passphrase encoding of pkcs#12 files.Werner Koch1-0/+11
New option --p12-charset.
2007-03-19Allow export to work on systems without funopen/fopencookie.Werner Koch1-22/+64
2006-10-02Fix for bug 537Werner Koch1-2/+2
2006-09-14Take advantage of newer gpg-error features.Werner Koch1-4/+4
2006-09-06The big Assuan error code removal.Werner Koch1-3/+3
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2005-09-09Bug fixes and ssh support for the BELPIC.Werner Koch1-0/+1
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-249/+0
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.