nils
0a23e307af
remove senseless and inconsistent checks + cleanup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2688 c6295689-39f2-0310-b995-f0e70906c6a9
2005-11-26 10:03:38 +00:00
nils
3ac1f94d2b
use unsigned int instead of uint16_t
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2686 c6295689-39f2-0310-b995-f0e70906c6a9
2005-11-25 19:11:09 +00:00
nils
3a803dfe3b
remove disabled code, request FCI only if a file object has been specified
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2685 c6295689-39f2-0310-b995-f0e70906c6a9
2005-11-20 21:53:34 +00:00
nils
ca4eba5861
fix ac for file deletion
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2683 c6295689-39f2-0310-b995-f0e70906c6a9
2005-11-17 10:23:35 +00:00
aj
f91e2339ce
add more cardos versions.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2681 c6295689-39f2-0310-b995-f0e70906c6a9
2005-11-01 22:34:22 +00:00
nils
b6c44d826c
use 1024 bit keys for testing to avoid problems with starcos tokens
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2680 c6295689-39f2-0310-b995-f0e70906c6a9
2005-11-01 08:31:59 +00:00
sth
a3e1bc8f4f
Let --assert-pristine work for Setcos 4.4 cards
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2679 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-31 19:31:45 +00:00
nils
f74eaee690
fix GET RESPONSE handling
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2678 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-31 18:44:18 +00:00
nils
ad647c66fa
use sc_ctx_get_reader
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2676 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-30 21:44:05 +00:00
nils
b325af7fac
remove deprecated pkcs15 emulation api. Add temporary wrappers for
...
the new functions in some pkcs15 emulation drivers.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2675 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-30 21:42:35 +00:00
nils
54046c6c1c
fix warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2674 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-30 21:17:07 +00:00
nils
43f0118740
summary: - improve support for extended APDUs
...
- add experimental support for command chaining
- simplify get_response prototype
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2673 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-30 20:37:03 +00:00
nils
95200e0f50
add pkcs15 emu function for data objects
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2672 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-30 19:55:21 +00:00
nils
47ee84e72d
add functions
...
void sc_ctx_suppress_errors_on(sc_context_t *ctx);
void sc_ctx_suppress_errors_off(sc_context_t *ctx);
to turn on/off error suppression (to avoid accessing
sc_context_t directly) and use it.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2671 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-30 19:08:06 +00:00
nils
fa65fbf285
summary: - add new function sc_format_oid to libopensc
...
- cleanup libopensc api
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2670 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-30 18:05:30 +00:00
martin
89cfac8735
Update pcsc pinpad code to latest pcsc-lite code, limit to pcsc-lite only.
...
Verify works fine, modify needs some debugging-testing.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2668 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-29 21:17:15 +00:00
nils
1f58981bcb
update from Sirio Capizzi <graaf@virgilio.it>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2667 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-28 18:10:15 +00:00
martin
e8f1c45ad8
This works better.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2666 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-27 21:39:42 +00:00
nils
242edbea0c
add another cardos ATR, supplied by graaf@virgilio.it
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2665 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-27 20:16:57 +00:00
aj
9d549e6aba
remove outdated files, improve documentation slightly.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2664 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-24 22:00:51 +00:00
nils
90d1b0cc9c
add support for the Italian Incrypto34 smartcard;
...
patch supplied by Giuseppe AMATO <giuseppe.amato@st.com>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2661 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-24 21:58:35 +00:00
aj
b8981542fb
fix man page installation.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2659 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-24 21:18:45 +00:00
martin
d59e1b282b
More comments on default config options
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2658 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-24 15:19:51 +00:00
aj
cd802fafe6
not compatible with 0.9.*. increse library major revision.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2656 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-21 20:12:16 +00:00
nils
0ad2a0782d
fix typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2655 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-21 19:40:37 +00:00
aj
8b65da70a1
prepare 0.10.0 release.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2652 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-21 17:34:09 +00:00
aj
46021acdaa
remove QUICKSTART (outdated and replaced by wiki documentation "QuickStart")
...
and add README pointing people to our wiki / html documentation.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2651 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-20 12:55:17 +00:00
aj
e0465478e7
update by Peter Koch.
...
still one problem left in pkcs11-tool, but lots of improvements.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2650 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-17 08:00:44 +00:00
martin
ac8571de2f
Comment config file lines that have default values.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2649 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-15 14:53:18 +00:00
sth
58943d59b5
Compiler warning fix: use 'char * argv[]' in main() because getopt_long() does so too
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2648 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-13 11:19:25 +00:00
nils
ff795fb1e6
bugfix for a potential segfault in card-setcos.c when the
...
acl "pointer" is one of the special values 1,2,3
Patch supplied by Jakub Bogusz <qboosh@pld-linux.org>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2647 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-12 17:52:56 +00:00
ludovic.rousseau
e81d74ba0e
use *.[1-7] instead of *.1 *.3 *.5 *.7 to avoid the (harmless) error
...
"ls: *.7: No such file or directory"
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2646 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-12 13:37:10 +00:00
aj
ba303233ff
fix compiling on solaris9. Thanks to Douglas E. Engert
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2645 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-11 20:57:15 +00:00
aj
d631b554c9
masquerading is no longer needed on windows or mac os X and
...
never was on linux.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2644 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-10 19:24:16 +00:00
aj
bae9b56869
fix typo.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2643 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-10 08:07:14 +00:00
nils
d858b4f84c
fix build with openssl 0.9.8:
...
move "#include <openssl/crypto.h> up and remove unnecessary
include for asn1.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2642 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-09 22:15:35 +00:00
nils
6eeedc7d5f
fix typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2641 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-09 12:00:34 +00:00
nils
c7a8e84caf
suppress errors in pkcs15 card detection if we don't know whether we really have a pkcs15 card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2640 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-08 11:08:34 +00:00
nils
191f2af7ab
set the ca certificate only if it's really present
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2639 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-07 20:04:33 +00:00
nils
cee5f2a147
print lastUpdate field as well
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2638 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-07 19:58:43 +00:00
martin
b15a7941a6
define HAVE_PCSC on darwin with native pcsc
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2637 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-07 11:40:10 +00:00
aj
43d3408938
add a few details about the card, also by Antonio Iacono.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2636 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-07 07:06:16 +00:00
aj
d1cbf05abf
add --dump option, thanks to antonio
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2635 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-06 19:30:18 +00:00
aj
19ad0e38b0
enable masquerading by default for pcsc.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2634 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-06 18:23:57 +00:00
martin
450e4121fb
Fix the #define in pcsc probing, move pkg-config code before the darwin-specific code so that
...
if a pkg-config enabled pcsc is installed you can simply use PKG_CONFIG_PATH to detect it.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2633 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-06 10:28:04 +00:00
aj
8fb4d9fc4c
Better name, as suggested by Ludovic.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2632 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-06 06:57:07 +00:00
aj
163176fd45
__APPLE__ does not need special handly. Only the broken pcsc-lite shipped
...
in mac os X does, so use define set by configure on mac os X, if the
default pcsc is used, but not if a self compiled is used.
teach configure new getopt source file names.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2631 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-05 15:25:27 +00:00
aj
40ad6b0037
replace GNU/glibc getopt (LGPL) with my_getopt (BSD).
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2630 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-05 15:23:51 +00:00
sth
8f230f5c1d
Do an sc_lock() before an sc_pkcs15init_bind(). Reason: in sc_pkcs15init_bind() an sc_lock() and sc_unlock() is done; and when the lock_login config option is set to false, the sc_unlock() will call logout() which for some cards means a SELECT(3F00) -> unwanted change of the current EF/DF causing errors
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2629 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-01 18:51:34 +00:00
aj
9d4d8ec98a
reomve unneeded ifdefs.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2628 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-30 17:44:42 +00:00