aet
789d88fb12
Minor Solaris fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@525 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-16 10:33:28 +00:00
aet
7c9e5d667e
Add stdlib.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@524 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-15 18:03:45 +00:00
okir
596220e821
- pkcs15-init does not require openssl anymore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@523 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-15 13:42:10 +00:00
aet
1ec7a85e51
libsc -> opensc
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@522 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-14 13:52:58 +00:00
jey
43ecd78941
- Fixed ACL handling in MioCOS driver
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@521 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-14 12:43:47 +00:00
okir
9f7fbf2b8c
- C_CreateObject now understands X509 certs (untested)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@520 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-13 19:00:37 +00:00
okir
f5dc78bf44
- minor fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@519 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:53:05 +00:00
okir
2b8b355992
- implemented C_CreateObject for public and private key objects
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@518 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:17:33 +00:00
okir
881de42ca0
- changed to reflext pkcs15init_store_foobar update
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@517 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:14:40 +00:00
okir
55a14b0ebf
- all sc_pkcs15init_store_foobar functions now take an additional struct sc_pkcs15_object ** argument
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@516 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:14:12 +00:00
okir
b6119fc92e
- avoid unchecked memcpy
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@515 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:13:09 +00:00
okir
34a3912fdf
- in set_security_env, select the PK file prior to read_record
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@514 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:12:41 +00:00
aet
cfe585e479
Remove openssh-3.0.2p1-patch.diff
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@513 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 14:31:32 +00:00
jey
3ec97d9815
- Added a missing file from a previous commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@512 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-10 23:10:47 +00:00
jey
87e27b00a4
- Changed an error code as per Andreas' suggestion
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@511 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-10 23:00:38 +00:00
jey
52c433a7ae
- Added support for Aladdin eToken PRO; patch by
...
Andreas Jellinghaus <aj@dungeon.inka.de>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@510 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-10 22:25:44 +00:00
aet
0ab6d49be9
Minor cleanups
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@509 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-09 13:26:51 +00:00
aet
321c81571a
- Update ChangeLog
...
- Update src/openssh/README
- Removed obsolete patch for openssh-3.0.2p1
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@508 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-09 12:32:56 +00:00
aet
e09a184f71
sc-ssh -> opensc-ssh
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@507 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-09 12:20:07 +00:00
aet
91609ed93c
Free memory
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@506 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-09 11:34:00 +00:00
aet
644f4b0c7e
- Revert previous patch since it leads to a sigsegv if we
...
parse file multiple times. Damn it, so lex allocates a 16kB
buffer that it won't free any time. At least this could be
solved some other time by rewriting a separate line parser
without lex.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@505 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-09 11:24:33 +00:00
aet
9b2a5fe727
Free yy_current_buffer since lex doesn't do it
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@504 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-09 11:01:04 +00:00
jey
45e882f11f
- Added a missing include file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@503 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-09 10:59:40 +00:00
okir
53a112eda2
- implemented C_InitPIN (based on pkcs15init)
...
- C_Login now understands the SO PIN.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@502 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:51:19 +00:00
okir
72856a7c04
- cleanup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@501 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:50:11 +00:00
okir
ec35a9215a
- free some more memory in sc_profile_free
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@500 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:50:02 +00:00
okir
01d4f00dea
- SO PIN is now optionally: if you want to use it, pass a PIN to
...
sc_pkcs15init_add_app. If you don't, don't.
- sc_pkcs15init_erase_card checks whether the erase_card funcion ptr is NULL
- check SO pin len in sc_pkcs15init_add_app
- In sc_pkcs15init_store_pin, if the caller didn't specify the auth_id,
select one automatically
- added sc_pkcs15init_unbind
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@499 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:49:39 +00:00
okir
3e11f90b22
- added sc_pkcs15init_unbind
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@498 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:46:44 +00:00
okir
59cd95af2c
- SO PIN path was not propagated to the caller
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@497 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:46:27 +00:00
okir
2d47103692
- implemented sc_pkcs15_find_so_pin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@496 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:45:28 +00:00
okir
01e506e5ed
- When the application selected the EF, then the container DF, all
...
PIN info would be lost.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@495 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:45:13 +00:00
aet
b504fa0720
Remove scam_framework_ops->atrs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@494 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 14:57:20 +00:00
okir
13ab0f5993
- store SO PIN entry in AODF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@493 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:29:37 +00:00
okir
1f8790e22e
- textual pin flags; defer pin file lookup until sc_profile_finish
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@492 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:29:15 +00:00
okir
24a45e2aad
- implemented SO PIN handling
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@491 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:28:26 +00:00
okir
c57272353a
- enable SO PIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@490 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:28:02 +00:00
okir
6e3a42fba0
- add pin descriptions
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@489 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:27:48 +00:00
okir
517395b2eb
- pin flags were not encoded correctly
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@488 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:23:17 +00:00
aet
be9518e8a6
- Upgrade all modules to store method specific internal
...
data to scam_context->method_data
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@487 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 08:27:34 +00:00
aet
23fa9aeed4
Started to rewrite parts of scam:
...
- Combine lib{pam,sia}scam into libscam
- Get rid of the need for handles, printmsg
and logmsg in the scam_framework_ops
structure.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@486 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-07 19:36:59 +00:00
jey
60fc3811eb
- Added support for user-defined serial numbers in
...
pkcs15-init and PIN flags in profiles
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@485 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-07 13:15:31 +00:00
aet
2936e46e12
Warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@484 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-07 10:21:00 +00:00
jey
5259182d3e
- Changed CLA byte to 0xA0 in miocos_delete_file()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@483 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 15:04:14 +00:00
jey
74d0b3d729
- Added user PIN finding to sc_pkcs15init_store_certificate()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@482 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 14:52:50 +00:00
jey
1b344d3ee4
- Added certificate templates
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@481 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 14:21:40 +00:00
jey
6e0b7dea2c
- Divided errors into different groups, added new ones
...
and renamed some
- Moved sc_strerror() to errors.c
- Added a 'sensitive' flag to struct sc_apdu
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@479 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 12:02:28 +00:00
aet
f781a14ae4
Fix some typos
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@478 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 08:21:40 +00:00
aet
6efa88796f
Add errors.h and types.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@477 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 08:02:58 +00:00
okir
26d2f25b76
- include/opensc fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@476 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 18:49:03 +00:00
okir
7e5af94455
- C_InitToken: after creating the application DF, switch to the
...
normal pkcs15 framework on the fly and mark all tokens as initialized.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@475 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 18:19:53 +00:00
aet
11c937991b
Change calling convention for sc_module_close()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@474 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 18:10:17 +00:00
aet
ddb49064d6
Minor warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@473 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:51:34 +00:00
jey
0875849c61
- Started to split opensc.h into smaller parts
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@472 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:06:33 +00:00
okir
23ff14fb06
- added erase command
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@471 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:04:35 +00:00
okir
d4ee9df5ce
- added new pkcs15init framework that implements C_InitToken
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@470 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:03:03 +00:00
okir
829e7f6712
- added initialize() function to card ops vector
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@469 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:02:41 +00:00
okir
d28bb6082a
- Added C_Initialize
...
- Minor bugfix in C_Finalize
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@468 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:02:18 +00:00
okir
84943898b9
- add CKF_TOKEN_INITIALIZED flag
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@467 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:01:43 +00:00
okir
c1a8dc8c23
- implemented sc_pkcs15init_get_{serial,amnufacturer}, fixed bug
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@466 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:56:21 +00:00
okir
65d82412cb
- try to free all memory we allocated
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@465 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:55:37 +00:00
okir
93ee58e07e
- during add_app, just complain about SO PINs but don't error out
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@464 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:55:07 +00:00
jey
22636c2df9
- Added SC_ERROR_FILE_ALREADY_EXISTS
...
- Changed call convention for reader finish()
- CT-API driver now frees its resources correctly
- Added year 2002 to some of the copyright statements
- sc_pkcs15_decipher() and sc_pkcs15_compute_signature()
now select only the parent DF of the private key file
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@463 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:46:44 +00:00
aet
a23faf7a8a
Symlink all necessary headers
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@462 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:23:07 +00:00
jey
41b184855b
- Fixed a bug in sc_pkcs15init_bind()
...
- Added PIN code padding in do_verify_pin()
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@461 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:00:27 +00:00
aet
3938287c71
Add missing directory
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@460 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 13:49:52 +00:00
aet
076a26bbac
Rework the header structure
...
Currently fails to compile, unless you symlink
all the necessary headers to src/include/opensc
by yourself.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@459 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 13:48:00 +00:00
aet
d81d10ba90
Upgrade sources to use new headers, part #1
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@458 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:44:51 +00:00
aet
97faef3c6f
Obsolete.
...
opensc-emv.h, opensc-pkcs15.h --> emv.h, pkcs15.h
sc-asn1.h, sc-internal.h, sc-log.h --> asn1.h, internal.h, log.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@457 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:37:29 +00:00
aet
fbf86e6728
Install headers to ${prefix}/include/opensc
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@456 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:25:14 +00:00
okir
10e95ba4b6
- don't include profile.h anymore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@455 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:06:10 +00:00
okir
1b113614b3
- miniscule API changes so that applications don't need to include profile.h anymore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@454 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:05:50 +00:00
okir
33890a1545
- file type is now also a struct map
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@453 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 08:45:14 +00:00
jey
dc444cde54
- Cryptoflex now works with the new pkcs15init stuff
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@452 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 22:10:36 +00:00
jey
e5496e9be9
- Partial support for PKCS #15 generation on MioCOS cards
...
- Some other small fixes to the pkcs15init code
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@450 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 20:42:29 +00:00
jey
e172e6678d
- Cleaned up MioCOS driver and added PIN code creation
...
- Added an error message in case ODF parsing fails
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@449 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 20:40:40 +00:00
jey
2b49129311
- DER decoder now treats 0xFF tags the same way as 0x00 tags
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@448 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 20:38:09 +00:00
jey
1446fc11e1
- Made clearer the error message resulting from an incorrect PIN code entry
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@447 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 20:37:27 +00:00
okir
059813818b
- the previous fix broke do_verify_pin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@446 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 19:58:23 +00:00
aet
984b5b2a2b
Minor warning fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@445 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 15:06:13 +00:00
aet
1ef47d245b
Workaround for a compiler problem (Sun WorkShop 6 update 2 C 5.3 Patch 111679-05 2002/02/07)
...
Still lots of bogus warnings, but at least everything compiles
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@444 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 15:02:08 +00:00
okir
218b784f0d
- added internal-ef for juha
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@443 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 14:34:42 +00:00
aet
9e31eb6f74
Checkpoint commit for SIA support, doesn't work yet
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@442 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 14:21:04 +00:00
aet
6f197a035d
Fix minor compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@441 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 12:44:57 +00:00
aet
7d055a17a3
Update TODO and Changelog
...
'make dist' fixes
Add missing README for OpenSC-Signer
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@440 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 11:14:07 +00:00
aet
5c3c163862
Merge opensc-signer to opensc/src/signer, part #1
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@438 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 10:40:24 +00:00
jey
d232bf29dd
- ctapi_release() now calls CT_close(), as it should
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@437 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 09:20:44 +00:00
jey
0fe85e6563
- Added typedefs for the most common structs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@436 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 09:20:19 +00:00
jey
28fc4bc0cd
- fixed a typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@435 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 14:16:19 +00:00
okir
5cba842fde
- shouldn't set key_reference
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@434 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 14:15:03 +00:00
aet
fef2ac364c
Minor warning fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@433 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 12:59:53 +00:00
okir
b90104b1de
- renamed PKCS15-DIR to DIR per juha's request
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@432 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 12:53:14 +00:00
okir
803124d55d
- moved gpk specific MF ACL to the gpk profile, where it belongs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@431 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 12:46:26 +00:00
okir
966903811c
- updated TODO list
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@430 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:57:58 +00:00
okir
5d687de06f
- fixed exit code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@429 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:56:59 +00:00
okir
ae8e3908c4
- rewrote config files to match new parser
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@428 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:55:21 +00:00
okir
3b16e35af1
- rewrote parser to use Antti's scconf
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@427 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:52:30 +00:00
okir
0683b3463f
- added two new error codes for pkcs15init
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@426 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:51:07 +00:00
jey
369889ace5
- fixed a small bug regarding prop_attr in the SetCOS driver
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@425 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 21:26:42 +00:00
aet
edfb4dd7f0
Minor compiler warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@424 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 20:58:18 +00:00
okir
776fa9030c
- support for SO pin during app initialization
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@423 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 14:46:32 +00:00
okir
f4ff4f4617
pkcs15-gpk.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@422 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 14:45:55 +00:00
okir
efa136e3cd
- added sc_pkcs15init_present_pin for juha
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@421 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 14:27:00 +00:00
aet
3e6525539a
Add .cvsignore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@420 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:43:37 +00:00
aet
d5100f065c
Generate src/pkcs15init/Makefile
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@419 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:38:57 +00:00
okir
517f19ca17
- added new subdir pkcs15init
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@418 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:30:01 +00:00
okir
c90dfd18e9
- moved most of the pkcs15init stuff to libpkcs15init
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@417 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:29:30 +00:00
okir
c1f2403d61
- rewrote pkcs15-init; much of the init stuff moved to separate library
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@416 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:28:31 +00:00
okir
b6bf368fd2
- rewrite of the pkcs15-init stuff
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@415 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:26:42 +00:00
okir
4c48335672
- sc_pkcs15_get_objects() now lets you search for generic types
...
(e.g. SC_PKCS15_TYPE_PRKEY) too.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@414 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 12:58:09 +00:00
okir
7a87a5c156
- added SC_AC_SYMBOLIC for pkcs15init support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@413 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 12:57:17 +00:00
okir
98c612fc25
- indentation fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@412 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 11:41:00 +00:00
aet
5a824f3fab
Add maintainer-clean patch by Andreas Jellinghaus <aj@dungeon.inka.de>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@411 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 09:38:06 +00:00
aet
b2a10c12e7
Remove flag SCCONF_OPTIONAL, add SCCONF_MANDATORY
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@410 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-31 19:15:04 +00:00
aet
2fbf01e87d
Remove #include "config.h", sc-internal.h already does that
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@409 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-31 16:32:07 +00:00
aet
70306822d2
Include header stdio.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@408 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-31 16:00:29 +00:00
aet
b308cabd5f
- Upgrade scldap to use scconf_parse_entries();
...
- Fix compiler warnings for ct-api driver, untested.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@407 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-31 15:26:25 +00:00
aet
d9f44ecde3
Upgrade test-conf to use scconf_parse_entries();
...
NOTE: Handles ldap/card blocks for scldap.conf
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@406 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-31 13:00:41 +00:00
aet
eb7b050a1d
Add functions scconf_list_add and scconf_parse_entries,
...
getting the values in user code is now pretty much the
same as it is in ASN.1 decoder.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@405 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-31 11:30:54 +00:00
jey
7ddcb3d692
- sec_attr and prop_attr are now dynamically allocated in
...
struct sc_file
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@404 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-28 14:13:36 +00:00
aet
88530c8dba
- Added sanity check for sc_establish_context.
...
If no readers are found, fail and return
SC_ERROR_NO_READERS_FOUND.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@403 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-28 13:34:51 +00:00
aet
e589a94aac
Add missing @LIBDL@ to libopensc linking
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@402 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-28 13:10:53 +00:00
aet
8f6ffee6a9
- Minor cleanups to build process
...
- Add header check for dlfcn.h
- Add internal functions sc_module_{open,close,get_address}
- Use environ instead __environ for scldap_search, should be
more portable.
- Fix compiler warnings noticed by Tru64 / AIX cc
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@401 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-27 13:13:54 +00:00
aet
86a47efdec
Reduce the scidi specific code to bare minimum
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@400 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-26 23:06:47 +00:00
aet
2d017e7f02
Add missing character
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@399 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-26 20:59:15 +00:00
aet
19f7f1073a
Rename scconf_init to scconf_new
...
Rename scconf_deinit to scconf_free
Add initial comments to scldap.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@398 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-26 20:56:13 +00:00
okir
4502555bcc
- fix signing of raw md5/sha1 hash w/o pkcs1 gunk prefix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@397 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-26 20:05:28 +00:00
jey
59d4e9b7be
- Added support for CT-API
...
- Improved config file loading
- Implemented ATR parsing
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@396 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-26 11:38:40 +00:00
aet
b2d2bc77ae
Rename scconf_find_value to scconf_find_list
...
Rename scconf_find_value_first to scconf_get_str
Add functions scconf_get_int and scconf_get_bool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@395 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-25 22:39:22 +00:00
aet
c69d1b59df
Always allocate scconf_list for block structure
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@394 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-25 21:23:32 +00:00
aet
aa5ec6bae1
Add sanity checks and more comments
...
Add new parameter for scconf_find_blocks
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@393 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-25 20:10:44 +00:00
aet
fc170197d1
Add support for config.h
...
Remove old, obsolete and dead code
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@392 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-25 12:39:35 +00:00
aet
bfe2df2341
Still changes for libreadline checks output
...
Clear environment before calling ldap_init, as suggested by Olaf
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@391 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-25 11:54:10 +00:00
jey
c730a4dab7
- fixed some memory leaks in sc_establish_context
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@388 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 22:54:41 +00:00
jey
cd4e3650a4
- Moved functions from sc.c to ctx.c
...
- Card and reader drivers are now configurable
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@387 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 22:47:35 +00:00
aet
ec6f8961b0
Don't hardcode initial debugging level and error/debug_file
...
pointers to the code, get the values from opensc.conf instead.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@386 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 21:56:13 +00:00
aet
2142557bb8
Allow user to specify input/output filenames
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@384 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 20:04:45 +00:00
aet
7d27225e0c
Oops, scconf_parse was called twice. Fixed.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@382 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 17:09:47 +00:00
aet
21aae9c4d0
- Fix a potential segfault for the new sc_establish_context
...
- Keep the variable names in opensc.conf the same as they
are in code structs.
Always try to parse app default { } first, then upgrade
the settings with the application specific configuration block.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@381 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 16:57:39 +00:00
aet
0cad904c86
Move opensc/src/scldap/etc to opensc/etc
...
SCLDAP_CONFIG -> SCLDAP_CONF_PATH
Upgrade the rest of the programs to use new core API
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@380 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 15:41:33 +00:00
jey
f21926af00
- Started to add configuration file support to
...
libopensc
- Added typedefs for some basic structs (e.g.
struct sc_card --> sc_card_t)
- Added a second argument to sc_establish_context()
to identify the calling application
- Renamed sc_destroy_context() to sc_release_context()
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@378 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 14:12:38 +00:00
jey
ffe0282a93
- fixed a typo in one ATR string
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@377 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 14:06:40 +00:00
aet
e9ee0ff146
- Fix compiler warnings for Solaris
...
- Use of PAM_MODULE_UNKNOWN broke pam_opensc for Sun based
PAM implementations, fixed.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@376 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 12:14:19 +00:00
aet
7400bb9ee3
Make sure everything compiles even if we don't have
...
an LDAP implementation and/or OpenSSL library.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@375 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 10:03:47 +00:00
aet
fc4025e90d
Strip off "opensc-" prefix from the p15 module names
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@373 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-23 16:28:16 +00:00
aet
77c94c2793
'make dist' fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@372 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-22 13:56:44 +00:00
aet
94feddd9f5
Disable a debugging message that got activated because of
...
log_messagex -> fprintf renames.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@370 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-22 01:14:20 +00:00
aet
50e266567a
Fix memory leaks
...
Indent lines
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@369 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-22 00:13:25 +00:00
aet
6e3a09fa7b
Remove bogus "len = len;" statement from pkcs15-cert
...
Other minor cleanups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@368 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 23:45:03 +00:00
aet
6b4a2fd599
Merge bits of information from pam_pkcs15's README for opensc-pkcs15-eid
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@367 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 19:12:40 +00:00
aet
8628df17b5
Move get_login() to pam_support.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@365 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 18:02:23 +00:00
aet
0cfbcb8fd6
Cleanups for PAM and SIA build process
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@364 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 17:41:32 +00:00
aet
504b0ae2b9
Merge configure.ac stuff from SCIDI, needs some cleanups
...
Add missing functions
Replace log_message{x}() calls with fprintf, for now
Everything compiles with vanilla opensc tree, yet untested.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@363 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 14:05:24 +00:00
aet
dc50994696
Build fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@362 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 13:11:21 +00:00
aet
beb361fcb9
Add preliminary version of SIA module for Tru64
...
Compiles, doesn't work yet. To be finished when
someone returns my development alpha. :)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@361 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 11:56:01 +00:00
aet
20121316a7
Oops, indent fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@360 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 11:35:06 +00:00
aet
b50a0c7bf7
Build fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@359 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 10:43:38 +00:00
okir
5006b0d151
- added some #include string.h statements for RH 7.2
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@357 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 09:36:38 +00:00
aet
0f95c1c6de
Start merging various sources from project SCIDI - smart card
...
identification infrastructure by Helsinki University of Technology.
Breaks current PAM build, lot's of stuff from configure.ac
missing, some references to unknown sources and functions.
Time to get some sleep, i'll continue merging tomorrow.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@356 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 23:21:22 +00:00
aet
34af339510
#include cleanups to get rid of compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@351 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 19:33:52 +00:00
jey
7b6371dae1
- Added Olaf's ASN.1 wrapping magic
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@350 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 19:31:56 +00:00
jey
ac3c33d26c
- Fixed debug output in pkcs15_create_slot()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@349 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 17:17:48 +00:00
okir
7952f81721
- implemented C_ChangePIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@348 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 15:04:14 +00:00
okir
853d414fc3
- implemented CKA_SUBJECT
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@347 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 13:08:51 +00:00
okir
8f07d6706d
- now extracting issuer from certificate
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@346 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 13:08:09 +00:00
jey
3fa7a056f1
- Fixed a couple of memory leaks
...
- Fixed a bug in decoding EF(TokenInfo)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@344 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-19 10:04:11 +00:00
okir
e630a05dd5
- make it compile with readline versions that declare readline(char *);
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@343 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-18 13:24:06 +00:00
okir
21911ebf4c
- by default, the token is marked write_protected
...
- fixed debug output when creating a slot with no PIN
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@342 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-18 12:49:46 +00:00
okir
f82c470cb5
- do not enable the RSA flag n netscape
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@341 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-18 12:49:08 +00:00
okir
51ccfe79f4
- made email decryption work in netscape
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@340 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-18 11:05:21 +00:00
okir
6953286d01
- first stab at C_Unwrap
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@339 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 15:22:41 +00:00
okir
7d6cf8fa81
- extract certificate issuer and store it in sc_pkcs15_cert
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@338 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 15:19:34 +00:00
jey
a3b521a704
- started adding support for DSA private keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@337 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 12:48:06 +00:00
okir
563515dc46
- email signing now works from navigator
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@336 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 12:37:31 +00:00
okir
6d4988f12a
- set debug log file and libopensc debug level via environment vars
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@334 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 11:41:16 +00:00
jey
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