aboutsummaryrefslogtreecommitdiffstats
path: root/agent/pksign.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* More agent support for gpg.Werner Koch2010-10-131-2/+0
|
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-011-1/+3
| | | | | | A couple of forward ported changes. Doc updates.
* s/CACHE_MODE_IMPGEN/CACHE_MODE_NONCE/.Werner Koch2010-09-011-6/+10
| | | | | Prepare for more use cases of the cache nonce.
* Import OpenPGP keys into the agent.Werner Koch2010-08-311-6/+20
|
* More changes on the way to remove secring.gpg.Werner Koch2010-04-211-2/+106
|
* Fix bug #1053Werner Koch2009-05-151-4/+7
| | | | | Add option --qualitybar to command GET_PASSPHRASE.
* Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch2008-09-291-1/+1
|
* Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch2008-09-231-1/+1
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Add TLS hash modeWerner Koch2006-10-061-8/+63
|
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-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.
* New debugging optionhs, updates to the manual.Werner Koch2005-06-071-9/+9
|
* * call-scd.c (init_membuf, put_membuf, get_membuf): Removed. WeWerner Koch2004-12-201-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-25 Moritz Schulte <[email protected]>Moritz Schulte2004-09-261-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.
* * protect-tool.c (main): Setup the used character set.Werner Koch2004-02-181-20/+8
| | | | | | | | * gpg-agent.c (main): Ditto. * gpg-agent.c (set_debug): New. New option --debug-level. (main): New option --gpgconf-list.
* * command.c (cmd_setkeydesc): New.Werner Koch2004-02-131-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*.
* * findkey.c (agent_key_from_file): Now return an error code soWerner Koch2004-01-161-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.
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-121-2/+3
|
* * configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch2003-09-021-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-20 Timo Schulz <[email protected]>Timo Schulz2003-08-201-2/+2
| | | | | | * pksign.c (do_encode_md): Allocate enough space. Cast md byte to unsigned char to prevent sign extension.
* Forgot to remove the unsued variable.Timo Schulz2003-08-141-2/+0
|
* 2003-08-14 Timo Schulz <[email protected]>Timo Schulz2003-08-141-47/+22
| | | | | | * pksign.c: do_encode_md: Due to the fact pkcs#1 padding is now in Libgcrypt, use the new interface.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+185
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-183/+0
| | | | 'GNUPG-1-9-BRANCH'.
* Minor fixesWerner Koch2002-08-091-2/+2
|
* Signing using a PKCS15 smartcard does work. How to create such a cardWerner Koch2002-03-051-24/+33
| | | | | | is of course a different thing. Note, that you need to create the shadowed-private-key file manually.
* * pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch2002-03-041-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.
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-281-18/+30
| | | | | no real code yet.
* Added decryption, some code cleanupWerner Koch2001-12-051-79/+35
|
* The agent does now work and read the secret keys from the directoryWerner Koch2001-11-251-35/+69
| | | | | | ~/.gnupg-test/private-keys-v1.d/<keygrip-as-20-byte-hex-number>. I will post a sample key to gpa-dev.
* As promised a agent which already does some things. Not very usefulWerner Koch2001-11-251-3/+136
| | | | | yet but may be of help for using it in ther contexts.
* Friedman is setting up his deskWerner Koch2001-11-241-0/+39