sth
c79e42d82e
Added support for Mac bundles
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1092 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-08 07:54:30 +00:00
aj
c4e49486b9
oops, didn't remove reference to sslrandom.c. fixed.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1091 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 15:12:02 +00:00
aj
99d3289ecd
this should fix the libscrandom issue:
...
the obvious solution is to create libscrandom.la (not .a)
and link with ../scrandom/libscrandom.la (not -lscrandom).
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1090 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 15:03:02 +00:00
aj
67530577b1
- added a "nofork" parameter
...
- changed the initialization order to fix a race condition
where the first usbtoken uses the id 1 and not 0
- fixed a bug where all tokens always used id 0. now several
tokens work at the same time.
- fixed a bug: pid files were empty.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1089 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 15:01:18 +00:00
aj
dd81cea093
- indent (maybe not such a good idea?)
...
- improved some error messages
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1088 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 15:00:34 +00:00
aj
a58e5e5d19
improved "get" function:
...
- path is now by default like 3F00_5015_5031 instead of "3F00"
- the final message shows not only number of bytes but also the filename.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1087 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 14:57:44 +00:00
sth
782f5d39e6
Fix for Win32 where there's no OPENSSL_cleanse()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1086 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 14:33:02 +00:00
sth
dc6e5f856a
Little update on how to add OpenSSL support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1085 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 13:38:05 +00:00
sth
67dd35f435
Added info about the pkcs11 lib
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1084 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 08:01:23 +00:00
aj
683b946c52
Patch by Robert Bihlmeyer:
...
- remove liscrandom
- use scrandom.c directly (list as part of the SOURCES)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1083 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-01 14:09:11 +00:00
sth
e437a38c98
Dont give errors with -t option if the private key doesnt support key unwrap
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1082 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-30 12:24:40 +00:00
jey
a70954d2c2
- Yet another test commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1081 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-29 11:37:11 +00:00
sth
dcf4a94847
Build libscrandom in both .a and .so versions (by R. Bihlmeyer)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1080 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-29 11:10:06 +00:00
sth
9213f6c5cc
Removed some compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1079 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-29 09:27:36 +00:00
jey
b0d4f06703
- Renamed card->chopsize to max_le, which is more descriptive
...
- Changed a few checks to asserts
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1078 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-28 16:34:38 +00:00
aj
a6e7fa3af9
Nils fixed asn1 code to detect two byte "file name" versus
...
longer real paths.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1077 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-28 16:29:57 +00:00
aj
f5bed52c76
Comment fixed by Nils: should be 0x80 or 128, but not "80 bytes".
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1076 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-28 16:29:13 +00:00
sth
f417883e15
Avoid an Assertion Failed (ctx!=NULL) in log.c if sc_establish_context() fails in C_Initialize()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1075 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-28 09:55:36 +00:00
aj
c6efa1e9a1
create card->chopsize, init it with SC_APDU_CHOP_SIZE,
...
allow cards to change that value, and add code to
starcos_init to set chopsize to 80.
chopsize is used with read_binary and friends to chop
the data into small requests, read/write them, and reassemble.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1074 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-27 19:08:23 +00:00
aj
1c121b1430
Only look at first byte for end of data detection.
...
That way not only 0,0 and ff,ff is recognized
and 0,ff,ff,ff... will not cause trouble.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1073 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-27 15:05:03 +00:00
aj
07668a30ff
Nils Larsch:
...
here is a patch to remove a bug in card-starcos.c and two warnings:
card-starcos.c: fix apdu.le value
pkcs15-pin.c: remove unused labels => avoid compiler warnings
pkcs11-tool.c : remove memory leak (a RSA_free() was missing)
and simplify code (+ remove warning).
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1072 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-25 10:03:09 +00:00
sth
fecf9f5e15
Allow empty key file paths in compute_signature and decipher
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1071 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-25 07:51:05 +00:00
sth
2698dc6cec
Have a compile option to enable PTHREAD locking at the pkcs11 level
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1070 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-24 07:03:48 +00:00
sth
d8ef40512b
Extended caching for single-user Windows OSes (Win98)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1069 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-23 11:46:07 +00:00
aj
54aaf365a1
Changed Roberts email address as requested.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1068 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-23 10:40:07 +00:00
sth
a9692c9c46
Disabled OS thread locking on OSes with PTHREAD due to closing problems with Mozilla
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1067 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-23 09:52:09 +00:00
sth
870efbf2c0
Added SC_PKCS15_PRKEY_USAGE_NONREPUDIATION as a valid signature usage
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1066 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-23 08:47:57 +00:00
sth
189a692012
Fix in case no OpenSSL is present
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1065 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-22 20:43:02 +00:00
aj
c0ea6e9554
remove references to SCIDI
...
sanitize pkcs11 include header references
(now they are installed in rsaref/ subdir,
and pkcs11.h is *not* overwritten).
remove automake 1.5 requirement
(automake 1.4 on debian stable/woody works fine)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1064 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-22 17:02:28 +00:00
aj
131719b8c6
- add robert to Authors as contributor of bug fixes
...
- configure code finally working.
engine is detected and path to libcrypto.a is also set.
- roberts fix for reader-usbtoken.c
- card-gpk.c migraton to DES_ routines with #define for 0.9.6 openssl.
- man pages: do not ship pkcs15-profile.5 (.in is in the tarfile)
- assuan: replace "strcpy(stpcpy(.., ..), ..)" with
"strcat(strcpy(.., ..), ..)" which looks good, but nobody uses
assuan I guess ?
- declaration of sc_pkcs15init_set_lifecycle kills a warning
- #include <openssl/bn.h> kills a warning (or compile problem?)
- removed unused txt[256]; from p15_eid (kills a warning)
- now "ln -s" the signer plugin to the plugin directory.
- moved key_out direction to the beginning of a function (kills
a warning or compile error)
- changed pkcs11-tool option "quiet" to "verbose" to conform to
other tools.
- made algo argument to wrap_unwrap a "const" (kills several warnings)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1063 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-22 17:00:38 +00:00
sth
2de518de2d
Moved win32/readme.txt to README.Win32, and updated this file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1062 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-22 12:41:03 +00:00
sth
0523e1d1fb
Fixed an OpenSSL issue with MacOSX
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1061 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-22 12:26:47 +00:00
sth
a02b233a6c
Correction of the previous insert-remove fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1060 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-22 07:51:45 +00:00
jey
3e46905b41
- added missing win32/Makefile.am
...
- added usbtoken.html to docs/.cvsignore
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1059 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 15:02:57 +00:00
jey
0aea6fcba5
- applied build fixes from Andreas
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1058 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 15:01:55 +00:00
jey
686a78e34e
- fixed Olaf's e-mail address in AUTHORS =)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1057 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 12:52:42 +00:00
jey
9c555ef604
- trimmed bootstrap script a bit as suggested by Andreas
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1056 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 12:45:16 +00:00
jey
1c4370dd3b
- fixed a typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1055 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 12:39:18 +00:00
jey
9ddbeaaf85
- Do not install openscd for now
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1054 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 12:36:40 +00:00
jey
ed0ffac09b
- fixed add_padding() in the case where padding is request, but input
...
isn't a hash.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1053 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 12:29:03 +00:00
jey
ae19782ea8
- NEWS entry for 0.8.0
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1052 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 12:01:07 +00:00
jey
4ae13b64a4
- fixed CHV changing with a CryptoFlex
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1051 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 11:40:51 +00:00
sth
fb417772fb
Allow non-repudation as a signature usage
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1050 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-18 15:42:04 +00:00
sth
01896a8f2e
Added some files to ignore, also for Windows
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1049 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-18 14:57:50 +00:00
sth
b05aadce59
Have a sec delay in C_GetSlotInfo() per reader instead of a global delay
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1048 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-18 11:58:11 +00:00
sth
a85d6d7aa4
Added code for MacOSX
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1047 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-18 11:55:16 +00:00
okir
0f4c706e3b
- added tests for key unwrap
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1046 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 14:39:44 +00:00
okir
41a22174dc
- bugfix for unwrap
...
- support getattr(CKA_VALUE) for public key objects
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1045 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 14:38:00 +00:00
sth
b531527169
More robust detection of removal/insertion events
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1044 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 14:35:58 +00:00
okir
aa4c60c4bd
- another fix to the engine test
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1043 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 13:25:20 +00:00