jey
ae306cf06f
- GPK now reports it's PK abilities correctly
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@286 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-10 11:48:57 +00:00
aet
2a4afb8319
Include stdlib.h where needed
...
Warning fixes for various OS's
mcheck.h is not portable, so remove it
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@285 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-09 17:54:16 +00:00
jey
7d2171c1d2
- Improved support for MioCOS cards
...
- Removed PKCS #15 creation from cryptoflex-tool
- Added PIN pad character option to profile.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@282 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-09 15:11:46 +00:00
okir
c94fb9a1d5
- added sc_pkcs15_read_pubkey to retrieve public key from a public key file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@281 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-08 19:47:26 +00:00
okir
4fcf38e98e
- specify sc_algorithm_info
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@280 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-08 19:46:33 +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
okir
364328212b
- sc_pkcs15_parse_df now understands PuKDFs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@271 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 12:33:42 +00:00
okir
4f0ce4228a
- in sc_select_file, remember the file path in the returned struct sc_file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@266 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-06 13:22:08 +00:00
okir
17316de130
- another buffer overflow
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@265 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-06 13:21:22 +00:00
okir
8c47813227
- Added {read,write,update}_binary handlers that shift the offset
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@264 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-06 12:33:33 +00:00
okir
f39f2244bb
- SECURITY: Fixed buffer overflow
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@263 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-06 12:32:42 +00:00
okir
9f43b3b0f3
- small typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@259 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-05 09:30:01 +00:00
jey
6b07ff64f6
- Reworked PKCS #15 structure a bit (MANY THINGS
...
WILL BREAK)
- Added support for public key DFs (not tested yet)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@251 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-03 00:32:28 +00:00
jey
4ac49d6e88
- intermediary checkin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@249 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-01 11:52:55 +00:00
okir
44fbfd7c1a
- Implemented GET_PK_ALGORITHMS card_ctl
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@248 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-27 22:15:48 +00:00
okir
321e993d9a
- Fixed typo on _CTL_PREFIX
...
- Added SC_CARDCTL_GET_PK_ALGORITHMS
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@247 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-27 22:15:12 +00:00
okir
c58b72fc54
- implemented change/unblock pin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@244 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-26 16:34:29 +00:00
jey
4fa7283ae2
- added some missing files
...
- renamed card-setec.c to card-setcos.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@243 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-26 11:27:49 +00:00
jey
04dfc47d92
- added a driver for MioCOS cards by Miotec
...
- implemented EF(DIR) updating
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@242 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-26 11:23:25 +00:00
okir
570af2be56
- fixed sc_card_driver initalization
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@241 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 22:42:28 +00:00
okir
4a448f43cf
- first stab at signatures
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@238 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 18:48:34 +00:00
okir
680b9928c5
- avoid integer underflow for outlen < 11
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@237 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 18:47:42 +00:00
jey
325cd8006d
- small bug fixed in encode_bit_string; patch by Olaf Kirch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@233 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 14:13:18 +00:00
aet
8d222efb57
HAVE_SSL cleanups
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@227 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 11:13:50 +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
e605e6fa8b
Fix segfault for pcsc_finish
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@224 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-24 21:14:17 +00:00
aet
412292eab1
Add missing SC_STATUS_TIMEOUT that was removed from sc-internal.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@223 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-24 20:16:07 +00:00
jey
3fa1b27736
- implemented reader abstraction layer; now it's easier to
...
add support for e.g. CT-API
- renamed ops_data field to drv_data in struct sc_card
- copied coding style document from Linux kernel
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@221 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-24 19:32:14 +00:00
aet
1f4e5c4b6d
Minor changes to get rid of compiler warnings for various OS's
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@220 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-24 16:50:29 +00:00
jey
2adde8d501
- implemented RSA and DSA key downloading to GPK cards
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@219 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-23 13:38:01 +00:00
jey
b5736099a2
- added some missing files from last commits, whoops
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@217 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-22 07:18:43 +00:00
jey
d2a36c88fd
- added sc_update_binary(), sc_append_binary() and
...
sc_write_binary() with their corresponding ISO 7816-4
reference functions
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@216 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-21 19:23:21 +00:00
jey
e78dc96440
- added ATR for RSA SecurID 3100
...
- exported pkcs15_encode_* functions
- minor modification to sc_file_add_acl_entry()
- boosted up opensc-explorer
- added error(), warn() and fatal()
- implemented a generic PKCS #15 structure generation tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@215 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-21 18:53:23 +00:00
aet
3adef373bf
Fix memory leak for sc_establish_context
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@214 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-20 18:42:16 +00:00
jey
61fc1f9327
- all instances struct sc_file should now be
...
dynamically allocated with sc_file_new() and released
with sc_file_free()
- improved ACL's
- moved struct sc_card_error to opensc.h
- moved EF(DIR) parsing and encoding to dir.c
(encoding is not working yet)
- removed hst-test.c and filetest.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@213 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-20 09:56:47 +00:00
aet
092e87969d
Bugfix for sc_destroy_context, pcsc_ctx was never released
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@212 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-17 21:55:57 +00:00
jey
262e5c2083
- added error reporting for several new SWs
...
- added check_sw function to sc_card_operations
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@211 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-15 23:17:58 +00:00
jey
709727d469
- added partial support for TCOS 2.0 cards
...
- default card driver now tries to do a GET RESPONSE
instead of SELECT FILE to detect the correct
CLA byte
- moved security attribute parsing from iso7816.c to card-setec.c
- added some more sanity checking to sc_check_apdu
- added 'debug' command line option to opensc-explorer
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@210 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-11 15:55:34 +00:00
aet
6db645e46c
AIX cc fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@209 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-11 11:01:27 +00:00
aet
d8c9a43566
Portability fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@208 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-11 10:49:36 +00:00
jey
b26554a957
- added a license notice to card-gpk.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@207 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-10 18:09:20 +00:00
jey
b4063302bf
- added partial support for GPK 4000
...
- made line parsing in opensc-explorer saner
- moved change_reference_data and reset_retry_counter to
iso7816.c, where they belong
- added partial libreadline support to opensc-explorer
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@206 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-10 18:04:03 +00:00
jey
1fb23e7623
- added support for T=1 protocol
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@201 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-28 21:04:53 +00:00
aet
a2d2403684
Add opensc-config
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@197 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-26 21:16:56 +00:00
jey
55641e5961
- added opensc-config script
...
- added ATR string for Cryptoflex 8k
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@196 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-26 16:03:13 +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
jey
17332ea10e
- last minute changes before the new release
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@194 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-24 18:37:12 +00:00
jey
fd9c25eeed
- added README.Cryptoflex
...
- modified ChangeLog
- _really_ bumped up the version number this time
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@192 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-24 16:24:24 +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
c8313fb07c
Fix compiler warnings, for digital cc this time
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@187 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-22 16:26:19 +00:00
jey
fee632833a
- added KEY verification to Cryptoflex driver
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@183 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 15:11:35 +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
aet
6d533a1c3d
Compiler warning fixups for various compilers
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@180 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 10:56:30 +00:00
aet
45a37df2f6
Add *.u and cryptoflex-tool to .cvsignore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@179 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 10:56:03 +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
jey
d9792242cc
- fixed a bug with file permissions in flex_create_file()
...
- added RSA signature generation with Cryptoflex cards
- improved security environment handling
- implemented cryptoflex-tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@177 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-20 21:20:09 +00:00
jey
e7c65bf669
- PKCS #15 generation is now in a semi-working state
...
- started coding crypto support for Cryptoflexes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@175 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 23:47:03 +00:00
aet
a8a31771f4
int error -> int sc_error, since it conflicts with error() and
...
results to compiler error with various compilers.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@172 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 12:04:14 +00:00
jey
54e5d23e93
- improved PKCS #15 generation
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@170 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 11:44:27 +00:00
jey
20adb4b39c
- continued to improve PKCS #15 generation
...
- fixed a few problems in sc_set_security_env
- started to implement Better (tm) object handling for
PKCS #15 objects
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@167 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-16 23:59:18 +00:00
jey
4e2192b0f4
- better ISO 7816-8 compatibility with various cards
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@162 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-16 20:20:40 +00:00
aet
fec2138523
Fix compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@161 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-15 18:54:53 +00:00
jey
452b9d4193
- pretty much finished the DER encoder
...
- added delete and create file support for 'flex cards
- PKCS #15 DF's are now stored more flexibly; this makes
adding new types of DF's (such as PuKDF's) easier
- added 'get' and 'put' commands to opensc-explorer
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@160 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-13 23:56:13 +00:00
jey
5c993e1136
- added PIN verification, file creation and file deletion to
...
opensc-explorer
- documented the core API a bit using doxygen
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@158 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-10 23:02:48 +00:00
aet
b75b88a8b8
Fix compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@157 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-10 13:49:54 +00:00
jey
9dc7054919
- added preliminary ASN.1 encoding support
...
- modified ASN.1 decoding to make it easier to
port decoder structures to the encoder
- fixed a recently introduced bug in card driver handling
- opensc-explorer will now allow only DF's to be cd'd into
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@156 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-10 12:33:56 +00:00
jey
269df3a6da
- created opensc-explorer tool
...
- increased support for CryptoFlex cards
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@152 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-09 01:03:10 +00:00
jey
7ff4c4544c
- added preliminary CryptoFlex 16k support
...
- added short names to card drivers
- moved various ISO 7816-9 functions to their correct places
- added write binary support
- renamed opensc-crypt to pkcs15-crypt
- split a part opensc-tool to pkcs15-tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@150 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-08 13:56:50 +00:00
jey
1a3e530f01
- finished removing sc- prefix from the .c files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@149 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-07 18:32:13 +00:00
jey
9197babe53
- renamed sc_asn1_parse to sc_asn1_decode
...
- added capabilities and flags fields to struct sc_card
- added a mutex to sc_context for future use
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@148 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-07 18:23:34 +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
aet
3bcb086df4
Fix typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@136 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-05 19:05:29 +00:00
aet
a327209319
SCardGetStatusChange/rgReaderStates changes for compatibility
...
with older and/or modified pcsc-lite releases.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@135 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-05 19:01:55 +00:00
aet
fb4321ce0f
More size_t fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@128 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-01 19:56:07 +00:00
aet
a95ed6fc75
Use \33 instead of \e.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@127 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-01 19:54:22 +00:00
jey
68928ae520
- changed \\e back to \e in sc_log.c
...
- changed function prototypes in sc-asn1.c (int --> size_t)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@126 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-01 18:25:11 +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
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
jey
3e96a893ec
- ported certificate reading to new ASN.1 code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@119 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-29 19:03:46 +00:00
jey
da88fb7d62
- renamed LIBPCSCLITE to LIBPCSC
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@117 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-29 18:14:08 +00:00
jey
5201a83b21
- another portability fix
...
- renamed sc-emv.c to sc-card-emv.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@116 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-29 12:44:11 +00:00
jey
13b1325aef
- fixed a portability problem
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@115 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-29 12:39:41 +00:00
jey
daf877fadd
- fixed resplen values in sc_decipher and sc_compute_signature
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@112 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-29 11:57:34 +00:00
jey
ad2e34cb6c
- added preliminary support for EMV cards
...
- changed a few function prototypes
- implemented access control lists to files
- added sc_read_record() function
- updated the NEWS file
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@111 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-29 02:07:32 +00:00
jey
c37418d3b0
- sc_pkcs15_change_pin() prototype changed
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@109 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-28 14:23:17 +00:00
jey
695ad01b28
- added preliminary EMV support
...
- made a few bug fixes relating to select_file operation
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@107 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-27 17:25:10 +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
jey
9905a8dd8e
- changed call convention of sc_select_file()
...
- begun to add support for Multiflex cards
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@100 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 23:51:12 +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
c344e28a92
- added card abstraction layer support
...
- pretty much finished migrating to new ASN.1 code
- changed call semantics for sc_select_file()
- moved functions around
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@89 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 20:43:09 +00:00
jey
0bba170d91
- LINT fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@88 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 13:38:25 +00:00
jey
c17ff3ebdf
- continued improving ASN.1 decoding
...
- improved debug levels
- added some PC/SC Lite workarounds
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@87 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-21 23:34:47 +00:00
jey
41416437e5
- paving way for dynamic card modules
...
- fixed a few memory leaks
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@86 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-20 13:57:58 +00:00
jey
ff560ba239
- added basic logging to sc-pkcs15-sec.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@85 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-20 12:22:18 +00:00
jey
9989c11a6d
- remembered ChangeLog
...
- moved some functions from sc.c to sc-iso7816-4.c
- added fancy colors to log output =)
- removed global sc_debug variable, moved it to sc_context
- fixed new ASN.1 code (possibly still unstable)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@83 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-19 21:58:04 +00:00
jey
83dd7bee00
- added a small fix. Swedish Posten eID cards are now supported.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@81 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-16 20:30:42 +00:00
jey
5e00917fcc
- bumped version number up to 0.4.0
...
- improved ASN.1 decoding _lots_
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@80 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-16 18:46:32 +00:00
jey
0191d6c07d
- paving way for version 0.3.5
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@77 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-15 01:29:51 +00:00
jey
c46ac85a07
- improved logging facilities
...
- removed a few compiler warnings
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@69 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-13 21:19:11 +00:00
jey
86bef9c75e
- improved certificate caching
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@67 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-11 14:52:17 +00:00
jey
683f561800
- removed config directory
...
- fixed compiling with C++
- added error SC_ERROR_CARD_RESET
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@65 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-08 15:27:40 +00:00
jey
06fc4565ba
- fixed sc_pkcs15_change_pin()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@62 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-02 19:21:46 +00:00
jey
bc946d6bfe
- added support for Base64 decoding
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@61 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-02 19:17:11 +00:00
jey
d277cf5d5c
- fixed a few bugs in Autotools support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@57 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-27 21:11:32 +00:00
jey
e5d40ca03c
- started to migrate to GNU Autotools
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@56 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-26 20:14:48 +00:00
jey
a1349a68c4
- added defaults for FINEID S4-2 (organization) cards
...
- fixed a few typos
- renamed _sc_sw_to_errorcode() to sc_sw_to_errorcode()
- PAM module now uses RSA_sign instead of RSA_public_encrypt
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@55 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-26 16:14:22 +00:00
jey
5c4c94779d
- changed "sc.h" to "opensc.h"
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@54 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-24 15:12:32 +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
674cbb1979
- added sc-crypt program
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@51 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-22 15:40:51 +00:00
jey
2ac6b811a5
- added install target to libsc Makefile
...
- added a few functions
- added a patch against OpenSSH 3.0.1p1 to enable libsc support
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@48 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-21 21:19:58 +00:00
jey
ea594e3e50
- added very partial SSH support
...
- rearranged some functions
- added several new functions
- fixed handling of SW's
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@47 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-20 22:21:58 +00:00
jey
f2f3a30792
- added sc-tool
...
- removed certtest.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@45 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-18 01:52:32 +00:00
jey
e53cfa4595
- added README for PAM module
...
- added a few error messages
- fixed certificate caching (which is still kludgy)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@44 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-17 15:48:10 +00:00
jey
1194017d5a
- added defaults; full PKCS#15 parsing is no-longer required at startup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@43 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-17 14:55:41 +00:00
jey
584f5e5cb8
- PAM module is semi-working now
...
- added sc_asn1_put_tag() and sc_restore_security_env() functions
- preliminary support for CREATE FILE and DELETE FILE commands
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@42 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-17 00:11:29 +00:00
jey
e883b6f989
- committed a patch from Antti Tapaninen <aet@cc.hut.fi>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@40 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-14 13:43:39 +00:00
jey
187d8a0b29
- moved sc_list_files() to sc.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@39 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-07 14:36:57 +00:00
jey
fac50be076
- fixed sc_get_random()
...
- added ATR to struct sc_card
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@38 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-07 13:45:41 +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
27cc0a0189
- fixed base64 encoding function
...
- added file listing test to hst-test.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@35 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-05 19:39:18 +00:00
jey
16c6db4b2a
assorted small fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@34 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-04 14:08:38 +00:00
jey
58fd72f22f
- added support for base64 encoding
...
- added certtest tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@33 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-04 13:57:04 +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