okir
bd96ae9be3
- C_Sign* and C_Digest* now return the proper codes when the output buffer
...
is too small, or when the caller is doing and output buffer size query
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@822 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 14:28:50 +00:00
okir
675ef65073
- default apdu_fix=1 on win32
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@821 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 13:27:19 +00:00
okir
939d78a72d
- allow hard-coded config options
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@820 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 13:26:58 +00:00
okir
3dc71272a5
- added support for parsing a static configuration string
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@819 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 11:54:02 +00:00
okir
1c22c55655
- Try to fix pkcs11.hide_empty_slots
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@818 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 11:40:11 +00:00
okir
0ffa466eab
- sc_pkcs11_slot_t typedef added
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@817 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 11:39:59 +00:00
okir
36930668fb
- Added run-time option pkcs11.cache_pins, default false
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@816 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 11:09:45 +00:00
okir
8e6dc966b5
- Added run-time option pkcs11.lock_login
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@815 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 10:49:07 +00:00
okir
93c0cab7b9
- win32 fixes from stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@814 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-02 15:31:53 +00:00
okir
8abb5fa801
- Getattr(CKA_MODULUS_BITS) would fail for keys w/o certificate
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@813 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-02 15:23:08 +00:00
okir
c010358bbc
Update
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@812 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-23 19:17:44 +00:00
okir
9acca0e724
- Implemented new PIN verify/change/unblock framework. All PIN operations
...
are routed through sc_pin_cmd(), which builds the APDU and either passes
it to the card directly, or to the card reader along with a request to
read the PIN(s) from the reader's keypad.
Currently, entering PIN in the standard way (i.e. via the application)
should still work - I have verified GPK and eToken; Cryptoflex verify
should work as well. Anything else needs additional testing, and support
for keypad input in particular (I cannot test this at the moment for
lack of a suitable reader).
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@811 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-23 18:47:27 +00:00
okir
604e9cd318
- the AC CHANGE condition of the PIN objects we created referenced the
...
PUK, rather than the PIN. This caused the standard sc_change_reference_data
operation to fail.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@810 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-23 18:43:04 +00:00
okir
4419574608
- NUL-terminate strings returned by getattr(CKA_LABEL)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@809 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-23 17:02:05 +00:00
okir
079821b8c4
- Added --hash/-h to hash data (Stef Hoeben)
...
- Added function to translate CKR_* error codes to strings.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@808 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-22 23:16:47 +00:00
okir
8c7bfd1a3d
- define enough reader slots
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@807 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-22 20:50:25 +00:00
aet
1ddde4e899
- Add access, mkdir and getpass wrappers into winconfig.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@806 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-22 14:43:13 +00:00
okir
d1fa35e1d0
- slightly changed previous patch; new flag hide_empty_slots
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@805 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-22 11:50:41 +00:00
okir
0babb91194
- Allow the admin to configure how many slots are used per card
...
(opensc.conf; pkcs11.num_slots)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@804 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-21 16:45:37 +00:00
okir
3b7ebc7c02
- clarified use of conf_blocks in process_config_file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@803 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-21 14:10:36 +00:00
okir
4c28f0dad8
- prevent buffer overflow
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@802 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-20 14:55:17 +00:00
okir
34d45b2210
- minor signedness issue
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@801 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 21:17:06 +00:00
okir
882c5b9ed3
- implemented unblock command
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@800 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 19:42:51 +00:00
okir
0980825796
- get rid of warnings when calling load_card_driver_options
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@799 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 16:16:42 +00:00
okir
a7615abdeb
- attempt to fix DODF encoding/decoding
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@798 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 14:26:54 +00:00
okir
6d324715da
- add missing help message for --module
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@797 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 10:49:28 +00:00
okir
a16772681c
Update
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@796 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 09:34:19 +00:00
okir
d22d1b13a4
- Another fix to mechanism handling: ripemd160 signatures should work now
...
- Got rid of get_mechanism_{list,info} in framework_ops, as they're not
needed anymore.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@795 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 09:27:08 +00:00
okir
9a472d4e65
- fixed rsa-ripemd160 signatures
...
- Added new option --module
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@794 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 09:24:58 +00:00
okir
1dab7bb7b6
Compile fix from Serge Koganovitsch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@793 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 19:28:47 +00:00
okir
fc26b49ee5
- Values of CKA_SIGN and similar attributes now based on the pkcs15
...
usage flags rather than on some hardwired defaults.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@792 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 19:26:18 +00:00
okir
d37c1ff58c
- fixed pkcs1-ripemd160 signature header
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@791 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 12:15:04 +00:00
okir
0f57fdf2cf
Update
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@790 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 11:40:02 +00:00
okir
337674d65a
- Added helpful comment about --use-default-transport-keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@789 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 11:34:35 +00:00
okir
b86d2e994b
- First shot at pkcs15 data objects from Danny De Cock
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@788 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 10:17:01 +00:00
okir
ca82169e63
- removed some dead code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@787 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 09:23:10 +00:00
okir
aef2a27160
Update
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@786 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 22:13:54 +00:00
okir
2e4f640c2d
- More win32 fixes from Stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@785 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 20:44:48 +00:00
okir
7bc0d11c4e
Update
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@784 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 20:20:26 +00:00
okir
647d4bcdef
- Register only those mechanisms the card actually supports
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@783 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 20:16:31 +00:00
okir
0c16b3d887
- Added shorthand rsa-ripemd160
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@782 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 20:15:56 +00:00
okir
5ef34fc7bc
- Added support for SC_ALGORITHM_RSA_HASH_RIPEMD160 in sc_pkcs15_compute_signature
...
- rewrote add_padding
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@781 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 20:15:32 +00:00
okir
3f584dbb1f
- Added SC_ALGORITHM_RSA_HASH_RIPEMD160
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@780 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 20:14:41 +00:00
okir
29dd06ba9f
- more win32 fixes from Stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@779 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 16:00:40 +00:00
okir
96c953c5a3
- generate header symlinks for libpkcs11
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@778 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 12:37:44 +00:00
okir
d584e80d71
- build pkcs11 before tools, as pkcs11-tool needs libpkcs11
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@777 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 11:51:07 +00:00
okir
ffd4773e20
- New application: pkcs11-tool
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@776 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 11:50:11 +00:00
okir
21dfabee27
- New mechanism framework
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@775 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 11:49:12 +00:00
okir
a01b8d0b24
- New mechanism framework
...
- New libpkcs11 utility library
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@774 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 11:48:54 +00:00
okir
317a0663c9
- New utility library libpkcs11 - supposed to provide easy loading and
...
unloading of modules, and possibly a few other features in the future.
Needed by pkcs11-tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@773 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 11:48:14 +00:00