jps
c5c2366a0b
Revert 5558
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5562 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-08 07:58:51 +00:00
andre
a28bacf02c
libopensc: Reveal another Belpic hack introduced in r2117.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5561 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-08 07:35:03 +00:00
martin
7cc559ec39
MacInstaller: when building OpenSC.tokend, refresh remote branches before trying to switch.
...
Old checkout is used by build slaves, where new branches might not be visible
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5560 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-07 13:13:43 +00:00
martin
203eb871d6
MacInstaller: when building the engine on 10.6, extent the pkg-config search path with freshly built libp11 location instead of replacing the path.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5559 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-07 13:06:41 +00:00
Ludovic Rousseau
3920417e94
Merge remote branch 'upstream/master'
2011-06-07 15:02:54 +02:00
jps
b422872813
For CardOS 4.3B and 4.4, the Verify Retry Counter Package
...
can be loaded at ADMINISTRATION life cycle phase to change
the behavior of the VERIFY command in regard to return codes.
When that package is loaded, the PIN can be created with this
"verifyRC" flag in cardos.profile if the return code must be
ISO7816-4 compliant (63Cx with x being the value of the remaining
retry counter when required verification has failed).
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5558 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-07 12:44:53 +00:00
martin
f2da113f54
MacInstaller: r5550/[ d888b3fd55
] changed ABI, bump OpenSC.tokend branch revision.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5557 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-07 10:49:04 +00:00
Ludovic Rousseau
90272799f0
Fix compiler warning
...
Declare the function static to fix:
pkcs15-lib.c:1069: warning: no previous prototype for 'sc_pkcs15init_encode_prvkey_content'
2011-06-07 10:23:56 +02:00
martin
ffdcad49c5
NEWS: add details to existing lines
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5556 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-07 07:08:08 +00:00
andre
947cdad801
pkcs15.c: In function ‘compare_obj_flags’:
...
pkcs15.c:1115: warning: unused variable ‘data’
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5555 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-07 06:33:01 +00:00
vtarasov
f0ab932031
minidriver: 'PinObject-info' data type is changed for the 'AuthenticatioObject-info' data type
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5554 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-05 17:03:23 +00:00
vtarasov
d5b8a6cd5f
RuToken: 'use uninitialized variable' warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5553 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-05 16:53:07 +00:00
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