vtarasov
226bfaac74
pkcs15: add few attributes to the biometric authentication data type ...
...
to make happy VS compiler
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5552 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-05 16:51:36 +00:00
vtarasov
efc5760646
win32: build also static version the pkcs11 module
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5551 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-05 16:14:11 +00:00
vtarasov
d888b3fd55
pkcs15: use general 'AuthenticationObject' instead of 'PinObject'
...
now the attributes of the previous 'pin-info' data type are included
as the sub-type attributes of the general 'auth-info' data .
It will allow to include support of the 'biometricTemplate' and 'authKey' authentication types.
http://www.opensc-project.org/pipermail/opensc-devel/2011-May/016655.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5550 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-05 15:46:25 +00:00
vtarasov
32d035a9ad
AuthentIC: when returning PIN info set the 'tries-left' data to the 'non-initialized' value
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5549 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-05 15:13:06 +00:00
vtarasov
f45f22ca73
westcos: resolve signed/unsigned comparison warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5548 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-05 15:05:58 +00:00
vtarasov
f9b1a1e102
pkcs15: in 'TokenInfo' data the 'serialNumber' attribut is optional
...
If 'serialNumber' attribute is absent in the 'TokenInfo' data,
in the parsed data, this attribute will be set to the value of the card's serial.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5547 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-05 15:01:15 +00:00
andre
a9eba2b205
libopensc: Remove unused parameter 'file_out' in function 'sc_pkcs15_read_file'.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5546 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-05 11:08:36 +00:00
vtarasov
c74d33d0b0
coding style: tiny indent style issue
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5545 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 19:43:10 +00:00
vtarasov
f53b952176
doc: pkcs11-tool: precise description of the options to select a slot
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5544 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 19:29:15 +00:00
vtarasov
a479c368a6
pkcs11-tool: allow non-interactive change of User/SO PIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5543 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 19:20:11 +00:00
vtarasov
438cf4b2d4
RuToken-ECP: profile option to allow the reset of User PIN with SoPIN
...
http://www.opensc-project.org/pipermail/opensc-devel/2011-May/016716.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5542 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 19:06:43 +00:00
vtarasov
da0a77b8c0
authentic: spelling of message
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5541 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 18:22:42 +00:00
vtarasov
d43e692e98
pkcs11: implement changing of SoPIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5540 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 18:17:02 +00:00
vtarasov
35bd07ed5e
pkcs11: with 'init-pin-in-SO-session' PIN unblock style, try to set PIN when PUK value is not available
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5539 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 18:05:02 +00:00
vtarasov
36a85ffe5b
iso7816: resolve problem 'r5237 breaks support for Belgian eID', thanks to Jean-Pierre.
...
http://www.opensc-project.org/pipermail/opensc-devel/2011-May/016703.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5538 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 17:28:37 +00:00
vtarasov
b3cbf5453e
pkcs11: resolve problem 'change 5421 breaks MIT Kerberos login', thanks to Douglas.
...
http://www.opensc-project.org/pipermail/opensc-devel/2011-June/016734.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5537 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 17:20:10 +00:00
vtarasov
3095f5479f
pkcs11-tool: resolve compiler warning '"OPENSSL_VERSION_NUMBER" is not defined', thanks to Ludovic
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5536 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 17:12:12 +00:00
vtarasov
d5679f58af
warning: resolve 'suggest parentheses around operand' compiler warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5535 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 17:00:36 +00:00
vtarasov
f026db6f84
compile warnings: resolve 'comparison between signed and unsigned' compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5534 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 16:59:39 +00:00
andre
31a56bb374
pkcs11-tool.c: Remove useless parameter 'slot' from a lot of function prototypes.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5533 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-01 18:51:26 +00:00
vtarasov
9ac55871fb
pkcs15init: oberthur: cleanup compiler warnings
...
http://www.opensc-project.org/pipermail/opensc-devel/2011-May/016724.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5532 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-01 17:15:31 +00:00
andre
e966cc1e6e
dir.c: In function ‘update_single_record’:
...
dir.c:318: warning: unused parameter ‘file’
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5531 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-01 16:54:40 +00:00
andre
dfbb55777c
pkcs15.c: In function ‘__sc_pkcs15_search_objects’:
...
pkcs15.c:981: warning: unused variable ‘ctx’
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5530 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-31 15:12:31 +00:00
andre
7dff44ae53
framework-pkcs15.c: In function ‘set_gost_params’:
...
framework-pkcs15.c:1892: warning: comparison between signed and unsigned
framework-pkcs15.c:1902: warning: comparison between signed and unsigned
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5529 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-31 15:09:01 +00:00
vtarasov
185e3f8259
pkcs11-tool: replace 'slot-label' argument with the two new ones -- 'slot-description' and 'token-label'...
...
the main difference between 'slot-description' and 'token-label' is that
the first one is unique in any case,
the second one can be the same for more then one slots.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5528 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-30 14:47:50 +00:00
vtarasov
8931231396
pkcs11-tool: show CKA_VALUE of the GOST public key object
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5527 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-30 13:28:16 +00:00
vtarasov
40cf9a5cca
libopensc: reverse data to sign when signing with the GOST key
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5526 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 19:23:18 +00:00
vtarasov
2e8df6d226
libopensc: eliminate repetetive debug messages
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5525 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 18:50:33 +00:00
vtarasov
b21e04f42a
libopensc: avoid warning "missing braces around initializer"
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5524 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 18:47:44 +00:00
vtarasov
bf830d63da
gost: when decoding public key, add explicit key params
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5523 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 18:45:00 +00:00
vtarasov
a41a9c3f82
pkcs11: pkcs15 framework support for the import of the GOST key
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5522 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 18:35:34 +00:00
vtarasov
e81c174372
pkcs15-tool: encode GOST public key with the key parameters ...
...
.. so that it can be used with the OpenSSL tools
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5521 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 18:25:04 +00:00
vtarasov
a9e9aaee78
gost: GOST key parameters data type, encode gost parameters procedure
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5520 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 18:18:43 +00:00
vtarasov
1dd7d1fdeb
pkcs11: debug title for GOSTRPARAMS
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5519 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 18:07:18 +00:00
vtarasov
4d2428378d
pkcs11-tool: CKA_VALUE of imported GOST key has to be presented in the little endian order
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5518 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 17:55:26 +00:00
vtarasov
71b1f55f7c
pkcs15-init: use general function to reverse memory buffer
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5517 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 17:49:00 +00:00
vtarasov
dce63c8bfc
libopensc: new exported function to reverse memory buffer
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5516 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 17:47:54 +00:00
pk
4f9924eae8
added news about TOCS-driver to NEWS-file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5515 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 12:04:18 +00:00
vtarasov
a045543cc1
minidriver: unused variable
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5514 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 11:50:13 +00:00
vtarasov
319cb6f071
minidriver: when reading 'cardid' file return the content of 'cardid' file ...
...
'cardid' size is 16 bytes.
It's initialized by the 'empty-cardid' value (00-0F) overwritten (from left) by the last 16 (or less) bytes
of the card's serial.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5513 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-29 11:48:50 +00:00
vtarasov
ee4f346b07
pkcs15init oberthur: avoid warnings 'signed/unsigned mismatch'
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5512 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-28 22:47:05 +00:00
martin
2d43c601e9
Remove unused code: sc_pkcs15init_get_label()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5511 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-28 22:14:14 +00:00
martin
215c133ba0
libopensc: remove more traces of software token/non-native private key related code.
...
pkcs15-wrap.c can be removed. Clarified/changed the meaning of "insecure" flag to pkcs15-init tool,
which will be needed to explicitly enforce the creation of a key which does not require a PIN.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5510 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-28 22:14:07 +00:00
vtarasov
7179778e22
authentic: avoid warning C4018: signed/unsigned mismatch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5509 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-28 19:30:26 +00:00
pk
c97fc2e719
support for TCOS3 IdKey cards and fix for bug #256
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5508 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-28 14:24:27 +00:00
andre
661cc0dd47
libopensc: Remove the somewhat mysterious flag SC_CARD_CAP_NO_FCI.
...
It's solely purpose was to get opensc-explorer to work with card-belpic (r2118, r2119).
Relates to #296 .
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5507 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-27 12:33:52 +00:00
andre
487a7ab372
sc-test.c: In function ‘sc_test_init’:
...
sc-test.c:80: warning: comparison between signed and unsigned
sc-test.c:94: warning: comparison between signed and unsigned
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5506 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-27 09:29:01 +00:00
andre
4a2dfa6822
pkcs11-tool.c: In function ‘sign_data’:
...
pkcs11-tool.c:1253: warning: comparison between signed and unsigned
pkcs11-tool.c: In function ‘write_object’:
pkcs11-tool.c:1777: warning: unused variable ‘type’
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5505 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-27 09:24:09 +00:00
andre
bbcb867a8f
card-openpgp.c: In function ‘pgp_enumerate_blob’:
...
card-openpgp.c:584: warning: comparison between signed and unsigned
card-openpgp.c: In function ‘pgp_card_ctl’:
card-openpgp.c:1036: warning: unused variable ‘priv’
card-openpgp.c: In function ‘pgp_init’:
card-openpgp.c:272: warning: ‘child’ may be used uninitialized in this function
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5504 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-27 08:49:43 +00:00
martin
2facf39042
NightlyBuilds: add NEWS file entries for r5502 and r5468 to r5499
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5503 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-24 20:46:14 +00:00