aboutsummaryrefslogtreecommitdiffstats
path: root/agent/minip12.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-06-17Avoid using the protect-tool to import pkcs#12.Werner Koch1-2360/+0
2010-03-10Merged jnlib into common.Werner Koch1-3/+3
2010-01-08Add dummu option --passwd for gpg.Werner Koch1-1/+1
Collected changes.
2008-12-05Add option --card-timeout.Werner Koch1-1/+1
Add a new attribyte to app-openpgp.c Fix two portability bugs. Have gpg-connect-agent autostart gpg-agent on W32.
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-18/+13
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch1-9/+9
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-03-20Allow setting of the passphrase encoding of pkcs#12 files.Werner Koch1-6/+65
New option --p12-charset.
2007-03-19 * PKCS#12 import now tries several encodings in case the passphraseWerner Koch1-24/+155
was not utf-8 encoded.
2006-11-20Made some PIN pads work.Werner Koch1-3/+4
Some cleanups for 64 bit CPUs.
2006-10-23Allow importing of web.de generated p12 filesWerner Koch1-4/+4
2006-07-24Create bag attributes so that Mozilla will accept these files.Werner Koch1-8/+79
Tested with using a CAcert generated certificate.
2006-07-21Support import from TrustedMIME (i.e. from simple keyBags)Werner Koch1-44/+191
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2006-06-20Add MAC t P12 files.Werner Koch1-6/+60
2005-12-16Fixed importing certs created by newer versions of Mozilla.Werner Koch1-48/+237
2005-11-28Preparing an interim releaseWerner Koch1-6/+15
2005-09-16Fixed padding in pkcs#12 Werner Koch1-2/+12
2005-09-09Fixed yesterdays change. Importing to Outlook seems to work now.Werner Koch1-2/+2
2005-09-09Bug fixes and ssh support for the BELPIC.Werner Koch1-2/+2
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-1140/+0
2005-06-29(data_sign): Removed empty statement.Werner Koch1-4/+8
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-0/+2
char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
2005-04-20.Werner Koch1-3/+6
2004-09-29* minip12.c (parse_bag_encrypted_data): Print error if a badWerner Koch1-6/+21
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-02-19* protect-tool.c: New options --have-cert and --prompt.Werner Koch1-118/+441
(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.
2004-02-13Removed debugging cruft.Werner Koch1-11/+11
2004-02-13(main): New options --no-fail-on-exist, --homedir.Werner Koch1-7/+0
(store_private_key): Use them here.
2004-02-12Include cmacros.am for common flags.Werner Koch1-38/+69
(libexec_PROGRAMS): Put gpg-protect-tool there.
2004-02-10* minip12.c (parse_bag_encrypted_data): Finished implementation.Werner Koch1-35/+164
(p12_parse): Add callback args. * protect-tool.c (import_p12_cert_cb): New. (import_p12_file): Use it.
2004-02-04Fixed a build bug (straw letter in sm/import.c) and updated the documentation.Werner Koch1-4/+59
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+1140
'GNUPG-1-9-BRANCH'.
2003-07-28Adjusted for use with current libgcrypt (1.1.42).Werner Koch1-14/+8
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-29/+29
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-1146/+0
'GNUPG-1-9-BRANCH'.
2002-06-28* protect-tool.c (export_p12_file): New.Werner Koch1-15/+356
(main): New command --p12-export. * minip12.c (create_final,p12_build,compute_tag_length): New. (store_tag_length): New.
2002-06-27* Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch1-1/+1
* findkey.c (agent_write_private_key,agent_key_from_file) (agent_key_available): Use GNUPG_PRIVATE_KEYS_DIR constant. * gpg-agent.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * protect-tool.c (store_private_key): New. (import_p12_file): Store the new file if requested. (main): New options --force and --store. * gpg-agent.c (main): Set a global flag when runing detached. * query.c (start_pinentry): Pass the list of FD to keep in the child when not running detached. * call-scd.c (start_scd): Ditto.
2002-06-25* protect-tool.c (rsa_key_check): New.NEWPG-0-3-8Werner Koch1-0/+805
(import_p12_file): New. (main): New command --p12-import. * minip12.c, minip12.h: New.