aboutsummaryrefslogtreecommitdiffstats
path: root/agent/pksign.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-01-13Fixed key generation with P-521. Confirmed that signature generation and ↵Andrey Jivsov1-7/+15
verification work.
2010-10-13More agent support for gpg.Werner Koch1-2/+0
2010-10-01Exporting secret keys via gpg-agent is now basically supported.Werner Koch1-1/+3
A couple of forward ported changes. Doc updates.
2010-09-01s/CACHE_MODE_IMPGEN/CACHE_MODE_NONCE/.Werner Koch1-6/+10
Prepare for more use cases of the cache nonce.
2010-08-31Import OpenPGP keys into the agent.Werner Koch1-6/+20
2010-04-21More changes on the way to remove secring.gpg.Werner Koch1-2/+106
2009-05-15Fix bug #1053Werner Koch1-4/+7
Add option --qualitybar to command GET_PASSPHRASE.
2008-09-29Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch1-1/+1
2008-09-23Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch1-1/+1
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-10-06Add TLS hash modeWerner Koch1-8/+63
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-185/+0
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-1/+1
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-06-07New debugging optionhs, updates to the manual.Werner Koch1-9/+9
2004-12-20* call-scd.c (init_membuf, put_membuf, get_membuf): Removed. WeWerner Koch1-5/+3
now use the identical implementation from ../common/membuf.c. * pksign.c (agent_pksign): Changed arg OUTFP to OUTBUF and use membuf functions to return the value. * pkdecrypt.c (agent_pkdecrypt): Ditto. * genkey.c (agent_genkey): Ditto. * command.c (cmd_pksign, cmd_pkdecrypt, cmd_genkey): Replaced assuan_get_data_fp() by a the membuf scheme. (clear_outbuf, write_and_clear_outbuf): New. * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
2004-09-262004-09-25 Moritz Schulte <[email protected]>Moritz Schulte1-40/+96
* agent.h: Declare: agent_pksign_do. (struct server_control_s): New member: raw_value. * pksign.c (do_encode_md): New argument: raw_value; support generation of raw (non-pkcs1) data objects; adjust callers. (agent_pksign_do): New function, based on code ripped out from agent_pksign. (agent_pksign): Use agent_pksign_do. * command.c (start_command_handler): Set ctrl.digest.raw_value.
2004-02-18* protect-tool.c (main): Setup the used character set.Werner Koch1-20/+8
* gpg-agent.c (main): Ditto. * gpg-agent.c (set_debug): New. New option --debug-level. (main): New option --gpgconf-list.
2004-02-13* command.c (cmd_setkeydesc): New.Werner Koch1-2/+2
(register_commands): Add command SETKEYDESC. (cmd_pksign, cmd_pkdecrypt): Use the key description. (reset_notify): Reset the description. * findkey.c (unprotect): Add arg DESC_TEXT. (agent_key_from_file): Ditto. * pksign.c (agent_pksign): Ditto. * pkdecrypt.c (agent_pkdecrypt): Ditto. Made CIPHERTEXT an unsigned char*.
2004-01-16* findkey.c (agent_key_from_file): Now return an error code soWerner Koch1-4/+3
that we have more detailed error messages in the upper layers. This fixes the handling pinentry's cancel button. * pksign.c (agent_pksign): Changed accordingly. * pkdecrypt.c (agent_pkdecrypt): Ditto. * command.c (cmd_passwd): Ditto.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-2/+3
2003-09-02* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch1-0/+4
* scdaemon.c, scdaemon.h: New option --pcsc-ccid. * ccid-driver.c, ccid-driver.h: New but far from being useful. * Makefile.am: Add above. * apdu.c: Add support for that ccid driver.
2003-08-202003-08-20 Timo Schulz <[email protected]>Timo Schulz1-2/+2
* pksign.c (do_encode_md): Allocate enough space. Cast md byte to unsigned char to prevent sign extension.
2003-08-14Forgot to remove the unsued variable.Timo Schulz1-2/+0
2003-08-142003-08-14 Timo Schulz <[email protected]>Timo Schulz1-47/+22
* pksign.c: do_encode_md: Due to the fact pkcs#1 padding is now in Libgcrypt, use the new interface.
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+185
'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-6/+6
2003-06-03Make use of libgpg-errorWerner Koch1-5/+5
2003-01-09Updated from latest NewPG projectWerner Koch1-3/+5
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-183/+0
'GNUPG-1-9-BRANCH'.
2002-08-09Minor fixesWerner Koch1-2/+2
2002-03-05Signing using a PKCS15 smartcard does work. How to create such a cardWerner Koch1-24/+33
is of course a different thing. Note, that you need to create the shadowed-private-key file manually.
2002-03-04* pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch1-1/+1
used and divert the operation in this case. * pkdecrypt.c (agent_pkdecrypt): Likewise * findkey.c (agent_key_from_file): Add optional arg shadow_info and have it return information about a shadowed key. * protect.c (agent_get_shadow_info): New. * protect.c (snext,sskip,smatch): Moved to * sexp-parse.h: new file. * divert-scd.c: New.
2002-02-28Changes needed to support smartcards. Well, only _support_. There isWerner Koch1-18/+30
no real code yet.
2001-12-05Added decryption, some code cleanupWerner Koch1-79/+35
2001-11-25The agent does now work and read the secret keys from the directoryWerner Koch1-35/+69
~/.gnupg-test/private-keys-v1.d/<keygrip-as-20-byte-hex-number>. I will post a sample key to gpa-dev.
2001-11-25As promised a agent which already does some things. Not very usefulWerner Koch1-3/+136
yet but may be of help for using it in ther contexts.
2001-11-24Friedman is setting up his deskWerner Koch1-3/+10
2001-11-24Added new directory common to enable sharing of some code and errorWerner Koch1-59/+0
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
2001-11-13We have reached a state where we are able to import certs andWerner Koch1-2/+52
check the certification path.
2001-11-07Implemented server main loop and started with import command.Werner Koch1-3/+17
2001-11-07Assuan server mode is now basically usableWerner Koch1-19/+2
2001-11-06First chunk of code for the Assuan libraryWerner Koch1-8/+22
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-1/+1
2000-01-27See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch1-3/+3
1999-03-20See ChangeLog: Sat Mar 20 11:53:40 CET 1999 Werner KochWerner Koch1-0/+1
1999-01-19See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner KochWerner Koch1-0/+1
1999-01-16See ChangeLog: Sat Jan 16 09:27:30 CET 1999 Werner KochWerner Koch1-20/+6
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-3/+3