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
aj
7775154fa6
run tidy on html files (ignore if it is not available).
...
tidy html files, so they are readable.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1227 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-26 16:47:45 +00:00
aj
bfaacaf52a
ssl engine update (key format), pkcs11.txt integrated.
...
both done by stef, I'm only commiting (and updateing the html file).
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1226 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-26 10:38:35 +00:00
aj
c1261a6c2e
xml/html based documentation.
...
This can replace:
README
README.Win32
README.cards
README.signer
THANKS
TODO
AUTHORS
src/openssh/README
src/pkcs11/README
src/pam/README
src/sslengines/README
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1225 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-25 20:20:32 +00:00
sth
4dc226d05f
Added a little extra logging to C_GenerateKeyPair()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1224 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-25 10:57:41 +00:00
aj
59da343eea
PATH_MAX is defined via limits.h (I hope that exists on all
...
systems). MAX_PATH is a typo. int r was never used.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1223 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-25 10:19:08 +00:00
aj
e7fcb2be88
make live easier for other developers:
...
html file is now also in the repository, and I will update
always both at the same time. So not even developers will
need docbook dtd + xsl + xsltproc.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1222 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-25 08:42:37 +00:00
aj
2141d58230
removed pkcs15-init.sh reference
...
(oops, when did that creep in? shouldn't be.)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1221 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-24 22:29:26 +00:00
sth
09650d29a3
Changed SC_PKCS15_MAX_PINS to MAX_OBJECTS in pkcs15_create_tokens()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1220 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-24 11:31:02 +00:00
sth
11660330f4
Added a safer locking mechanism, based on sc_lock/sc_unlock (Olaf)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1219 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-24 11:26:17 +00:00
sth
a8724bea78
In slot_initialize(): Bugfix in a memset and added a pool_initialize()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1218 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-24 11:11:49 +00:00
sth
4fb623d537
Some fixes/improvements, e.g. an ID now has to be entered in the same way as in pkcs15-init
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1217 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-24 09:14:57 +00:00
sth
24b517cda5
Added support for selecting keys by slot and by key ID; and added newlines to some error messages
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1216 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-24 09:11:01 +00:00
okir
127f94ad37
- added pinpad support for OpenCT
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1215 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-23 12:56:36 +00:00
sth
3c50c4d4e0
Some improvements to gen_keypair() and write_object()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1214 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-18 20:49:20 +00:00
sth
bb4bdd529d
Let sc_profile_locate() behave about the same way under Win32 than under Linux
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1213 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-18 12:38:27 +00:00
sth
97da0b6149
Now you can specify your card profile for pkcs15init, both on the command line if you use the pkcs15init tool and in the opensc.conf file. Not specifying gives the default one, like before.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1212 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-18 08:07:12 +00:00
sth
79a5456b24
Changed strcat to strncat
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1211 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-17 11:31:48 +00:00
aj
70b17b36e5
The code now asks for the passphrase.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1210 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-16 09:45:23 +00:00
okir
6cc4820d5f
- when loading a profile, check all variations of <profile>.conf before <profile> itself
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1209 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-16 07:40:43 +00:00