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
c5e53429cd
*** empty log message ***
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@333 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 10:40:35 +00:00
jey
67ffdfa213
- Added support for big serial numbers in certificates
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@332 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 10:10:33 +00:00
okir
3838af2bd7
- now uses sc_pkcs15_free_pubkey
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@331 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 10:05:20 +00:00
okir
41cd4c4d2c
- implemented sc_pkcs15_free_pubkey
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@330 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 10:01:25 +00:00
okir
7ec8498962
- removed SC_CARDCTL_GET_PK_ALGORITHMS card_ctl
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@329 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 09:43:31 +00:00
okir
ccb6bb1b1c
- implemented decipher() operation
...
- removed SC_CARDCTL_GET_PK_ALGORITHMS card_ctl
- minor signing fixes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@328 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 09:43:10 +00:00
okir
6ca0cb108c
- moved sc_decipher implementation to iso7816.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@326 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 09:42:07 +00:00
okir
c6a9091f67
- fixed PEM public key header
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@325 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 09:01:11 +00:00
okir
879690f6f4
- add option --md5
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@324 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-14 17:02:08 +00:00
okir
a42a47ea33
- list and extract public keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@323 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-14 16:57:20 +00:00
aet
3161964a4b
Add missing static for parse_tokeninfo();
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@322 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-14 11:50:48 +00:00
okir
bf5f0f6fe1
- fixed a typo that caused bad auth_id's
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@321 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-14 11:50:09 +00:00
aet
04e929da00
Fix minor compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@320 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 23:11:25 +00:00
okir
f3b7c99e1a
- if the offset shift is 2 in update binary et al, make sure the
...
application provided offset is a multiple of 4.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@319 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 20:25:37 +00:00
okir
ca2f725f05
- make sure SC_APDU_CHOP_SIZE is a multiple of 4 (otherwise, update binary
...
et al of large files will fail on the GPK)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@318 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 20:24:31 +00:00
okir
55dd227587
- fixed certificate download
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@317 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 20:23:18 +00:00
aet
c418eb91af
- Ahem, decrease the version number a bit
...
- assuan_transact is now API compatible with the latest
version of Assuan (newpg/assuan)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@309 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 12:42:11 +00:00
jey
b3e7235e30
- fixed a small core-dumping bug
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@308 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 11:36:19 +00:00
jey
8efe36617c
*** empty log message ***
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@306 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 10:48:07 +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
jey
ef4c142c47
- Fixed signature generation
...
- Assuan API is now compatible with newer versions
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@303 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 08:54:44 +00:00
okir
83686af746
- added pkcs12 support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@302 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 16:27:21 +00:00
okir
b635539aa8
- Make the default size for DF files 128 bytes (FIXME: we need to be
...
able to set this on a per card basis in $cardname.profile
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@301 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 16:27:04 +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
okir
c287088275
- Make sure profiles get installed in $(pkgdatadir), and propagate this
...
directory name to profile.c (icky automake stuff)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@297 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 13:41:58 +00:00
jey
23e956cf9b
- Fixed PKCS #15 structure generation on Cryptoflex cards
...
and implemented a default profile
- Cryptoflex now reports its supported PK algorithms
correctly
- Various pkcs15-init fixes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@295 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 13:00:57 +00:00
okir
2c7a0ac27b
- Implemented download of public keys and X509 certificates
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@294 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 10:08:18 +00:00
okir
f7ce196a66
- now creating EF(DIR)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@293 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 14:13:11 +00:00
okir
cf795aa7b8
- exporting sc_update_dir to applications
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@292 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 14:12:46 +00:00
okir
f84f5e5825
- we cache just the DF portion of the currently selected file path,
...
excluding the EF's FID
- when sending the hash to the card (as part of compute_signature),
revert the sequence of hashed bytes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@291 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 12:41:18 +00:00
okir
b5bc6d74fd
- When storing a private key, always store the public portion as well
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@290 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 11:52:04 +00:00
jey
52dac164ba
*** empty log message ***
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@289 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 11:40:30 +00:00
okir
4fb78b7bdc
- forgot to add DFs to the profile's file list
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@288 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 10:18:59 +00:00
okir
3dd0c64f6a
- Implemented Parent/FileID stuff according to Juha's proposal
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@287 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 09:14:10 +00:00
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
aet
f0d4252ea0
Standardize the first header comment a bit
...
between various profiles
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@284 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-09 17:27:04 +00:00
aet
427801c755
Add flex.profile to EXTRA_DIST
...
Rename miocos-rw.profile to miocos.profile
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@283 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-09 17:21:10 +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
aet
6264f03148
'make dist' fixes
...
Minor cleanups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@279 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-08 16:06:10 +00:00
aet
7803649f25
SC_PKCS15_HASH_SHA1 -> SC_ALGORITHM_RSA_HASH_SHA1
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@278 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-08 15:18:48 +00:00
aet
346be7d7a1
Fixed opensc-ssh to work with recent p15 API changes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@277 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-08 14:47:34 +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
7477cb3c01
- fixed attributes etc of PuKDF entry
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@275 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 13:06:54 +00:00
okir
cdd735e36d
- moved object printing stuff to separate file
...
- dump public key info if present
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@274 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 13:03:23 +00:00
okir
6cd852ba45
- moved object printing stuff to separate file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@273 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 13:03:00 +00:00
okir
30a5233d3b
- fixed pintest to work with p15 API changes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@272 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 13:02:30 +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
6827556f5d
- fixed error code handling
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@270 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 12:26:17 +00:00
okir
23678d0695
- fixed memory corruption problem
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@269 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 12:25:54 +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
okir
2fda14ebf5
- Rewrote large parts of pkcs15-init for greater flexibility, and with
...
an eye towards separating some of the stuff into a library that can
be used by pkcs11.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@267 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-06 17:49:47 +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
jey
88553f6bfc
- now works with the new API
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@262 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-05 16:52:39 +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
okir
ffe5629e89
- started to work on PuKDF stuff
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@258 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 10:33:35 +00:00
okir
25f15f0ba1
- Added support for Juha's latest API changes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@257 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 09:33:46 +00:00
okir
12e6874f03
- Fixes for Juha's rewrite of sc_pkcs15_object and friends
...
- changes some names
- allow profile to set private key access flags
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@256 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 09:32:56 +00:00
okir
cbd72756ad
- Added default access_flags for private key objects
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@255 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 09:31:53 +00:00
okir
86df1c55ff
- adapted to juha's latest changes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@254 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 08:35:48 +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
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
okir
e256d97f65
- if required, read pin from stdin (fixed key download)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@250 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-02 14:03:41 +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
f0cba186a9
- we may have readline.h but may still not be able to link the lib
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@245 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-26 21:11:11 +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
ede029e1d7
- cleanup and misc minor fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@239 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 18:50:29 +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
aet
97a7957e35
Minor fixes to libreadline checking
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@236 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 18:43:16 +00:00
aet
4aa18a9ff9
Added support for checking libreadline and use it
...
for opensc-explorer if one is found.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@235 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 16:30:38 +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
9879318a6a
Add missing help text for --passphrase
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@232 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 13:51:11 +00:00
aet
c2cbf21baa
Obsolete
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@231 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 12:37:14 +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
9c594003ee
Add pkcs15-init
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@228 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 11:50:32 +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
69b1e1bdec
Get rid of PC/SC specific flags (thank god)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@226 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 11:06:03 +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
f605dc631c
- a small fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@218 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-22 20:46:43 +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
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
aet
888b3788de
Add install-exec-local and remove opensc-signer.{la,a},
...
any better way to do this?
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@202 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-29 14:38:40 +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
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
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
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
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
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
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
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
623e5ad1b4
- changed PIN1 path in PKCS #15 structure
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@184 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 15:37:01 +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
552d4b260b
Add *.u
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@181 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 11:22:23 +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
aet
5c8759a216
README updates after not so recent filename changes
...
sc-log.h cleanup for hst-test
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@176 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-20 18:24:53 +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
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
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
e95f8aee84
- small bugfix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@171 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 11:50:49 +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
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
jey
ffdc3c9a58
- fixed a goof in last commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@168 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 00:25:10 +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
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
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
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
e71e4492f3
Add opensc-explorer
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@153 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-09 13:50:46 +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
aet
6778d0b929
Add missing executables to .cvsignore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@151 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-08 20:03:57 +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
d35a8b3b7e
Add npinclude to SUBDIRS
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@146 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-07 12:41:41 +00:00
aet
9ca5849ab6
Fix another compiler warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@145 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-06 23:41:06 +00:00
aet
68482721cc
#include fixup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@144 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-06 22:17:31 +00:00
aet
f92775fabe
Fix few compiler warnings on Tru64
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@143 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-06 21:26:07 +00:00
aet
259efb3b11
Add CFLAGS_PCSC, CFLAGS_OPENSC, CFLAGS_ASSUAN, LIBOPENSC
...
Add PIN_ENTRY instead of hardcoding it to "/usr/local/bin/gpinentry"
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@140 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-06 19:40:24 +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
39c503ed7b
Syncing with OpenSC's source tree
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@138 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-05 22:24:14 +00:00
aet
6dbf1ae5e4
Add .cvsignore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@137 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-05 21:46:15 +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
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
aet
ee712b8b25
Warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@132 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-03 08:47:45 +00:00
aet
891c3dbf88
AIX cc fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@131 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-03 07:33:28 +00:00
aet
9bd6c8f9bb
Add getopt/getopt_long sources from GNU C Library.
...
Use them only if platform lacks support for getopt_long,
like most commercial operating systems do.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@129 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-02 22:15:31 +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
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
aet
6adf61a795
Remove unneeded install-exec-local
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@123 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-31 14:39:49 +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
8368c13f52
sc- -> opensc-
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@121 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-30 21:30:39 +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
f09933657a
- added missing files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@113 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-29 12:03:18 +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
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
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
db0740d1ca
- fixed some compile warnings
...
- updated TODO
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@108 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-28 14:19:41 +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
1d220ccdca
- added plugin description strings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@105 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-25 20:38:23 +00:00
jey
5d5738f185
- added "-avoid-version" to LDFLAGS
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@104 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-24 15:48:07 +00:00
jey
21960bd100
- updated to support latest version of OpenSC
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@103 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-23 15:48:02 +00:00
aet
b6d0249add
Add HAVE_SSL_AND_SSL conditional because automake isn't flexible enough
...
Minor fixes for libpcsclite probe
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@101 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-23 14:17:07 +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
8e5c50ff51
'make dist' fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@99 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 23:14:16 +00:00
aet
468a7e3daf
Fix LIBPCSCLITE
...
Rename COMPILE_PAM conditional to HAVE_PAM
Remove lex check from configure.ac
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@95 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 22:55:40 +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
baeae16754
Add opensc-ssh, pam_pkcs15-test, bas64, hst-test, lottery, p15dump,
...
pintest, prngtest, opensc-crypt and opensc-tool binary to .cvsignore.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@92 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 22:20:28 +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
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
503cbd4782
- added base64 conversion tool
...
- updated to work with latest version of OpenSC library
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@84 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-20 12:16:05 +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
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
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
5930ce8006
- updated OpenSSH support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@78 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-15 01:44:46 +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
166b369ffe
- meddled with command abbreviations
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@76 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-15 01:27:51 +00:00
jey
b1a85aace0
- fixed distribution tarball generation
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@75 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-15 01:10:53 +00:00
jey
89c1f182ca
- moved npunix.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@74 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-15 01:08:24 +00:00
jey
d52bd93544
- fixed changed "include" to "npinclude"
...
- added a note about assuan to README
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@73 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-15 00:57:33 +00:00
jey
ac3b36e8a5
- removed unnecessary assuan cruft
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@72 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-15 00:46:40 +00:00
jey
96be2f8d39
- added include files from Netscape plugin SDK
...
- removed hardcoded PIN
- added PIN dialog through assuan
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@71 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-15 00:39:45 +00:00
jey
bd9396d87f
- updated tools to support latest version of the library
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@70 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-14 16:37:45 +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
9fccf2c646
- added "learn-card" command to opensc-tool
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@68 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-11 14:53:22 +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
684623a2ec
- begun to implement PIN dialog
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@64 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-08 14:19:47 +00:00
jey
0fbe06b8eb
- first working version of signer plugin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@63 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-07 00:57:16 +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
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
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
c75812bcf8
- changed project name to OpenSC
...
- removed obsolete rsa_libsc.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@53 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-24 13:34:48 +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
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
jey
e0d6e06115
- small fix in sc-tool.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@49 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-21 22:40:27 +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
e5cf39b2eb
- small bug fixed
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@46 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-18 20:36:15 +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
eb4d366453
- added a PAM module playground directory
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@41 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-15 14:44:36 +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
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
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
3f727ca8b7
- added a 'return 0' statement
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@32 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-01 15:44: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
2ffefc3f83
- updated README.decrypt
...
- fixed a few compiler warnings
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@29 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-29 15:52:56 +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
2a981ac02c
removed hard-coded PIN code... =)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@27 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-24 14:48:25 +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
jey
a1af155018
dirty fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@23 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-22 21:05:07 +00:00
jey
0ba739b3d4
- quick and dirty fix applied
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@22 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-22 20:43:26 +00:00
jey
5df5aa7ca9
- added ability to compute digital signatures
...
- split functions to different files
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@21 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-22 20:07:59 +00:00
jey
4d8a79ca42
- implemented decrypt support
...
- split PIN related functions to a separate file
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@20 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-22 14:51:15 +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
68eedb40d2
small bug-fix in sc_enum_certificates()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@18 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 21:26:22 +00:00
jey
5414ed9bb0
- added struct sc_path
...
- implemented private key enumeration
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@17 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 21:22:16 +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
08fba4d225
sc_pkcs15_read_certificate now dynamically allocates output buffer
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@15 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 19:06:48 +00:00
jey
731312443b
- implemented certificate reading
...
- started to implement private key enumeration
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@14 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-21 18:55:59 +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
4636ef6516
fixed a weird escaping bug in sc_read_binary(). this could affect other
...
functions too. needs more research.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@8 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-20 20:33:10 +00:00
jey
9476addfa0
lots and lots of changes.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@7 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-20 16:54:54 +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
jey
ce82fc7316
Major additions and fixes to core API
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-19 23:23:16 +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
jey
a6a988ec68
some structural changes; might not even compile
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-19 17:30:59 +00:00
jey
2656921bbe
initial commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2 c6295689-39f2-0310-b995-f0e70906c6a9
2001-10-19 17:26:04 +00:00