aj
beb55b8104
not sure it is a good idea to ignore the return value.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2898 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-26 10:00:23 +00:00
aj
8fa4891bde
no idea how to fix, at least document it.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2895 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-26 09:59:27 +00:00
aj
96cb7fa722
fix off by one bug.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2893 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-26 09:58:47 +00:00
aj
1810d4d3fb
tcos updates by Peter Koch.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2891 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-24 18:41:57 +00:00
aj
347c5b0496
remove a function that is no longer used at all.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2888 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-18 15:15:45 +00:00
aj
807b4c7275
improve regression tests: cleanup failed/ and out/ folder.
...
specify path to opensc-pkcs11.so module.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2887 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-18 15:15:02 +00:00
aj
5adad6431a
Lindent so the result is easier to read / diff.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2886 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-18 08:16:21 +00:00
aj
0222683058
Douglas E. Engert wrote:
...
The attached change to card-piv.c is need to recognize a
valid PIV card applet. All of the previous test cards would
return in response to a SELECT the full AID where as they
should have returned the the PIX portion of the AID. The newest
test cards are now doing this correctly.
This change will recognize either as a PIV applet.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2885 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-11 20:50:13 +00:00
sth
435d8ac62b
There doesn't seem to be a need to leave the certs (and CDF) unprotected. In case there do are problems, please revert this change
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2884 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-06 18:41:12 +00:00
sth
9409c278df
Set the user pin reference when writing a cert. If not, there's a problem with the onepin profile option: the CDF (and certs) will be created with NONE ACs instead of ACs that refer to the user PIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2883 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-06 18:38:20 +00:00
sth
95163a2678
protect certs by default
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2882 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-06 18:35:01 +00:00
nils
83c7dc9045
return an error if offset is too large
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2881 c6295689-39f2-0310-b995-f0e70906c6a9
2006-04-03 10:42:00 +00:00
aj
41d35027cc
install signer in libdir like everything else.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2880 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-24 23:54:12 +00:00
nils
b791b1d6bc
check the private flag of public key objects; patch supplied by Albert Solana <asb@c3po.es>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2879 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-24 10:55:33 +00:00
martin
1180345d75
Threading: Reader locking can fail as well
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2878 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-24 08:06:19 +00:00
nils
8be396fee3
add function sc_reset() to reset a card; patch supplied by Josep Monés Teixidor <jmt@c3po.es>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2877 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-22 21:44:09 +00:00
nils
40e6c491ed
fix ACs; patch supplied by njustin@idealx.com
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2876 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-22 17:12:00 +00:00
aj
158fce9147
simply the revision, drop the m4 code.
...
it didn't turn out the way I wanted it
(does not contain the _repository_/_branch_ revision).
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2875 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-16 21:37:25 +00:00
nils
8e170f689e
initial support for the Swedish NIDEL card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2873 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-09 20:35:19 +00:00
ludovic.rousseau
2b8a2f4d90
sc_pkcs15_parse_tokeninfo() and sc_pkcs15_encode_tokeninfo() now use a
...
(sc_pkcs15_tokeninfo_t *) instead of struct (sc_pkcs15_card *)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2872 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-07 07:22:58 +00:00
ludovic.rousseau
6737a4dc5c
__sc_ui_read_pin(): use "%lu" and (unsigned long) cast to print a (size_t)
...
value (size_t is 32 or 64 bits depending on the platform)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2871 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-06 09:21:22 +00:00
aj
34098ec173
small fix - \& was left from cut&paste from a man page.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2870 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-06 07:58:10 +00:00
aj
5e617f93d7
document --unblock-pin / -u option.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2869 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-05 19:43:38 +00:00
nils
383602b6fe
- move logging to the reader driver
...
- log APDUs only if DEBUG is defined (sensitive APDUs should
never be logged and we cannot know whether a APDU is sensitive
or not => enable APDU logging only in a non-production debug
build)
- remove OPENSC_DONT_LOG_SENSITIVE configure option as it's
needed anymore
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2868 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-03 22:56:41 +00:00
nils
beb9d34db0
add some doxygen comments
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2867 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-03 21:10:02 +00:00
nils
d893720f03
add note
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2866 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-02 18:24:45 +00:00
nils
3b25ca27e9
remove useless code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2865 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-02 16:17:05 +00:00
ludovic.rousseau
d1c9ee9087
sc_pkcs15emu_actalis_init(): define 3 variables only #ifdef HAVE_ZLIB_H
...
since they are used in this case only
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2864 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-02 14:16:52 +00:00
ludovic.rousseau
984d652072
__sc_ui_read_pin(): use %lu instead of %u to avoid a warning: format
...
'%u' expects type 'unsigned int', but argument 3 has t ype 'size_t'
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2863 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-02 14:12:39 +00:00
nils
0bc5cb45fe
mark second parameter of sc_disconnect_card() as unused
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2862 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-01 22:34:54 +00:00
martin
e1ef4ec241
Remove the disconnect action from internal reader api
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2861 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-01 09:45:09 +00:00
nils
b93d6b1562
use absolute paths when caching files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2860 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-27 20:11:33 +00:00
nils
5b0119ca6d
change name + fix warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2859 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-23 19:15:06 +00:00
nils
126595bb07
fix some warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2858 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-23 18:43:14 +00:00
martin
0a9912233d
Fix for a segfaul. Patch provided by Albert Solana Berengu
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2857 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-23 13:40:03 +00:00
martin
530dc0916d
Add an example config entry for PIV cards and remove a card matching black hole
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2856 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-23 11:49:22 +00:00
martin
9213a29a34
Small fixes for windows compilation (Visual Studio Express 2005)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2855 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-23 11:02:24 +00:00
martin
c3e85106c7
Add a section for tokend
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2854 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-23 11:01:13 +00:00
nils
b2d4d6a9bc
NIST 800-73-1 certs aren't protected by a pin anymore; patch supplied by Douglas E. Engert <deengert@anl.gov>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2853 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-23 08:10:07 +00:00
nils
149b5cf187
use sc_format_oid()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2852 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-22 20:35:57 +00:00
nils
8410084f0e
fix warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2851 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-17 21:06:31 +00:00
martin
aa5d081c3a
* Also delete .pdb files on windows when doing a clean
...
* Call directly internal pcsc transmit method for pcsc pinpad calls.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2850 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-17 11:22:21 +00:00
nils
99a28c35ba
add support a TCOS card used at the uni Giessen; this is still experimental
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2849 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-16 21:45:53 +00:00
nils
9c42d1dc8c
use sc_ctx_get_reader() etc. instead of of accessing the structure members directly
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2848 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-15 17:29:40 +00:00
nils
a092e863b8
fix some warnings + cleanup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2847 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-15 17:05:05 +00:00
nils
5c6f8d0ea9
fix warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2846 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-15 08:10:45 +00:00
nils
7dbbade0f6
fix warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2845 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-15 08:07:29 +00:00
nils
1f65fbe10e
a unblocking pin could be used for authentication as well
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2844 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-14 22:46:54 +00:00
nils
a00caa5cc7
undo commit in pkcs15-tcos.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2843 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-14 22:41:02 +00:00
nils
b051b08584
add initial PIV card support; patch supplied by Douglas E. Engert <deengert@anl.gov>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2842 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-14 22:09:10 +00:00