Werner Koch
bda3467067
* protect-tool.c (main): Setup the used character set.
...
* gpg-agent.c (main): Ditto.
* gpg-agent.c (set_debug): New. New option --debug-level.
(main): New option --gpgconf-list.
2004-02-18 16:57:38 +00:00
Werner Koch
cbff0b05e5
* command.c (cmd_setkeydesc): New.
...
(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-02-13 17:06:34 +00:00
Werner Koch
671f696e55
* findkey.c (agent_key_from_file): Now return an error code so
...
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.
2004-01-16 17:39:58 +00:00
Werner Koch
dba40e5e45
Mainly changes to adjust for the changed KSBA API.
2003-11-12 15:17:44 +00:00
Werner Koch
936250aac9
* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.
...
* 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-09-02 19:06:34 +00:00
Timo Schulz
4498a55dfb
2003-08-20 Timo Schulz <twoaday@freakmail.de>
...
* pksign.c (do_encode_md): Allocate enough space. Cast md
byte to unsigned char to prevent sign extension.
2003-08-20 20:20:59 +00:00
Timo Schulz
aa6e3f7d28
Forgot to remove the unsued variable.
2003-08-14 19:10:12 +00:00
Timo Schulz
7abac1ad8e
2003-08-14 Timo Schulz <twoaday@freakmail.de>
...
* pksign.c: do_encode_md: Due to the fact pkcs#1 padding
is now in Libgcrypt, use the new interface.
2003-08-14 19:06:46 +00:00
Repo Admin
9ca4830a5b
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2003-08-05 17:11:04 +00:00
Repo Admin
82a17c9fb3
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2002-10-19 07:55:27 +00:00
Werner Koch
ebaf7d6e45
Minor fixes
2002-08-09 18:13:24 +00:00
Werner Koch
2fa73e781f
Signing using a PKCS15 smartcard does work. How to create such a card
...
is of course a different thing. Note, that you need to create the
shadowed-private-key file manually.
2002-03-05 17:14:45 +00:00
Werner Koch
9301f1cf69
* pksign.c (agent_pksign): Detect whether a Smartcard is to be
...
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-03-04 10:34:51 +00:00
Werner Koch
56341c289c
Changes needed to support smartcards. Well, only _support_. There is
...
no real code yet.
2002-02-28 11:07:59 +00:00
Werner Koch
37be272ed8
Added decryption, some code cleanup
2001-12-05 23:49:07 +00:00
Werner Koch
0e36c4c6a7
The agent does now work and read the secret keys from the directory
...
~/.gnupg-test/private-keys-v1.d/<keygrip-as-20-byte-hex-number>. I
will post a sample key to gpa-dev.
2001-11-25 18:23:06 +00:00
Werner Koch
922cedfe58
As promised a agent which already does some things. Not very useful
...
yet but may be of help for using it in ther contexts.
2001-11-25 14:53:10 +00:00
Werner Koch
1e443ad637
Friedman is setting up his desk
2001-11-24 18:52:02 +00:00