aet
bb97c0d094
- Add new files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1588 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 13:59:27 +00:00
okir
13a11083e1
- initialize tries_left field to -1 when parsing AODF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1587 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 12:31:54 +00:00
okir
cb5e179042
- Moved p15 print_card function here
...
- print preferred_language, if given
- don't print pin path if there is none
- print tries_left if present
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1586 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 12:29:12 +00:00
okir
fd1272c767
- moved p15 print_card to tests/print.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1585 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 12:28:15 +00:00
okir
16ec507738
- Rewrote sc_pkcs15_bind_synthetic a little
...
- Started work on pkcs15 emulation for OpenPGP card
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1584 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 12:27:14 +00:00
okir
d91ecdc245
- Moved sc_pkcs15_bind_synthetic to a separate file
...
- Moved sc_pkcs15_print_card to ../tests/print.c
- added dll_handle and preferred_language fields to p15card
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1583 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 12:26:24 +00:00
sth
78949a9bcb
Make the PIN for the 'onepin' option look like a user PIN instead of an SO PIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1582 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 07:48:35 +00:00
okir
ee68df94f0
- added some support for OpenPGP cards
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1581 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 17:04:50 +00:00
okir
0f32616c20
- added initial support for openpgp card driver
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1580 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 17:04:22 +00:00
okir
99e999d64c
- added sc_get_data/sc_put_data
...
- added openpgp card driver
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1579 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 17:04:02 +00:00
okir
c072c5e0fe
- added sc_get_data/sc_put_data
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1578 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 17:03:41 +00:00
okir
ef4f132e61
- added SC_ERROR_DATA_OBJECT_NOT_FOUND
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1577 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 17:03:09 +00:00
okir
323240fa44
- small fix in mcrd_finish
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1576 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 15:43:19 +00:00
okir
7ea930a030
- return error if cflex_create_dummy_chvs fails
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1575 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 12:03:31 +00:00
okir
728a6a4ade
- Another broken commit message :-/
...
What the previous commit was all about:
If we store a pkcs12 files on the card, it stores a key @45,
and a CA certs @46. When storing another p12 file, we must make
sure we don't grab the next free key ID (46), because the
corresponding CERT ID is already taken. We must skip all IDs for
which a key or cert exists.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1574 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 11:47:37 +00:00
okir
d3d7664c11
- Changed the internal object search machinery quite a bit so it
...
can search for more than one type of object at the same time.
- When enumerating a DF as part of the search, no longer ignore all
errors.
- When parsing a DF, SC_ERROR_ASN1_END_OF_CONTENTS really means
we've just reached the end of data in the file, so return 0
instead
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1573 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 11:43:21 +00:00
okir
6e9412cd98
- When encountering the end of a SEQUENCE, while there should be
...
more items, we used to return SC_ERROR_ASN1_END_OF_CONTENTS.
That error code is reserved for the real end of content markers
though. Changed the return code to SC_ERROR_ASN1_OBJECT_NOT_FOUND
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1572 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 11:38:05 +00:00
okir
a9d9aa2877
- When storing a p12 bag, check if the CA cert is already present and skip
...
it if so.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1571 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 11:36:04 +00:00
okir
60892cd0a3
- added recommendation about 2 cert/key pairs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1570 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-30 11:13:11 +00:00
okir
c29e7d8510
- don't call sc_module_get_address when we dont have a dll handle
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1569 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-28 12:50:43 +00:00
okir
ead350c269
- now uses new sc_ui_get_pin function
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1568 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-24 13:20:18 +00:00
okir
5a27b4e81e
- Changed ui API to offer more knobs and dials
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1567 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-24 13:18:17 +00:00
aet
c693c4799c
- Merging between Makefile.am<>Makefile.mak
...
- Add ui.h to main distribution tarball, snapshots have
been broken for a few days
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1566 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-23 09:12:48 +00:00
aet
e62eea5351
- Minor cleanups and a warning fix
...
- sc_release_context: free ctx->preferred_language if set
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1565 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-22 18:16:21 +00:00
aet
28fcfde1fd
- Replace WIN32 with HAVE_UNISTD_H instead
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1564 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-22 08:51:41 +00:00
sth
23d1ca554e
Let the new UI code compile under Windows
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1563 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-22 08:43:27 +00:00
sth
fc4cd7c1af
'Export' keychache.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1562 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-22 06:56:51 +00:00
sth
c57ac69e56
Fix: spurious error message (Chaskiel & Kevin)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1561 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-22 06:56:10 +00:00
okir
2b6516bd99
- allow to call scripts with --soft and -d
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1560 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-22 06:51:55 +00:00
okir
931a1dd28a
- added error/debug message support to ui.c
...
- sc_error/sc_debug now use the new ui code
- added language support
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1559 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-22 06:49:59 +00:00
okir
8a5f130af8
- do an sc_select_file inside do_get_pin_and_verify in case we called
...
a pkcs15 function that enumerated the AODF
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1558 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-22 05:43:57 +00:00
okir
879bd50290
- call sc_pkcs15init_set_p15card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1557 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 13:30:12 +00:00
aet
4615d5eb87
- Add necessary automake conditionals to install-exec-local
...
rule, as it seems to be executed even though lib_LTLIBRARIES
is empty in some cases.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1556 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 12:50:04 +00:00
aet
7d34d6b6ee
- Sort filenames
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1555 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 12:48:38 +00:00
aet
f046d5024e
- Add gcc option -fno-strict-aliasing
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1554 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 12:27:47 +00:00
okir
5791395e74
- Added new user interface code (not used yet)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1553 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 11:12:32 +00:00
okir
f730572f34
- install ui.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1552 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 11:12:07 +00:00
okir
a644d83d68
- added message for SC_ERROR_CANNOT_LOAD_MODULE
...
- changed the wording of some SC_ERROR_KEYPAD_* messages
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1551 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 11:11:50 +00:00
okir
72788e32ec
- added SC_ERROR_CANNOT_LOAD_MODULE
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1550 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 11:11:19 +00:00
okir
ae2cfe8a46
- sc_pkcs15_find_pin_by_reference now searches by reference _and_path_
...
- profile->p15_card renamed to p15_spec, as it reflects what _should_
be on the card
- added profile->p15_data, which is what _is_ on the card
- make do_get_pin_and_verify use the sc_pkcs15_find_pin_by_reference
properly.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1549 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 11:05:35 +00:00
okir
9e70efba8a
- sc_pkcs15_find_pin_by_reference now searches by reference and path
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1548 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 11:02:48 +00:00
okir
70597d4b14
- fixed change/unblock pin with implicit test
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1547 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 08:59:11 +00:00
okir
8368731ae4
- disallow UPDATE on the Application DF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1546 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 08:32:17 +00:00
okir
e7f0dbb4a8
- support UPDATE ACLs when creating a DF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1545 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 08:31:45 +00:00
okir
c20fcf5e7b
- bump max number of apps per card to 8
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1544 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-19 18:05:03 +00:00
okir
aae679b28a
- tcos_card_ctl shoudlnt complain about unknown cardctls
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1543 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-19 18:02:37 +00:00
okir
c9de474d80
- Do not overflow signature test for 2K bit keys (fix by Chaskiel Grundman)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1542 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-18 17:07:34 +00:00
okir
8740ced3ee
- dont pin protect pubkey
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1541 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-18 17:02:44 +00:00
okir
9d78ea1a6e
- data files had ERASE=NEVER; which is obviously bad
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1540 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-18 12:51:12 +00:00
okir
1eacefc83c
- previous patch was bogus/incomplete
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1539 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-18 12:41:32 +00:00