viktor.tarasov
4f52e7bba8
reader-pcsc::pcsc_transmit() add log message with the reader's name
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3857 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-17 12:12:17 +00:00
viktor.tarasov
b41fcbedd9
logs: time stamp; dump_hex() with the static output buffer
...
- time stamp in the log messages: for Windows 1msec resolution, otherwise 1sec;
- one more dump hex function, to be easily inserted into the formatted message.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3856 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-17 11:11:05 +00:00
martin
11e9cab070
Fix C coding style to please visual studio. By João Poupino.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3855 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-16 21:41:40 +00:00
martin
1444f8db95
Fix windows build
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3854 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-16 20:45:26 +00:00
martin
e931fdfd06
Fix C coding style
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3853 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-16 20:35:15 +00:00
alonbl
ff8912c600
Remove plugindir as plugin was removed
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3852 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-16 07:32:46 +00:00
martin
c5d2618ea3
Estonian eID: fix charset
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3851 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-15 18:08:10 +00:00
martin
c398f55373
Allow to turn off CT-API support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3850 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-15 18:03:04 +00:00
viktor.tarasov
a8dc5bdeef
opensc-explorer::do_apdu() number of bytes in printed message 'Sending'
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3849 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-14 21:55:17 +00:00
martin
2005bc2e92
Move branches/martin/0.12 to trunk
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3848 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 19:28:13 +00:00
martin
df20fe72e1
merge [3823:3844/trunk]
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3845 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 19:01:21 +00:00
s
64152699b5
remove dead code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3844 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 14:52:25 +00:00
martin
533a33521f
* Update opensc-tool and opensc-explorer man pages
...
* Remove not implemented pksign/pkdecrypt commands from opensc-explorer. Use pkcs15-crypt instead.
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3843 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 14:51:32 +00:00
s
2fe567e94d
add support for GOSTR3410 keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3842 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 14:45:33 +00:00
martin
0eac0fb14c
Fix #58 : properly document "pkcs15-init -T"
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3841 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 12:25:18 +00:00
martin
ca0976ba6f
Remove signer and related configure elements
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3840 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:48:17 +00:00
martin
38ba3ad18d
Remove card->finish() functions that do nothing
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3839 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:32:12 +00:00
martin
84de38855f
Fix a compiler warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3838 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:23:16 +00:00
martin
2dfbf4f934
Fix compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3837 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:21:58 +00:00
martin
e95b0662f6
Fix compiler warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3836 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:21:39 +00:00
martin
bc1d4c4e06
Fix compiler warnings and a typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3835 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:21:09 +00:00
martin
b34a1a6128
Remove unused variables & fix line endings.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3834 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:19:46 +00:00
martin
e5b644c2f7
Remove unused variables
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3833 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:15:00 +00:00
martin
48924f3222
Remove unused variables
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3832 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:14:10 +00:00
martin
bb9423c5f9
Remove unusued variables
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3831 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:13:35 +00:00
martin
3a3c0b3fe6
Remove unused variables
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3830 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:13:14 +00:00
martin
a869431ff6
Remove unused variables
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3829 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:13:01 +00:00
martin
17b7e1b041
Remove unused variables
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3828 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:12:43 +00:00
martin
1a6f8b7468
Remove unused variables
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3827 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:12:14 +00:00
martin
684e9b20ba
Convert newlines to unix style, remove compiler warnings.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3826 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:10:44 +00:00
s
5dc6a35aa8
mix tab/space character [3822]
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3825 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 09:53:22 +00:00
martin
3ea5bb7987
Merge [3804:3822/trunk]
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3824 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 09:45:21 +00:00
jps
4f316b2f2a
patch to improve wesctos pkcs15init, submitted by Francois Leblanc
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3823 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 09:12:31 +00:00
jps
babc99bf58
To enable keygeneration in Firefox and opensc-pksc11.so when using smartcards that require different keybobjects for signing and encryption (CardOS)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3822 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-12 16:03:51 +00:00
viktor.tarasov
a06c8ef67f
set default ID style to 'native'
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3821 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-11 20:18:41 +00:00
viktor.tarasov
1df1bbb0c8
Intrinsic ID: after Aleksey Samsonov's code revision:
...
- memory leaks after 'memory allocation' and other errors;
- coding style;
- simplify code.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3820 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-11 18:47:14 +00:00
martin
15b1ba0cd7
Fix two bugs, noticed by Mats Andersson
...
http://www.opensc-project.org/pipermail/opensc-devel/2009-November/012817.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3819 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-11 08:42:24 +00:00
viktor.tarasov
4dc884574e
Intrinsic ID for the cryptographic objects:
...
with the new pkcs15 profile option 'pkcs15-id-style'
the method to calculate the unique object ID for the cryptographic
objects 'private key', 'public key' and 'certificate x509'
can be choosen from the followings:
- actually existing one byte ID: 0x45 + 'number of existing object of given type';
- 'Mozilla style': SHA1(rsa.modulus) or SHA(dsa.pub);
- 'rfc2459': 'Subject Key Identifier'.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3818 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-10 18:51:24 +00:00
viktor.tarasov
81cc9d605f
free card applications when erasing card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3817 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-10 16:25:58 +00:00
s
3603a22917
fix: probable endless loop
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3816 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-10 15:07:40 +00:00
s
9c9e21e9cc
add support for GOSTR3410 keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3815 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-10 14:42:29 +00:00
s
16d9d8ff43
pkcs15-tool.c:71: warning: comma at end of enumerator list
...
pkcs15-tool.c: In function 'print_pin_info':
pkcs15-tool.c:911: warning: comparison of unsigned expression >= 0 is always true
pkcs15-tool.c: In function 'test_update':
pkcs15-tool.c:1254: warning: comparison between signed and unsigned
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3814 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-10 12:55:55 +00:00
s
ed93bfa548
corrected option_help according to options
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3813 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-10 12:38:09 +00:00
martin
36f26b6357
Do not duplicate reader name in private structure.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3812 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-10 10:05:51 +00:00
s
e06b054369
add support for uaToken S
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3811 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-09 14:14:00 +00:00
viktor.tarasov
a0acb90b48
Oberthur card driver: useless assignments
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3810 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-07 21:04:53 +00:00
viktor.tarasov
435862ee1e
suppress errors when verifying PIN status
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3809 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-07 20:45:16 +00:00
viktor.tarasov
8681d963ab
Oberthur pkcs15init: update Oberthur's 'token info' file
...
when initializing token or creating user PIN
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3808 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-07 19:38:15 +00:00
viktor.tarasov
004f23f102
Oberthur card driver: new style for PIN commands;
...
allow verifying of the PIN status;
when verifying SOPIN, try firstly the local one.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3807 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-07 10:26:20 +00:00
viktor.tarasov
76f3cfd79c
invalid e-mail address
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3806 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-06 10:06:40 +00:00