aboutsummaryrefslogtreecommitdiffstats
path: root/sm/encrypt.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-12-02s/AES/AES128/ in diagnostics and --list-configWerner Koch1-1/+1
2010-11-26Remove superfluous parameter.Werner Koch1-1/+1
Make self-check interval larger
2010-03-08Replace use stdio by estream functions.Werner Koch1-12/+16
2009-06-02Fix for bug#1066.Werner Koch1-15/+3
A couple of minor changes.
2008-06-23Code cleanup.Werner Koch1-14/+12
2007-12-12Support DSA2.Werner Koch1-2/+18
Support Camellia for testing. More audit stuff.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-03-19Allow export to work on systems without funopen/fopencookie.Werner Koch1-1/+1
2007-02-26Add new SVN only file README.maintWerner Koch1-2/+2
doc/ * gpg.texi (GPG Configuration): Document envvar LANGUAGE. (GPG Configuration Options): Document show-primary-uid-only. g10/ * gpg.c (main): Add verify option show-primary-uid-only. * options.h (VERIFY_SHOW_PRIMARY_UID_ONLY): New. * mainproc.c (check_sig_and_print): Implement it. * encr-data.c (decrypt_data): Correctly test for unknown algorithm. * import.c (check_prefs): Ditto. * keyedit.c (show_prefs): Ditto. * mainproc.c (proc_symkey_enc): Ditto.
2006-12-212006-12-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+1
* encrypt.c (encrypt_dek): Release S_CIPH.
2006-09-06The big Assuan error code removal.Werner Koch1-5/+5
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-550/+0
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-6/+6
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.
2004-06-06* configure.ac: Require libksba 0.9.7.Werner Koch1-2/+2
* 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-02-13* encrypt.c (init_dek): Check for too weak algorithms.Werner Koch1-2/+17
* import.c (parse_p12, popen_protect_tool): New. * base64.c (gpgsm_create_reader): New arg ALLOW_MULTI_PEM. Changed all callers. (base64_reader_cb): Handle it here. (gpgsm_reader_eof_seen): New. (base64_reader_cb): Set a flag for EOF. (simple_reader_cb): Ditto.
2003-12-17* server.c (gpgsm_server): Add arg DEFAULT_RECPLIST.Werner Koch1-3/+9
(cmd_encrypt): Add all enrypt-to marked certs to the list. * encrypt.c (gpgsm_encrypt): Check that real recipients are available. * gpgsm.c (main): Make the --encrypt-to and --no-encrypt-to options work. Pass the list of recients to gpgsm_server. * gpgsm.h (certlist_s): Add field IS_ENCRYPT_TO. (opt): Add NO_ENCRYPT_TO. * certlist.c (gpgsm_add_to_certlist): New arg IS_ENCRYPT_TO. Changed all callers and ignore duplicate entries. (is_cert_in_certlist): New. (gpgsm_add_cert_to_certlist): New.
2003-12-17Replaced deprecated type names.Werner Koch1-7/+7
* certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul. (gpgsm_dump_serial): Ditto. * decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
2003-12-16* encrypt.c (init_dek): Use gry_create_nonce for the IV; there isWerner Koch1-2/+2
not need for real strong random here and it even better protect the random bits used for the key.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-21/+19
2003-08-202003-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+3
* encrypt.c (encode_session_key): Allocate enough space. Cast key byte to unsigned char to prevent sign extension. (encrypt_dek): Check return value before error.
2003-08-142003-08-14 Timo Schulz <[email protected]>Timo Schulz1-78/+19
* encrypt.c (encode_session_key): Use new Libgcrypt interface.
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+550
'GNUPG-1-9-BRANCH'.
2003-07-28Adjusted for use with current libgcrypt (1.1.42).Werner Koch1-1/+1
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-21/+21
2003-06-03Make use of libgpg-errorWerner Koch1-17/+18
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-549/+0
'GNUPG-1-9-BRANCH'.
2002-03-12* verify.c (gpgsm_verify): Detect certs-only message.Werner Koch1-20/+9
2002-03-05* gpgsm.c, gpgsm.h: Add local_user.Werner Koch1-41/+2
* sign.c (gpgsm_get_default_cert): New. (get_default_signer): Use the new function if local_user is not set otherwise used that value. * encrypt.c (get_default_recipient): Removed. (gpgsm_encrypt): Use gpgsm_get_default_cert. * verify.c (gpgsm_verify): Better error text for a bad signature found by comparing the hashs.
2002-02-07* certlist.c (gpgsm_add_to_certlist): Check that the specifiedWerner Koch1-3/+2
name identifies a certificate unambiguously. (gpgsm_find_cert): Ditto. * server.c (cmd_listkeys): Check that the data stream is available. (cmd_listsecretkeys): Ditto. (has_option): New. (cmd_sign): Fix ambiguousity in option recognition. * gpgsm.c (main): Enable --logger-fd. * encrypt.c (gpgsm_encrypt): Increased buffer size for better performance. * call-agent.c (gpgsm_agent_pksign): Check the S-Exp received from the agent. * keylist.c (list_cert_colon): Filter out control characters.
2002-01-10* base64.c (gpgsm_create_writer): Allow to set the object nameWerner Koch1-0/+1
* server.c (cmd_genkey): New. * certreqgen.c: New. The parameter handling code has been taken from gnupg/g10/keygen.c version 1.0.6. * call-agent.c (gpgsm_agent_genkey): New.
2001-12-18Changes to be used with the new libksba interface.Werner Koch1-2/+8
libgcrypt-1.1.5 is required (cvs or tarball)
2001-12-15* decrypt.c (gpgsm_decrypt): Write STATUS_DECRYPTION_*.Werner Koch1-0/+2
* sign.c (gpgsm_sign): Write a STATUS_SIG_CREATED.
2001-12-14Fixed test keyWerner Koch1-1/+1
2001-12-14Fixed test keyWerner Koch1-1/+1
2001-12-11Implemented encryption in server mode.Werner Koch1-29/+40
Allow to specify a recipient on the commandline There is still a default hardwired recipient if none has been set.
2001-12-10--encrypt does now work for a hardwired key.Werner Koch1-103/+421
2001-11-27--armor does now produce PEM format.Werner Koch1-1/+7
2001-11-27* base64.c: New. Changed all other functions to use this insteadWerner Koch1-150/+40
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.
2001-11-26* keydb.c (keydb_add_resource): Create keyboxWerner Koch1-4/+11
* keylist.c (gpgsm_list_keys): Fixed non-server keylisting. * server.c (rc_to_assuan_status): New. Use it for all commands.
2001-11-24Added new directory common to enable sharing of some code and errorWerner Koch1-3/+3
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
2001-11-24Signing does now work. There is no secret key management yet, so youWerner Koch1-9/+12
should set GPGSM_FAKE_KEY=1 before you try to verify a signature created by gpgsm --sign or the SIGN server command.
2001-11-23Just a Backup. We can now write out a basic signature which in turnWerner Koch1-0/+356
exhibits a bug in --verify.