Jakub Jelen
789dd16320
List human-readable version in the cardos-tool
2017-09-02 00:19:35 +02:00
Jakub Jelen
eeeefecf12
Add newly reported ATR for CardOS 5.3
2017-09-02 00:19:35 +02:00
Jakub Jelen
60dbebf511
Parse the ECC parameters from TokenInfo (CHOICE in AlgorithmInfo)
...
Fixes #1134
2017-09-02 00:19:35 +02:00
Jakub Jelen
eee4964d7f
The cardos driver supports also CardOS 5
...
CardOS M4 is confusing since it refers to the old card versions
2017-09-02 00:19:35 +02:00
Jakub Jelen
804f47b298
Do not add non-informative PIN to the token label
2017-09-02 00:17:15 +02:00
Jakub Jelen
d018855b9f
Get cardholder name from the first certificate
2017-09-02 00:17:15 +02:00
Jakub Jelen
56c8f59b25
Use shorter PIN name for default PIN to accomodate Card Holder name in future
2017-09-02 00:17:15 +02:00
Mouse
f0e703be49
Fix bug in pkcs11-tool (did not ASN.1-encode ECDSA-SHA-2 signature)
2017-08-29 12:05:16 +02:00
Mouse
1efc73fa2f
Fix typo in ECDSA-SHA384 for pkcs11-tool
2017-08-28 21:17:03 +02:00
Frank Morgner
555671b54d
sc_read_binary may return less bytes than requested
...
Note, that there are a number of card drivers that still use
`sc_read_binary` in the wrong way. Unfortunately, I don't have the time
to go through all of them.
Fixes https://github.com/OpenSC/OpenSC/issues/1112
2017-08-27 21:21:00 +02:00
Frank Morgner
172f320c9a
win32: Dedicated md/pkcs11 installation folders
...
Don't install non-permanent files (md/pkcs11) to system folder anymore.
2017-08-22 23:41:29 +02:00
Arnaud Fontaine
2765b7b1a0
Support for new MinInt agent card ( #1092 )
...
* Support for new MinInt agent card
This card uses the same ATR as the existing card, but the applet installed
does not have the same AID. This card actually works exactly as the
IASECC_SAGEM.
Unify iasecc_init for AMOS/SAGEM and MI cards
2017-08-22 01:13:18 +02:00
Jakub Jelen
41796ff0ed
[pkcs11-tool] Add SHA2 HMAC mechanisms
2017-08-17 12:02:28 +03:00
Jakub Jelen
d5647fe53d
[pkcs11-tool] Properly define RSA-PSS mechanisms
2017-08-17 12:02:28 +03:00
Frank Morgner
a1466f7395
sc-hsm: better error messages for optional files
2017-08-11 23:07:25 +02:00
Frank Morgner
a007ab7820
sc-hsm: New PIN commands for GoID 1.0
2017-08-11 23:07:25 +02:00
Jakub Jelen
e0eb5bf888
Do not call list_init() twice (amend 6bfb39454
)
2017-08-11 23:06:21 +02:00
Jakub Jelen
0dcf673296
CAC issues ( #1120 )
...
* cac: Make the retransmitted APDU valid by restoring the resplen
* cac: Check SWs for all the APDUs and report the errors to underlying layers
* cac: Fallback from CACv1 to CACv2 when CACv1 instruction is not recognized
for the lack of other pointers how to recongnize them
* avoid goto
2017-08-04 08:48:24 +02:00
Frank Morgner
9b772ebdc4
win32: switch back to OpenSSL 1.0.2 as default
...
AppVeyor changed the default version back to 1.0.2, see
https://github.com/appveyor/ci/issues/1671
2017-08-04 08:44:41 +02:00
Frank Morgner
7bc070ac67
win32: Load notification icons from Windows DLLs
...
fixes showing wrong icons when loaded as PKCS#11 module
2017-08-03 00:19:26 +02:00
Frank Morgner
956ad33e31
travis: fixed disabling of notifications for mingw
2017-08-03 00:16:58 +02:00
Frank Morgner
dcf9d23009
opensc-notify: fixed heavy load on OS X if no reader
...
Also, if too many errors are supported, opensc-notify will abort
2017-08-02 19:07:23 +02:00
Frank Morgner
496e2afc9e
reader-pcsc: allow no attached reader for notification
...
Return an error only on OS X, where PnP notification is not supported.
2017-08-02 19:07:16 +02:00
Frank Morgner
b0a85a1497
opensc-conf: Added notification text for GoID
2017-08-02 19:07:01 +02:00
Frank Morgner
e3604143d1
opensc.conf: added default notification texts
2017-08-02 19:04:52 +02:00
Frank Morgner
0fd92c6d79
opensc-notify: use a dedicated GUID on windows
2017-08-02 19:04:45 +02:00
Frank Morgner
dd4e96cb24
quick workarounds for notifications
2017-08-02 19:04:31 +02:00
Frank Morgner
ce3f27ff54
opensc-notify: notify for card events
...
... manually or in daemon mode
fixes compilation in MinGW/Travis CI
2017-08-02 19:04:09 +02:00
Frank Morgner
b2cde0f7fb
Windows: Added support for notifications
2017-08-02 19:03:16 +02:00
Frank Morgner
cd62c6cdf5
Linux: Added support for notifications
2017-08-02 19:02:21 +02:00
Frank Morgner
417a409406
md: allow user defined data for PIN pad dialog
...
- use UI framework
- timeout progressbar is running backwards
- cancelling is disabled by default
- removes card specific UI strings, use opensc.conf for that instead
- icon can be loaded by file
2017-08-02 19:02:13 +02:00
Frank Morgner
bf828014e5
macOS: Added support for notifications
...
- adds framework for user defined message strings
- automatically determine the system's language
2017-08-02 19:02:05 +02:00
Frank Morgner
0b3d7f25c8
md: use c89 style to silence VC2010
2017-08-02 19:01:31 +02:00
Frank Morgner
97e6218f6d
fixed CertPropSvc configuration on uninstallation
2017-08-02 19:01:23 +02:00
Frank Morgner
03418173b0
md: Delegate user to the PIN pad's "Cancel" button
...
Pressing the cancel button in the PIN pad dialog should not close the
dialog. The application will still wait for the request to complete
even if the dialog is gone. Instead, we tell the user to press the
cancel butten on the PIN pad if the reader does not support SCardCancel.
2017-08-02 19:01:14 +02:00
Frank Morgner
60e4f501cf
md: configure certificate propagation service
2017-08-02 19:01:04 +02:00
Frank Morgner
378bc1f381
md: Use card specifiic pin pad strings
...
implemented for sc-hsm SoC
2017-08-02 19:00:28 +02:00
Frank Morgner
bfa7aef042
md: fixed race condition when showin pin pad dialog
...
When the dialog is shown in a separate thread and the user removes the
card, both, the thread for the pin pad operation and the main thread
are trying to access the card and context handles. Even worse, the main
thread deletes the context handle, which may result in a segmentation
fault for the thread with the pin pad operation.
2017-08-02 19:00:19 +02:00
Frank Morgner
c57c9c36bf
md: added themable PIN-pad dialog
...
- themable in the sense of using OS native design
- user messages on PIN pad dialog are identical to Base CSP, which still displays the dialog for PIN entry if no PIN pad is available
- adds progress bar to dialog
- Uses Smartcard icon extracted from DDORes.dll
- requires windows vista/windows server 2008 or above
2017-08-02 19:00:07 +02:00
Frank Morgner
d6e1d2ae8e
md: Implemented German locale for PINPAD-dialog
2017-08-02 18:51:49 +02:00
Frank Morgner
61916be728
md: added cancel button to PINPAD GUI
...
... as required by minidriver spec
- Shows PIN purpose depending on the PIN type similar to Base CSP
2017-08-02 18:49:41 +02:00
HAMANO Tsukasa
3d187d9ac4
documentation for ignore_private_certificate parameter.
2017-08-02 11:23:43 +02:00
HAMANO Tsukasa
e25565d851
add public keys
2017-08-02 10:27:06 +02:00
HAMANO Tsukasa
da9484bd6b
fix trivial leak
2017-08-02 10:27:06 +02:00
HAMANO Tsukasa
977728a5bf
jpki: set user_consent flag
2017-08-02 10:27:06 +02:00
Frank Morgner
29589e8a92
AppVeyor: Drop VS2010 build
...
The pre-compiled OpenSSL binaries on AppVeyor are incompatible with
VS2010
2017-07-24 21:39:01 +02:00
Frank Morgner
78100508a8
AppVeyor: cache cngsdk.msi
2017-07-24 21:39:01 +02:00
Frank Morgner
7a39d6d058
build against OpenSSL 1.1.0 on Windows, by default
...
- build with AppVeyor's OpenSSL 1.1.0
- updates AppVeyor version of OpenPACE
Fixes https://github.com/OpenSC/OpenSC/issues/1108
2017-07-24 21:39:01 +02:00
Frank Morgner
1c7ef66ce7
fixed date of 0.17.0 in NEWS
...
Fixes https://github.com/OpenSC/OpenSC/issues/1105
https://github.com/OpenSC/OpenSC/releases/download/0.17.0/opensc-0.17.0.tar.gz
has been updated to include this fix.
2017-07-19 09:31:54 +02:00
Frank Morgner
def06389bf
sc-hsm: fixed building with --disable-sm
...
Closes https://github.com/OpenSC/OpenSC/pull/1103
2017-07-19 09:27:24 +02:00