gurer
4dd4d52921
AKIS can handle bigger data blocks, but that causes GET_RESPONSE calls.
...
So for a 300 byte file, this saves one transaction (244 + 56) instead of
(244 + 11 + 45).
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3273 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-23 10:19:43 +00:00
gurer
780b4afe8a
On a third thought, it is better to not introduce any confusion at all :)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3272 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-22 20:47:04 +00:00
gurer
eada3a7e1c
On a second thought, it is better to stay compatible with released
...
0.11.4 code, and still use ISO7814 pin_cmd.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3271 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-22 20:34:53 +00:00
gurer
3b47022051
* instead of using a custom PIN VERIFY command, pin_reference is
...
reported back, and used for verifying.
* PIN CHANGE command is implemented (that is really different
from ISO7816)
* max_pin_len is set to 16 in akis_init
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3270 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-17 11:41:28 +00:00
aj
09be225b83
cleanup *.tmp as well.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3269 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-10 07:09:28 +00:00
aj
833fae2a6b
Add code to check version information in several files. done by Peter Stuge.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3268 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-10 07:03:06 +00:00
aj
61769bfbee
Release 0.11.4 without changes.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3267 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-10 06:41:24 +00:00
aj
af9199b059
Appy patch by magog to build a static opensc_a.lib on windows.
...
Also removes *.lib on "make clean".
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3265 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-10 06:22:36 +00:00
aj
6882b13287
fix typo found by Gürer Özen.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3264 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-04 05:39:15 +00:00
nils
4d1871d74c
properly check return value
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3263 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-29 19:54:10 +00:00
nils
c2ee37e6c7
bugfix: select DF before setting sec. attributes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3262 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-29 19:32:23 +00:00
aj
c25e4f765c
akis update by Gürer Özen: implement logout code.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3261 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-28 20:35:27 +00:00
aj
43b7391a94
fix typo, found by Gürer Özen.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3260 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-28 20:35:06 +00:00
aj
177ff402f3
fix typo, found by Gürer Özen.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3259 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-28 20:34:42 +00:00
aj
11ec3adace
mark supported padding and a comment - by Gürer Özen
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3258 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-22 18:38:37 +00:00
aj
f9b30e48c4
fix typos, patch by Gürer Özen
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3257 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-22 18:38:02 +00:00
aj
26e2e5477f
update version info for windows.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3255 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-20 20:20:35 +00:00
aj
d27c1c1c36
trunk now after 0.11.4 release.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3252 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-19 18:55:44 +00:00
aj
68dd0e1c35
Update news file.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3250 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-19 18:55:11 +00:00
aj
5504092cd4
update libassuan m4 macro package to current version.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3249 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-19 18:37:46 +00:00
aj
832e325ff7
fix typo.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3248 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-14 06:17:34 +00:00
aj
3264588c3e
restores ability to change opensc-explorer debug level at
...
runtime, using "debug" command from opensc prompt. by Jakub Bogusz
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3247 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-14 06:02:51 +00:00
aj
d68964c7f3
keep libassuan as most users will not have this.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3246 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-14 05:55:56 +00:00
aj
9a10cdeebd
add cflags for ltdl.h where needed.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3245 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-13 19:10:26 +00:00
ludovic.rousseau
0cebca4ceb
the commands line tools do not call lt_dlopen() so do not need to link
...
with libltdl
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3244 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-13 08:32:07 +00:00
ludovic.rousseau
345ce22c63
use LTLIB_CFLAGS and LTLIB_LIBS instead of the global LIBS to find and use
...
libltdl
thanks to Alon Bar-Lev for the patch
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3243 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-13 08:30:19 +00:00
ludovic.rousseau
aeef9bae89
lib-link.m4, lib-prefix.m4 and lib-ld.m4 are provided by gettext but
...
is no more needed after revision 3239
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3242 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-10 13:06:50 +00:00
ludovic.rousseau
4b34601289
pkg.m4 is an external dependency provided by pkg-config (or similar)
...
package
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3241 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-10 13:05:25 +00:00
ludovic.rousseau
93b8784896
libassuan.m4 is an external dependency provided by libassuan-dev (or
...
similar) package
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3240 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-10 13:04:09 +00:00
ludovic.rousseau
e23612f9ad
do not use AC_LIB_LINKFLAGS() since this macro is provided by gettext
...
and we do not use gettext. Use AC_CHECK_LIB() instead
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3239 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-10 12:56:21 +00:00
ludovic.rousseau
f1e1ceafad
propset svn:ignore to ignore unversioned files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3238 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-10 12:51:30 +00:00
aj
a7912a2426
add information about cardos 4.2b - latest cardos update.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3237 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-08 20:06:53 +00:00
aj
f7636ab5db
Add same hack for Prime cards.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3236 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-03 07:47:13 +00:00
ludovic.rousseau
f0cbecfeb1
AM_LDFLAGS is not used in libpkcs15init_la_LDFLAGS so explicitly use it
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3235 c6295689-39f2-0310-b995-f0e70906c6a9
2007-08-02 13:53:40 +00:00
aj
c67c5fa70c
revert revision 3403 + 3404, seems to break mac os X.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3234 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-28 18:27:25 +00:00
aj
7ea1d00791
pkcs11-tool crashes while printing its usage message.
...
fixed by Ville Skyttä.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3233 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-28 18:22:07 +00:00
aj
8e37bfd68d
cryptoflex-tool.c:505: warning: array subscript is above array bounds
...
gcc 4.3 warning, reported and fixed by novell:
Problem found by David Binderman
Patch created by Michal Vaner
closes our trac bug #153 and novell bug 238660
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3232 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-28 18:18:39 +00:00
aj
e1002b91eb
fix a compiler warning.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3231 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-24 06:42:12 +00:00
aj
25e85b4cc9
Gürer Özen:
...
* akis_get_data() implemented
* akis_delete_file() implemented
* akis_set_security_env() implemented, pkcs15 signing works now
* life cycle set/get via cardctl implemented
* card_ops commented, so it is clear whether a function is supported via
iso7816 implementation or not
* mark pin apdu as sensitive in akis_pin_cmd
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3230 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-22 19:56:03 +00:00
aj
94c62b0b50
create plugin directory if it does not exist.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3229 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-21 07:31:26 +00:00
aj
8875fe0296
add explicit option to enable/disable the ns plugin. patch by Alon Bar-Lev.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3228 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-20 18:50:23 +00:00
aj
c1130f7f93
oops, define tmplen at start of block.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3227 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-20 14:38:46 +00:00
aj
a577a25813
silence a warning we get with siemens cards.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3226 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-20 13:47:17 +00:00
aj
d59917cd21
asn1_decode_entry() allocates (objlen - 1) bytes for SC_ASN1_UTF8STRING
...
types with SC_ASN1_ALLOC flag, then calls the sc_asn1_decode_utf8string()
function which then fails with BUFFER TOO SMALL cause it wants to end the
string with an extra NULL.
allocation size was supposed to be objlen + 1.
Patch by Gürer Özen
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3225 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-20 12:30:59 +00:00
aj
b757ff1719
Gürer Özen send another akis update:
...
* create_file implemented
* EF(DIR) hack removed, it is easier to put a real EF(DIR)
* SC_CARDCTL_GET_SERIALNR implemented
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3224 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-20 12:28:43 +00:00
aj
14bc32dda2
Sign by using the decrypt function.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3223 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-20 12:19:27 +00:00
aj
60e3e1e683
add akis support by Gürer Özen.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3222 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-17 20:01:55 +00:00
aj
fc20adecbc
Douglas E. Engert:
...
The IdAlly CSP calls C_FindObjectsInit looking for CK_PRIVATE_KEY before
C_Login with a pin. If it does not find any, it fails. The pkcs15-piv.c in
0.11.3 and 0.11.3-pre3 set the pubkey and prvkey objects as private.
This patch removes the SC_PKCS15_CO_FLAG_PRIVATE so IdAlly will work with the
PIV cards.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3221 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-15 15:29:40 +00:00
aj
a974aba32c
trunk is now post 0.11.3 release.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3219 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-11 14:47:26 +00:00
aj
d5600d2035
more updates.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3217 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-11 14:46:45 +00:00