aet
31819196c4
Don't leave -lpcsclite to LIBS, use LIBPCSC instead.
...
We really don't want to directly link -lpcsclite to
every single library and program.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1277 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 16:50:02 +00:00
aet
1c1db18232
Use $LIBDL instead of hardcoding to -ldl
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1276 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 15:13:37 +00:00
sth
9dd994fb2c
Little fix for Windows
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1275 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 15:09:01 +00:00
aet
6ff35cbbba
For crying out loud, hands off. There is a fucking
...
reason for these files to be removed manually.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1274 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 13:09:59 +00:00
aet
d79ed53743
Remove the use of AC_FUNC_MALLOC and AC_FUNC_MEMCMP as
...
they don't work correctly with autoconf 2.57, we don't
really need them for anything anyway.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1273 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 13:07:06 +00:00
aet
beebb1bc47
Remove C++-style // comments. Yes, I know that they
...
are ok in C99 spec, but who says that all compilers
are already C99 compatible.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1272 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 13:05:09 +00:00
aet
118c7a4dcc
Resync .cvsignore files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1271 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 12:39:11 +00:00
aj
049246f234
real cleanup via MAINTAINERCLEANFILES. include depcomp in distribution.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1270 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 11:04:25 +00:00
aj
83d17988d7
The CVS HEAD should always have a version "CVS".
...
For stable releases we should create a branch I guess.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1269 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 10:59:10 +00:00
okir
64c62eb0db
- patch for synthetic p15 cards by Nils Larsch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1268 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-16 15:17:57 +00:00
aet
665ee52210
rm -f depcomp and friends so that we don't have to use
...
-f flag for autoreconf. Fixed an issue noticed after
upgrading to autoconf 2.52 -> 2.57, automake 1.5 -> 1.7
and libtool 1.4.2 -> 1.5.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1267 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-16 15:10:54 +00:00
sth
f563ee6a9e
Moved padding from pkcs15-sec.c to padding.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1266 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-16 11:52:28 +00:00
sth
34fbb4219a
Fix of the previous patch: show only 1 public key if both public key and cert exist
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1265 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-16 05:20:58 +00:00
okir
95e2d8b78a
- Change padding functions
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1264 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-15 10:49:28 +00:00
sth
0a05d8340c
Have process_fci() as a card operation instead of being called internally by iso7816_select_file(). This way card drivers can implement a select_file() and process_fci() independently
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1263 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-14 17:39:19 +00:00
sth
e8cf96af9f
Fix of the previous patch: if there are a public key and cert with the same ID, show the public key derived from the cert
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1262 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-14 17:34:50 +00:00
sth
864f261679
Fix: if there was a public key and cert with the same ID, you'd see the public key twice in pkcs11: once the 'real' one and once the one derived from the cert
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1261 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-14 17:28:30 +00:00
okir
29add3c3c9
- added SC_ERROR_WRONG_PADDING
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1260 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-14 16:56:38 +00:00
okir
82c3efb4bb
- added missing error messages
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1259 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-14 16:56:15 +00:00
okir
c2e40211be
- try to deal with RSA_SIG keys (first try RSA_PURE_SIG, then RSA_SIG)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1258 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-14 16:55:54 +00:00
sth
901a2d90e3
Added 'Global Platform' PIN encoding
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1257 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-14 13:20:49 +00:00
aj
cd20622c96
remove files in "make distclean" instead of "make maintainer-clean"
...
to match the distribution tar file.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1256 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-12 17:19:45 +00:00
jey
512fb4469d
- Fixed OpenSSL detection (at least with Debian)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1255 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-12 12:58:59 +00:00
sth
b093146578
If C_SetAttributeValue() wants to change the CKA_SUBJECT, simply return OK. This is OK as we don't save the CKA_SUBJECT of a public key anyway, and it's needed for doing keypair gen + cert writing with Mozilla
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1254 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-11 20:14:48 +00:00
aet
c83c8870d1
Cleanups, fix --with-common-dir work with OpenSSL engine detection
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1253 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-11 18:16:12 +00:00
aet
cde2543e4e
Forgot this one
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1252 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-11 16:33:30 +00:00
aet
c4d2611d12
- Various build fixes for various operating systems and compilers
...
- Add missing .cvsignore files
- Remove tools/ and make configure to work again
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1251 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-11 16:31:06 +00:00
sth
dbefbade41
Changed libpkcs11.a to libpkcs11.la (by Ville Skytta)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1250 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-11 11:18:39 +00:00
sth
1b3239c69a
Fix: use strncasecmp() instead of strnicmp()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1249 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-11 11:16:14 +00:00
sth
df89427bfb
Bug fix: let sc_transmit_apdu() returns a negative number or 0 (no positive number)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1248 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-11 09:40:49 +00:00
aj
473a701c80
Forgot to init slot[0].flags to SC_CARD_PRESENT
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1247 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-10 22:31:14 +00:00
sth
4737789ede
Implemented the get_response card operation, is now explicitely called by sc_transmit_apdu()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1246 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-10 11:38:02 +00:00
aj
1b988af695
Fix makefiles.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1245 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-10 11:13:18 +00:00
aj
d94de46a59
remove old text files.
...
new documentation is in opensc/docs/opensc.html (and .xml)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1244 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-10 10:44:23 +00:00
aj
aee7119020
updated configure to newer init calls.
...
set automake strictnes to foreign.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1243 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-10 10:33:22 +00:00
aj
0ee983fdbe
Some of additional documentation.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1242 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-02 20:47:40 +00:00
aj
17cec0cd06
usbtoken is now obsoleted by openct. Update the documentation.
...
This patch was made possible by the INKA e.V. ISP and the Hoepfner Brewery
and Beergarden. Thanks for free Internet!
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1241 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-02 17:58:28 +00:00
aj
44dbbffc70
disable usbtoken by default.
...
put usbtokens readers behind openct readers.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1240 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-01 17:34:58 +00:00
aj
694715e85a
Xander Soldaat <lists@b-yes-d.net> reported this ATR,
...
the card works for him "like a charm."
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1239 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-30 18:25:34 +00:00
sth
3669fa86e7
Increased the pkcs15 ID size from 16 to 255
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1238 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-28 07:02:26 +00:00
aj
4f979cf880
attached is patch for card-starcos.c This patch generalizes
...
the handling of the driver internal extra data (for example this will
be usefull to supply the card driver with the necessary information
to create MF/DF/EF). I also added a workaround for certain
profiles which require that the pin is only verified once (i.e.
the state doesn't change after a signature verification).
And finally I changed the order of some starcos function
(at first the init/free function and then the rest).
If nobody has objections it would be nice if someone could
commit this patch to the CVS.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1237 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 23:01:10 +00:00
sth
7b7f2106f2
Implemented the C_VerifyXXX() functions
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1236 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 15:26:17 +00:00
sth
b7d92d3127
Removed the CKF_WRITE_PROTECTED tokeninfo flag
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1235 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 13:29:51 +00:00
sth
82c00d806c
Placing #include <windows.h> in wincofig.h causes compiler problems, better put it in each file that uses _MAX_PATH
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1234 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 12:59:22 +00:00
sth
0cb9a18963
Some Windows fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1233 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 12:32:57 +00:00
sth
4fdecc39c2
Fix: register CKF_GENERATE_KEY_PAIR in a correct way
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1232 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 12:11:19 +00:00
sth
033e032820
Added test code for C_SetAttributeValue()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1231 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 12:02:39 +00:00
sth
ffadf4770c
Implemented C_SetAttributeValue() that can change the CKA_VALUE and CKA_ID
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1230 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 12:00:43 +00:00
sth
5ed3d17ad8
Added sc_pkcs15init_change_attrib() that can change the label and ID of a pkcs15 key or cert
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1229 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 11:59:37 +00:00
sth
0b15d0aac4
Use a better notation for the -key option
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1228 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 11:32:58 +00:00