Commit Graph

1231 Commits

Author SHA1 Message Date
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
aj 98d12f1210 added makefile so regression files will be included in tarball.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1208 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-15 22:22:31 +00:00
aj b511ae284d current patch for openssh. does not work.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1207 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-15 22:21:37 +00:00
aj f2aaa70cad makefile fixes, so the tarball will contain all files.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1206 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-15 22:20:21 +00:00
aj bf527eb70b Doesn't work, but added current openssh patch anyway.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1205 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-15 22:19:41 +00:00
okir 7021fcb5a5 - iso7816_logout now invalidates the path cache
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1204 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-15 12:56:07 +00:00
jey afe999d3ec A small fix in OpenCT detection.
Bumped the version number up to 0.8.0-rc2.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1203 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-15 11:56:10 +00:00
okir d7640a432e - put HAVE_DOCBOOK conditional around %.html rule
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1202 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-15 11:55:19 +00:00
okir 9fd1ceefb5 - added --without docbook
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1201 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-15 11:54:40 +00:00
sth 0b85e180d7 Add AuthID for pkcs15 data objects
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1200 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-14 12:31:30 +00:00
sth c0b8b08e9c Also compile the sslengines dir under Windows
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1199 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-13 12:45:11 +00:00
sth bd3eab81e4 Added #include <openssl/rsa.h>, this is needed for openssl 0.9.8 and higher where openssl/evp.h wont include the algorithms anymore (Nils)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1198 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-13 06:51:26 +00:00
sth 0d2a15c29b Added support for a new cryptoflex profile, where the user (CHV1) is in charge of the pkcs15 DF
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1197 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-12 21:35:20 +00:00
sth 694a649ab8 Add the AuthID when writing pkcs15 data objects
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1196 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-12 21:23:01 +00:00