Werner Koch
983f91937c
Fix for extended length Le in decipher
2009-09-03 10:57:23 +00:00
Werner Koch
e57d2a8630
Ask for the keysize when generating a new card key.
2009-08-05 11:24:43 +00:00
Marcus Brinkmann
f64a746f47
2009-07-29 Marcus Brinkmann <marcus@g10code.com>
...
* ccid-driver.c (print_pr_data): Fix 64 bit compat problem.
2009-07-29 16:19:48 +00:00
Werner Koch
5bae927e49
Workaround for SCR3320
2009-07-24 11:01:17 +00:00
Werner Koch
0792525d22
Make bug reporting address easier changeable.
2009-07-21 14:21:05 +00:00
Werner Koch
e49d808e1f
Add code to better handle unplugging of a reader.
2009-07-16 15:54:59 +00:00
Werner Koch
816d0d83ef
Add new prototypes
2009-07-13 09:59:50 +00:00
Werner Koch
d0d4931e00
* ccid-driver.c (struct ccid_driver_s): Add fields last_progress,
...
progress_cb and progress_cb_arg.
(ccid_set_progress_cb): New.
(print_progress): New.
(ccid_transceive): Call print_progress for wait time extensions.
* apdu.c (struct reader_table_s): Add field set_progress_cb.
(new_reader_slot): Clear that field.
(open_ccid_reader): Set it to ..
(set_progress_cb_ccid_reader): ... new fucntion.
* app.c (print_progress_line): New.
(lock_reader): Add arg CTRL to set a progress callback and
change all callers to provide it.
(unlock_reader): Remove the progress callback.
2009-07-13 09:59:22 +00:00
Werner Koch
806b0acad7
Better reset the PIN verification stati after changing the key attributes.
2009-07-10 10:47:30 +00:00
Werner Koch
96abdb1386
Fix for card keys > 2048 bit.
2009-07-10 10:15:33 +00:00
Werner Koch
31084d6dc9
Support writing of existing keys with non-matching key sizes.
2009-07-09 14:54:18 +00:00
Werner Koch
5505a81a19
Add comment about Cherry.
2009-07-01 10:53:02 +00:00
Werner Koch
947440b275
OOps commited an old version. Fixed now.
2009-06-30 08:22:28 +00:00
Werner Koch
35d41eb927
small fix for Omnikey. Works with CM4040 now.
2009-06-30 08:19:28 +00:00
Werner Koch
9c47553308
Make soem omnikey readers work with extended length APDUs.
2009-06-29 20:54:00 +00:00
Werner Koch
d8d1ca6151
Reworked the estream memory buffer allocation.
...
Committed already posted patches for the v2 card.
2009-06-29 10:43:57 +00:00
Werner Koch
5f8acaccc0
Add readcert command.
...
fix reading large certificates.
2009-06-17 09:45:50 +00:00
Werner Koch
bdbeb0ac2b
app-openpgp changes
2009-06-09 19:11:28 +00:00
Werner Koch
db47caf05b
Typo fix. Updated German translation.
2009-06-08 09:11:27 +00:00
Werner Koch
e095815c4d
Make PIN changing code work for v2 cards.
2009-05-20 16:12:25 +00:00
Werner Koch
4fa261f8ec
Fix possible system freeze on Mac OS X.
2009-05-19 22:39:45 +00:00
Werner Koch
c4e92c3344
Made card key generate with backup key work for 2048 bit.
...
Improved card key generation prompts.
2009-05-15 19:26:46 +00:00
Werner Koch
5e208460a1
Improved smartcard robustness.
2009-05-13 17:12:00 +00:00
Werner Koch
a766a37290
Print keyid in gpg --list-packets.
...
Add some not yet code to app-nks.c
Changed batch mode expiration time computation
2009-05-13 11:42:34 +00:00
Werner Koch
eeca39ae50
More support for Netkey cards.
...
Small changes to teh CCID driver.
Support 2048 bit OpenPGP cards.
2009-05-08 15:07:45 +00:00
Werner Koch
9d6a2a60c2
Prepare for OpenPGP cards with extended length support.
2009-04-01 14:38:22 +00:00
Werner Koch
f8b4cd7650
Import/export of pkcs#12 now uses the gpg-agent directly.
...
Removed duplicated code (percent unescaping).
2009-04-01 10:51:53 +00:00
Werner Koch
98e1a75e20
Implement decryption for TCOS 3 cards.
2009-03-30 12:46:06 +00:00
Werner Koch
990585ad7d
Signing using Netkey 3 cards does now work.
2009-03-26 19:27:04 +00:00
Werner Koch
f07e762d68
Better syncronization of several smartcard sessions.
2009-03-24 11:40:57 +00:00
Werner Koch
36d681d98e
Fix keygrip computation for TCOS 3 cards.
...
Emit PROGRESS status lines during --learn-card.
2009-03-20 19:04:47 +00:00
Werner Koch
588a7c34bb
Make sure not to leak file descriptors if running gpg-agent with a
...
command. Restore the signal mask to solve a problem in Mono.
2009-03-19 07:09:31 +00:00
Werner Koch
a3b63ac1dc
Add server option with-ephemeral-keys.
...
Extend SCD LEARN command.
2009-03-18 11:18:56 +00:00
Werner Koch
1eeefbf7f7
Add new attribute KEY-ATTR.
2009-03-10 16:10:35 +00:00
Werner Koch
a9c317a95c
New gpg-agent command to list key information.
...
Gpgsm does now print the S/N of cards.
Consider ephemeral keys during listing an export.
2009-03-06 17:31:27 +00:00
Werner Koch
59d7a54e72
New PIN Callback attributes in gpg-agent.
...
Common prompts for keypad and simple card reader.
More support for Netkey cards; PIN management works now.
2009-03-05 19:19:37 +00:00
Werner Koch
2749c6bcd9
Fix segv.
2009-03-03 12:02:42 +00:00
Werner Koch
ec4a3eb3c5
Fix a gpg2 problem with removed cards.
...
Allow runtime conf change for scdaemon.
New commands for scdaemon.
2009-02-27 14:36:59 +00:00
Werner Koch
618afc4231
Fixed a nasty bug in scdaemon which led to a card reset if the card was
...
inserted during scdaemon startup and a connection was made before the
ticker had a chance to run. Add some stuff for better debugging.
2009-02-25 10:58:56 +00:00
Werner Koch
ae63e6da8d
Better debug output.
2009-02-24 20:41:44 +00:00
Werner Koch
310f45b618
Fix bug 1001.
...
Documentation updates.
2009-02-19 16:19:16 +00:00
Werner Koch
943f783de7
New scd getinfo subcommand deny_admin
2009-02-12 17:45:40 +00:00
Werner Koch
d1c2e66fbc
Change default gpgsm cipher back to 3DES.
...
Typo fixes.
2009-02-09 10:25:41 +00:00
Werner Koch
b8ffa0d947
Make --allow-admin the default.
2009-01-28 14:18:40 +00:00
Werner Koch
92cb022675
Return the balance of a Geldkarte.
2009-01-27 16:38:33 +00:00
Werner Koch
51e4831685
Add a Geldkarte gadget application.
...
Minor other changes.
2009-01-27 11:30:02 +00:00
Werner Koch
38251aa74f
Add a sample key.
...
Detect and show the card type.
2009-01-13 14:01:56 +00:00
Werner Koch
7ddd27a836
Minor fixes
2009-01-12 10:08:55 +00:00
Werner Koch
7784e86a66
Add limited support for NetKey 3.0 cards.
2009-01-08 19:56:30 +00:00
Werner Koch
511c7a89fc
Fix card change detection.
2009-01-05 19:56:52 +00:00
Werner Koch
7bd2e417d1
Fixed some card related problems.
2008-12-18 16:34:28 +00:00
Werner Koch
382d2f8efb
Minor fixes.
2008-12-09 08:58:02 +00:00
Werner Koch
78ff45c49e
Align ticker to the full or half second.
2008-12-08 19:10:42 +00:00
Werner Koch
041c764672
Add option --card-timeout.
...
Add a new attribyte to app-openpgp.c
Fix two portability bugs.
Have gpg-connect-agent autostart gpg-agent on W32.
2008-12-05 12:01:01 +00:00
Werner Koch
5dc1c18c3a
Print library versions according to GNU standards.
2008-11-18 18:01:03 +00:00
Werner Koch
aec79fc731
Minor cleanups.
2008-11-11 08:22:06 +00:00
Werner Koch
4019792423
Fixed the card removed with cached app bug. (Famous last fix).
2008-11-03 19:09:34 +00:00
Werner Koch
338ddd0bb6
Use bin2hex if possible.
2008-11-03 10:54:18 +00:00
Werner Koch
738f3c74b5
Cosmetic fix
2008-10-29 08:45:13 +00:00
Marcus Brinkmann
b04901468f
2008-10-21 Marcus Brinkmann <marcus@g10code.com>
...
* command.c (open_card): If connect error is SW_HOST_NO_CARD,
return a more descriptive error.
2008-10-21 13:53:08 +00:00
Werner Koch
0a5f742466
Marked all unused args on non-W32 platforms.
2008-10-20 13:53:23 +00:00
Werner Koch
0698c5169f
Use more warning options with modern GCCs.
...
Other minor changes.
2008-10-17 19:18:46 +00:00
Werner Koch
b519a52cea
Made scdaemon more robust on Windows.
2008-10-15 13:23:10 +00:00
Werner Koch
d0ca953014
SCD changes for PC/SC under W32.
2008-10-14 18:18:21 +00:00
Werner Koch
7d63aa42e5
Remove hacks which are not anymore needed since we now require Libgcrypt 1.4
2008-09-29 15:02:55 +00:00
Marcus Brinkmann
d62ca1bf4a
2008-09-28 Marcus Brinkmann <marcus@g10code.com>
...
* apdu.c (pcsc_get_status): Fix last change.
2008-09-28 12:48:41 +00:00
Werner Koch
96f16f736e
Finished support for v2 cards with the exception of secure messaging.
2008-09-25 10:06:02 +00:00
Werner Koch
761e997af5
Improvements for 2k keys.
2008-09-23 15:42:11 +00:00
Marcus Brinkmann
8368144fa7
Marcus Brinkmann <marcus@g10code.com>
...
* apdu.c (pcsc_get_status): Be more relaxed with the usable flag
under Windows.
M scd/ChangeLog
M scd/apdu.c
2008-09-23 13:04:42 +00:00
Werner Koch
2693db33d0
Untested fix for TPDU level exchange of large data (command chaining)
2008-09-23 10:36:09 +00:00
Werner Koch
f899b9683b
Support the Certifciate DO of the v2 OpenPGP cards.
2008-09-23 09:57:45 +00:00
Moritz Schulte
72110961f1
2008-08-30 Moritz <moritz@gnu.org>
...
* scdaemon.c (main): Use estream_asprintf instead of asprintf.
* command.c (update_reader_status_file): Likewise.
(cmd_serialno): Use estream_asprintf instead of asprintf
and xfree instead of free to release memory allocated
through (estream_)asprintf.
(cmd_learn): Likewise.
(pin_cb): Likewise.
* app-openpgp.c (get_public_key): Likewise.
2008-08-31 11:55:09 +00:00
Werner Koch
8e89644451
Fix new test for v2 cards.
2008-08-18 11:08:04 +00:00
Werner Koch
7b81a6b074
Print a 'f' for validated non-root certificates in gpgsm colon style listing.
...
Doc fixes.
2008-08-13 15:41:48 +00:00
Werner Koch
4fa68f839b
Fix APDU buffer problem under MAC OS.
2008-08-11 07:42:25 +00:00
Werner Koch
e27ca6e059
prompt change.
2008-07-30 10:25:18 +00:00
Werner Koch
9d5a10a453
Do not run the setuid test if running under as root proper.
...
Documentation fixes.
Some enhancements for the new OpenPGP Card.
2008-07-17 19:40:53 +00:00
Werner Koch
e253f0cb55
Minor fixes.
2008-06-26 19:21:45 +00:00
Werner Koch
a6a9181818
Start support of TCOS 3 cards.
...
Support restriction attribute.
Fix utf-8 printing problems.
Use AES by default.
2008-06-26 19:09:07 +00:00
Werner Koch
4817ff6528
Add support for the TCOS NullPIN feature.
2008-06-24 16:00:29 +00:00
Werner Koch
08a612f26e
W32 related keyserver fixes.
2008-04-21 19:13:36 +00:00
Werner Koch
6e17d90e09
Use default PIN flag
2008-04-21 07:53:20 +00:00
Werner Koch
4896f5f47c
Adjust for the changed Camellia draft.
...
W32 gettext changes.
Comment and typo fixes.
2008-04-18 09:20:25 +00:00
Werner Koch
a2ede07293
Preparing a release.
2008-03-26 09:20:40 +00:00
Marcus Brinkmann
2bdbb92939
2008-02-09 Marcus Brinkmann <marcus@g10code.de>
...
* scdaemon.c (main): Use CONFIG_FILENAME as filename if it is set
in gpgconf-list output.
2008-02-09 00:13:43 +00:00
Werner Koch
bae4b256c7
Support DSA2.
...
Support Camellia for testing.
More audit stuff.
2007-12-12 10:28:30 +00:00
Werner Koch
bc482052f8
Fix for bug 851.
...
Fixed auto generation of the stub key for the card.
Allow to encrypt toElgamal encryption keys of type 20.
2007-12-10 15:19:34 +00:00
Werner Koch
55ba204bfa
Started to implement the audit log feature.
...
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry.
Improved support for the quality bar.
Minor internal restructuring.
Translation fixes.
2007-11-19 16:03:50 +00:00
Werner Koch
ed7d2d72c6
Extended gpg-connect-agent.
...
New "GETINFO pid" command for scdaemon and gpg-agent.
2007-10-02 16:30:58 +00:00
Werner Koch
31c19d1d68
Use Assuan socket wrapper calls.
...
Made socket servers secure under Windows.
2007-10-01 14:48:39 +00:00
Marcus Brinkmann
1151d4d6ae
2007-09-14 Marcus Brinkmann <marcus@g10code.de>
...
* scdaemon.c (main): New variable STANDARD_SOCKET, which is 1 for
W32 targets. Use it for create_socket_name.
2007-09-14 17:23:34 +00:00
Werner Koch
74d344a521
Implemented the chain model for X.509 validation.
2007-08-10 16:52:05 +00:00
Werner Koch
ebd36b6344
Factored common gpgconf constants out
...
Fixed W32 compare_filenames
2007-08-02 18:12:43 +00:00
Werner Koch
c850656d28
Applied exact length hack.
2007-08-01 18:25:32 +00:00
Werner Koch
2f6b5cee0a
Last minute Makefile library reordering for the sake of non-GNU systems.
2007-07-05 20:11:11 +00:00
Werner Koch
4631bc8ddf
Fixed card key generation of gpg2.
...
Reveal less information about timings while generating a key.
2007-07-05 16:58:19 +00:00
Werner Koch
93d3811abc
Changed to GPLv3.
...
Removed intl/.
2007-07-04 19:49:40 +00:00
Werner Koch
f54b85bc2d
A bunch of minor changes for Windows.
2007-07-04 09:34:28 +00:00
Werner Koch
0b66f30d66
Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under Windows.
2007-06-21 18:44:48 +00:00
Werner Koch
09cc0ee7be
[w32] gpg-agent is now started automagically by gpgsm.
2007-06-20 11:16:42 +00:00