okir
29dd06ba9f
- more win32 fixes from Stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@779 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 16:00:40 +00:00
okir
21dfabee27
- New mechanism framework
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@775 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 11:49:12 +00:00
okir
a01b8d0b24
- New mechanism framework
...
- New libpkcs11 utility library
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@774 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 11:48:54 +00:00
okir
317a0663c9
- New utility library libpkcs11 - supposed to provide easy loading and
...
unloading of modules, and possibly a few other features in the future.
Needed by pkcs11-tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@773 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 11:48:14 +00:00
okir
23158d7a96
- win32 patch from Stef Hoeben
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@769 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-10 17:47:19 +00:00
okir
2e6af762c3
- Added support for CKM_RSA_X_509 (Stef Hoeben)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@768 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-10 17:47:10 +00:00
okir
5a568eeb75
- translate SC_ERROR_WRONG_LENGTH to CKR_DATA_RANGE
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@759 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-09 13:33:39 +00:00
okir
c55b8d8377
- Fixed CKM_SHA1_RSA_PKCS: if OpenSSL is available, use it to hash the supplied
...
data. If OpenSSL is unavailable, CKM_SHA1_RSA_PKCS is not advertised to the
user.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@750 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-04 13:50:23 +00:00
okir
08f4d67cec
- Avoid segfaults: if we cannot parse the certificate, do not create a
...
cert object.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@735 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-02 14:40:30 +00:00
okir
d4ac1aabaa
- do not crash if the application tries to log into a token w/o PIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@730 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-29 10:54:12 +00:00
okir
38280e479e
- use @libdir@ instead of ${exec_prefix}/lib - some platforms (such as
...
s390x and ppc64) put libraries into /usr/lib64
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@729 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-29 08:56:32 +00:00
okir
c3b479fc82
- in case of an invalid session/object handle, return OBJECT_HANDLE_INVALID
...
or SESSION_HANDLE_INVALID instead of FUNCTION_DAILED
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@721 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-22 09:10:10 +00:00
okir
6f4587f612
- Return correct error codes in GetAttributeValue in case of
...
ATTRIBUTE_TYPE_INVALID and ATTRIBUTE_SENSITIVE
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@720 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-22 09:09:04 +00:00
okir
828819a1ec
- get_mechanism_list now reports correct number of mechanisms
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@719 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-22 09:07:43 +00:00
aet
1d2c9e4c48
Cleanups for initial win32 port, untested.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@696 c6295689-39f2-0310-b995-f0e70906c6a9
2002-10-19 14:04:52 +00:00
okir
1556f98ba5
- put the definition of USE_PKCS15_INIT into a place where it can actually work
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@675 c6295689-39f2-0310-b995-f0e70906c6a9
2002-08-19 17:13:46 +00:00
jey
2fc2357639
- Fixed functionality when pkcs15init is not compiled
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@674 c6295689-39f2-0310-b995-f0e70906c6a9
2002-08-08 20:53:40 +00:00
fabled
2c6e11fd51
- PKCS#11 module definitions; not PKCS#11 application. Removes compiler and
...
linker warnings.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@671 c6295689-39f2-0310-b995-f0e70906c6a9
2002-07-10 06:28:52 +00:00
fabled
e2af6a1c8e
- Ported pkcs11 module to win32.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@670 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-20 13:16:22 +00:00
aet
5fba18d152
Fix for previous commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@618 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-03 15:28:43 +00:00
aet
2846d6ce3b
Preliminary MacOS X build support, untested so far.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@617 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-03 15:18:47 +00:00
jey
7c94d7d8d3
- Several patches to fix behaviour on 64-bit architectures (by
...
Jochen Friedrich)
- Fixed one bug in sc_copy_asn1_entry(), one in
sc_pkcs15init_add_object() and one in pkcs15-crypt
(patches also by Jochen)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@609 c6295689-39f2-0310-b995-f0e70906c6a9
2002-05-26 12:31:23 +00:00
aet
33b5cf69a5
Minor ${prefix} -> ${exec_prefix} changes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@596 c6295689-39f2-0310-b995-f0e70906c6a9
2002-05-07 12:49:18 +00:00
okir
7f6453d715
- sc_pkcs15_decipher now takes a flags argument, so we know when to
...
strip off any pkcs#1 padding.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@585 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-23 08:17:06 +00:00
aet
3dccd63989
- C++ support. Compiles with gcc/g++ for Linux, otherwise
...
completely untested.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@574 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 14:23:31 +00:00
okir
9c5754e6ef
- handle non-RSA keys as well
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@549 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 18:34:32 +00:00
okir
596220e821
- pkcs15-init does not require openssl anymore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@523 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-15 13:42:10 +00:00
okir
9f7fbf2b8c
- C_CreateObject now understands X509 certs (untested)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@520 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-13 19:00:37 +00:00
okir
f5dc78bf44
- minor fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@519 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:53:05 +00:00
okir
2b8b355992
- implemented C_CreateObject for public and private key objects
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@518 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:17:33 +00:00
okir
53a112eda2
- implemented C_InitPIN (based on pkcs15init)
...
- C_Login now understands the SO PIN.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@502 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:51:19 +00:00
jey
6e0b7dea2c
- Divided errors into different groups, added new ones
...
and renamed some
- Moved sc_strerror() to errors.c
- Added a 'sensitive' flag to struct sc_apdu
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@479 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 12:02:28 +00:00
okir
7e5af94455
- C_InitToken: after creating the application DF, switch to the
...
normal pkcs15 framework on the fly and mark all tokens as initialized.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@475 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 18:19:53 +00:00
aet
ddb49064d6
Minor warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@473 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:51:34 +00:00
okir
d4ee9df5ce
- added new pkcs15init framework that implements C_InitToken
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@470 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:03:03 +00:00
okir
829e7f6712
- added initialize() function to card ops vector
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@469 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:02:41 +00:00
okir
d28bb6082a
- Added C_Initialize
...
- Minor bugfix in C_Finalize
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@468 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:02:18 +00:00
okir
84943898b9
- add CKF_TOKEN_INITIALIZED flag
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@467 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:01:43 +00:00
aet
076a26bbac
Rework the header structure
...
Currently fails to compile, unless you symlink
all the necessary headers to src/include/opensc
by yourself.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@459 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 13:48:00 +00:00
aet
d81d10ba90
Upgrade sources to use new headers, part #1
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@458 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:44:51 +00:00
aet
fbf86e6728
Install headers to ${prefix}/include/opensc
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@456 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:25:14 +00:00
aet
5a824f3fab
Add maintainer-clean patch by Andreas Jellinghaus <aj@dungeon.inka.de>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@411 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 09:38:06 +00:00
okir
4502555bcc
- fix signing of raw md5/sha1 hash w/o pkcs1 gunk prefix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@397 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-26 20:05:28 +00:00
aet
fc170197d1
Add support for config.h
...
Remove old, obsolete and dead code
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@392 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-25 12:39:35 +00:00
aet
ec6f8961b0
Don't hardcode initial debugging level and error/debug_file
...
pointers to the code, get the values from opensc.conf instead.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@386 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 21:56:13 +00:00
aet
0cad904c86
Move opensc/src/scldap/etc to opensc/etc
...
SCLDAP_CONFIG -> SCLDAP_CONF_PATH
Upgrade the rest of the programs to use new core API
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@380 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 15:41:33 +00:00
jey
f21926af00
- Started to add configuration file support to
...
libopensc
- Added typedefs for some basic structs (e.g.
struct sc_card --> sc_card_t)
- Added a second argument to sc_establish_context()
to identify the calling application
- Renamed sc_destroy_context() to sc_release_context()
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@378 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 14:12:38 +00:00
okir
5006b0d151
- added some #include string.h statements for RH 7.2
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@357 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 09:36:38 +00:00
aet
34af339510
#include cleanups to get rid of compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@351 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 19:33:52 +00:00
jey
7b6371dae1
- Added Olaf's ASN.1 wrapping magic
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@350 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 19:31:56 +00:00
jey
ac3c33d26c
- Fixed debug output in pkcs15_create_slot()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@349 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 17:17:48 +00:00
okir
7952f81721
- implemented C_ChangePIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@348 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 15:04:14 +00:00
okir
853d414fc3
- implemented CKA_SUBJECT
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@347 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 13:08:51 +00:00
okir
21911ebf4c
- by default, the token is marked write_protected
...
- fixed debug output when creating a slot with no PIN
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@342 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-18 12:49:46 +00:00
okir
f82c470cb5
- do not enable the RSA flag n netscape
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@341 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-18 12:49:08 +00:00
okir
51ccfe79f4
- made email decryption work in netscape
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@340 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-18 11:05:21 +00:00
okir
6953286d01
- first stab at C_Unwrap
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@339 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 15:22:41 +00:00
okir
563515dc46
- email signing now works from navigator
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@336 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 12:37:31 +00:00
okir
6d4988f12a
- set debug log file and libopensc debug level via environment vars
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@334 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 11:41:16 +00:00
jey
e280d2f444
- some autodetection magic in pkcs15_prkey_sign()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@305 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 10:34:05 +00:00
jey
31e78a3acb
- reverted a change in pkcs15_prkey_sign
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@304 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 09:51:49 +00:00
okir
252323e0db
- add support for PuKDF objects.
...
- lock the card in C_Login, and unlock it in C_Logout.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@300 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 14:36:40 +00:00
okir
66b00e06bb
- keep track of number of sessions
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@299 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 14:36:07 +00:00
okir
5df7c9b8e9
- keep track of the number of sessions per slot, and do a C_Logout
...
when the last session is closed.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@298 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 14:35:50 +00:00
jey
3416461c4b
- Added X.509 algorithm id decoding and encoding to asn1.c
...
- Implemented a generic ATR matching helper function
- Made signing much smarter (should even work now)
- Added info about supported crypto algorithms to struct sc_card
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@276 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-08 05:59:57 +00:00
fabled
9419b353f6
- Patch from Olaf Kirch to implement of RSA exponent
...
and modulus retrievel in pkcs11 code
- Fixed the checking of PIN length in pkcs11 login
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@268 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 11:57:49 +00:00
fabled
34bcc5c833
- Fixed buffer overflow in C_FindObjectsInit
...
(patch from Olaf Kirch <okir@caldera.de>)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@253 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 06:58:12 +00:00
fabled
51c572ac1d
- Fixed PKCS #11 module to use the new PKCS #15 API
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@252 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-03 17:36:23 +00:00
aet
b098c097a1
Upgrade to current OpenSC API
...
Compiles, so far untested
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@229 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 12:04:39 +00:00
aet
24c6f4176e
winscard.h / CFLAGS_PCSC cleanups
...
Merge OpenSSL configure changes with SCIDI
Build process changes for future CT-API support
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@225 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 11:05:25 +00:00
aet
ca4d5e5ba7
Add install-exec-local and remove opensc-pkcs11.{la,a},
...
like we do with opensc-signer
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@204 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-06 12:32:22 +00:00
fabled
1e909781d7
Testing version. Use if you dare.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@200 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-28 19:29:35 +00:00
aet
d36e9ba93c
Fix compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@195 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-26 12:16:13 +00:00
fabled
e6ccf518da
- many bug fixes in pkcs #11 module
...
- pkcs #11 module now creates public key objects too
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@193 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-24 16:27:09 +00:00
jey
c1cac5f311
- bumped up version number in preparation of the new release
...
- unified PKCS #15 DF decoding
- added PKCS #15 file caching
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@191 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-24 16:02:54 +00:00
aet
ec83c728ad
Silence debug messages by default for upcoming release
...
README update
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@190 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-24 12:56:08 +00:00
jey
cfa366d7e6
- fixed a few typos
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@188 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-22 16:43:38 +00:00
fabled
b9c165125b
* many bugfixes in pkcs11 module
...
* memory corruption fix in pkcs15 framework
* pool node deletion fixed in misc.c
* now detects smartcards in C_GetSlotInfo too
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@186 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-22 14:54:01 +00:00
fabled
82a2d72e6a
Many bugfixes including segfault in card detection and C_GetSlotInfo
...
now detects the cards too.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@185 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-22 14:44:56 +00:00
jey
a016a59259
- added PKCS #15 structure generation to cryptoflex-tool
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@182 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 12:49:00 +00:00
jey
f1582007f6
- improved file selection on Cryptoflex cards
...
- fixed an incompatability in PKCS #11 module
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@178 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 09:05:22 +00:00
aet
a55a073636
README cleanups
...
Fix compiler warnings
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@174 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 12:05:44 +00:00
aet
7fbc97efb5
Remove gcc-specific options
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@173 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 12:04:43 +00:00
aet
ee55164f07
Add missing .cvsignore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@169 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 09:37:58 +00:00
fabled
3cd20d774f
RSA header files.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@165 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-16 22:50:46 +00:00
fabled
6e6d7177f0
Rewritten implementation of pkcs#11 module. Semiworking.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@164 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-16 22:49:03 +00:00
fabled
7a7d7ee3d9
Preparing to commit new implementation of pkcs#11 module.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@163 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-16 22:43:22 +00:00
aet
c718344ddc
libsc -> opensc
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@154 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-09 18:28:02 +00:00
aet
b9da215428
Add CFLAGS_PCSC, CFLAGS_OPENSC and LIBOPENSC, use them
...
instead of hardcoding paths into ../libopensc.la,
-I../libopensc, etc.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@139 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-06 19:40:12 +00:00
jey
0a77426aa0
- added new versions of PKCS #11 header files
...
- fixed a typo in generic.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@134 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-05 14:56:52 +00:00
jey
5898cc7abc
- blank padding added to some string values
...
- changed a few hardcoded values
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@133 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-05 14:47:44 +00:00
jey
5cdd262385
- some fixes to the PKCS #11 module
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@125 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-01 17:25:10 +00:00
aet
a769be2ae4
Use -avoid-version, as we do with pam module.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@124 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-31 14:47:18 +00:00
jey
74f568b87e
- a small bugfix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@122 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-31 13:30:57 +00:00
aet
607271df53
Merges with SCIDI to help integrating build process with it
...
Remove some gcc specific flags from Makefile.am
Rename some header defines
size_t vs. int fixups
opensc.h: Define inline as null for other compilers than gcc, for now
Port pam_pkcs15 to compile for Solaris and HP-UX, untested
Fix compiler warnings
OpenSC now compiles cleanly for Tru64, AIX and HP-UX.
The only problem is the tools using getopt_long() (GNU extension),
to be fixed later..
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@120 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-30 21:17:34 +00:00
aet
4586a88efc
Move hex_dump() to generic.c
...
Convert all C++-style comments to C-style
Fix compiler warnings for various platforms
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@110 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-28 14:24:28 +00:00
jey
2b99f2df14
- added default driver for unidentified cards
...
- added select_file operation in Multiflex driver
- added 'list-drivers' command to opensc-tool
- moved stuff from opensc.h to sc-internal.h
- improved locking behaviour
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@106 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-25 20:45:48 +00:00
aet
3775b18c81
Autotools update. Add bunch of stuff to configure.in to
...
make building of libopensc more portable to various
operating systems.
Requires autoconf 2.52 and automake 1.5.
Add all necessary files except Makefile.in, so you still
need to run ./bootstrap though. There's not much point
adding config.guess and friends without them, maybe later.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@94 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 22:27:20 +00:00
aet
4fdbb11a32
Add .cvsignore skeleton
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@91 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 22:11:43 +00:00
jey
36965ca6eb
- updated to work with latest library version
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@90 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 20:52:57 +00:00
jey
ef3defb297
- applied a patch by Antti Tapaninen that fixes a memory leak
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@82 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-17 21:36:41 +00:00
jey
61ca346203
- added PIN changing support
...
- started to work on nsplugin
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@60 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-30 11:57:21 +00:00
jey
5be3bd3b7e
- a few fixes for libopensc 0.3.2 support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@58 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-27 21:25:15 +00:00
jey
939146ffed
- changed project name to OpenSC
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@52 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-24 13:32:52 +00:00
jey
a96d31344a
- converted C_Sign() to use the new API
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@50 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-21 23:28:03 +00:00
fabled
725a7177b2
Updated license to LGPL.
...
Added short description.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@37 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-06 18:43:36 +00:00
jey
18bab373b8
- changed license to LGPL
...
- moved ASN.1 function definitions from sc.h to sc-asn1.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@36 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-06 18:34:19 +00:00
jey
c57e2e266d
- moved libsc to its own directory
...
- added non-working MIME plugin for "text/x-text-to-sign"
- added pseudo-random number generator support
- split hst-test.c into smaller files
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@31 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-01 15:43:20 +00:00
fabled
aea833a5e8
Added copyright notes.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@30 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-30 16:16:18 +00:00
jey
f43f23050c
added:
...
- certificate parsing
- support for reading RSA public key modulus on the fly
- support for ASN.1 object id decoding and printing
- fixed a lot of u8 * --> const u8 *
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@28 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-25 11:56:26 +00:00
jey
e52d097f23
latest version
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@26 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-24 14:02:47 +00:00
fabled
2f086f5261
Implementid basic signing functionality.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@24 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-22 21:09:17 +00:00
fabled
bff3bf8560
Updates.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@19 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 22:25:11 +00:00
jey
9ea1e4be9e
fixed PIN info reading
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@16 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 19:42:32 +00:00
jey
202c8e5227
- given ASN.1 decoding routines a facelift
...
- implemented certificate enumeration
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@13 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 18:12:48 +00:00
fabled
3088f6547b
Minor bug fixes.
...
Implemented the object finding properly.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@12 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 16:26:46 +00:00
fabled
0af1a516a6
Basic skeleton for object manipulation.
...
Some testing stuff.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@11 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 16:01:07 +00:00
jey
07671adadd
fixed tokenInfo parsing
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@10 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 15:42:56 +00:00
fabled
86bbeffc40
Added basic session management.
...
Implemented login, logout and change pin functions.
Improved card management.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@9 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-20 23:51:58 +00:00
jey
b5d584e5a7
modified to use latest SC API
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@6 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-20 16:53:51 +00:00
fabled
f3bf3dc0b8
Implemented dummy functions for PKCS#15 module with
...
functionality to read card reader names.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-19 19:52:00 +00:00