Frank Morgner
bd3cfcf5ef
fixed copy/paste error
2015-01-28 07:26:34 +01:00
Frank Morgner
b94c16394f
card-asepcos: fixed puk handling
2015-01-28 07:25:46 +01:00
Frank Morgner
734cb67924
fixed algo ref
2015-01-28 07:23:34 +01:00
Frank Morgner
3a557ad0dd
fixed parsing pace output data
2015-01-28 07:22:03 +01:00
Frank Morgner
92ad6eb63c
fixed determining ef type
2015-01-28 07:21:55 +01:00
Frank Morgner
7fb495ac31
fixed self assignment
2015-01-28 07:10:57 +01:00
Frank Morgner
ac0424e947
fixed pkcs11spy's version number
2015-01-28 07:09:02 +01:00
Frank Morgner
b9f1fb333c
fixed bad output data length
2015-01-28 07:07:33 +01:00
Frank Morgner
08fcfcc8f0
fixed wrong sizeof argument
2015-01-28 07:04:02 +01:00
Frank Morgner
87b2403673
fixed out of bounds access/write
2015-01-28 07:00:02 +01:00
Frank Morgner
68d86644fd
fixed use after free
2015-01-28 06:10:16 +01:00
Frank Morgner
b1b99ce7e5
fixed integer underflow
2015-01-28 06:03:52 +01:00
Frank Morgner
027e4a0867
fixed out of bounds read
2015-01-28 05:59:41 +01:00
Frank Morgner
7c497b324f
fixed not null terminated buffer
2015-01-28 05:51:00 +01:00
Frank Morgner
77752f442d
fixed unused value
2015-01-28 05:47:20 +01:00
Frank Morgner
fdd38f6e04
fixed copy into fixed size buffer
2015-01-28 04:30:40 +01:00
Frank Morgner
ea40322a30
added travis-ci configuration
2015-01-27 22:56:11 +01:00
Viktor Tarasov
02214dca86
coverity-scan: test build
2015-01-27 08:54:32 +01:00
Frank Morgner
b6a935a261
fixed memory leak
2015-01-24 23:12:47 +01:00
Frank Morgner
00330b2c79
fixed resource leak
2015-01-24 22:16:22 +01:00
Frank Morgner
6641cbf455
fixed potential string overflow
2015-01-24 20:17:26 +01:00
Frank Morgner
3f64d3a805
fixed bad memory allocation
2015-01-24 20:11:16 +01:00
Frank Morgner
9a4b58800b
fixed Printf arg type mismatch
2015-01-24 20:00:03 +01:00
Frank Morgner
fca3a37097
fixed truncated stdio return value
2015-01-24 19:47:01 +01:00
Frank Morgner
8df9896204
pass big parameter by reference
...
reported by coverity scan
2015-01-24 19:25:11 +01:00
Viktor Tarasov
c921316445
coverity-scan: connect to GitHub
2015-01-24 19:23:33 +01:00
Frank Morgner
1b53b59ed3
fixed potential use after free
...
reported by coverity scan
2015-01-24 19:22:39 +01:00
Frank Morgner
7a34c204c1
fixed dereference before null check
...
silence warnings reported by coverity-scan
2015-01-22 20:29:33 +01:00
viktorTarasov
b13bb3cbf5
Merge pull request #360 from mbrossard/pullrequest
...
PKCS#11 updates
2015-01-21 08:55:34 +01:00
Mathias Brossard
762d466b23
Add display of Elliptic Curve flags
2015-01-20 23:15:41 -08:00
Mathias Brossard
7a455f64c7
Support of additional type, mechanisms and attributes
2015-01-20 23:15:31 -08:00
Mathias Brossard
3dadd3fba1
Add some missing PKCS#11 values
2015-01-20 23:15:22 -08:00
Mathias Brossard
17c1cffb3d
Fix typo on CKF_EC_UNCOMPRESS
2015-01-20 23:14:50 -08:00
Mathias Brossard
c3a0bbc715
Update email and year
2015-01-20 23:14:36 -08:00
Frank Morgner
f143d7b73e
Merge pull request #346 from frankmorgner/pkcs11provider
...
use OpenSC as default PKCS#11 provider
2015-01-20 23:43:48 +01:00
Joachim Bauch
9543cdb121
Handle case where input data is already padded.
2015-01-20 16:52:30 +01:00
Joachim Bauch
87cc05c03f
Receive signature to temporary buffer, will be copied to output buffer later.
2015-01-20 16:49:11 +01:00
viktorTarasov
79f1539e68
Merge pull request #352 from tc-anssi/better-compliance
...
Better PKCS#11 compliance
2015-01-20 10:18:27 +01:00
Frank Morgner
28ea6bc607
added DEFAULT_PKCS11_PROVIDER to winconfig.h.in
2015-01-20 00:53:51 +01:00
Joachim Bauch
19bbfc76f5
Added initial support for STARCOS 3.4 (German D-Trust cards).
...
Code inspired by experimental STARCOS 3 driver by Martin Vogt:
http://article.gmane.org/gmane.comp.encryption.opensc.devel/9846
Supports `opensc-explorer`, `pkcs15-tool` and `pkcs15-crypt` (signing with PKCS#1 padding).
Cards available from `https://www.bundesdruckerei.de/en/768-d-trust-signature-cards `.
2015-01-19 18:04:12 +01:00
Thomas Calderon
91ddcfb514
PKCS15: remove redundant code for access_flags.
...
* With commit facaf59
, access_flags were set for most cards. A closer look
revealed that this is already done in `sc_pkcs15emu_add_rsa_prkey`.
Therefore, this removes the duplicated code for cards calling this function.
2015-01-16 10:03:13 +01:00
Thomas Calderon
ed87ea38b9
PKCS#11: Fetch real value of CKA_LOCAL for pubkey
...
* Fetch value from pub_info structure for CKA_LOCAL attribute.
2015-01-14 17:38:08 +01:00
Thomas Calderon
d727acb47a
PKCS#11: Remove inconsistent attributes
...
* Improve compliance related to PKCS#11 attribute fetching.
2015-01-14 17:22:43 +01:00
Thomas Calderon
4915eaa56b
Improve PKCS#11 compliance. Issue #335
...
* This simple patch allows for values of PKCS#11 attributes to be fetched
from the underlying card.
2015-01-05 14:00:22 +01:00
Thomas Calderon
bbedd4ef00
IAS-ECC: improve PKCS#11 compliance Issue #336
...
* Ensure CKA_ALWAYS_SENSITIVE and CKA_NEVER_EXTRACTABLE are only set when
generating the key on board, not reason to set them when importing a private
key.
2015-01-05 13:59:37 +01:00
Thomas Calderon
32d8173b4c
IAS-ECC: Improve detection Gemalto cards(Issue #343 )
...
* Improve IAS-ECC card detection using the ATRMask.
Previous commit was revert since work was not done in topic branch.
2014-12-29 16:09:06 +01:00
Philip Wendland
7e7a44acff
sc_asn1_put_tag - support larger tags
...
Enhance sc_asn1_put_tag to support larger tag names and larger tags.
Prior to this, sc_asn1_put_tag did only support tags with a length of at most 127 bytes and tag names of one byte.
2014-12-29 15:37:45 +01:00
Andreas Schwier
3961275d8c
Allow user to overwrite SO-PIN when using PIN-PAD reader
2014-12-29 13:39:37 +01:00
Thomas Calderon
facaf5969b
Improve PKCS#11 compliance. Issue #335
...
* Add default behavior for cards using the PKCS#15 emulation layer.
Hence, this patch provide a default value for access_flags compatible with
current OpenSC's behavior while allowing compatible cards to fetch the real
value from the card (IAS-ECC and AuthentIC).
2014-12-29 13:11:23 +01:00
Frank Morgner
291e9dab9e
use OpenSC as default PKCS#11 provider
...
closes #229
2014-12-19 22:27:34 +01:00