aet
c6f902911f
- Test commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1605 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-16 16:24:16 +00:00
sth
3b746f0b5e
Add room for SW1-SW2 in case of maximum reply size (256 bytes)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1604 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-14 10:14:54 +00:00
sth
43c4fe5ff5
Fix: correctly set the labels of the public and private key during keypairgeneration (Remo Inverardi)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1603 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-12 19:06:33 +00:00
sth
dfba889fba
Fix: allow keypair generation of keys other then the default length (Victor Tarasov)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1602 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-12 18:28:03 +00:00
aet
2e898942c0
- ifdef RTLD_NOW
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1601 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-11 21:30:34 +00:00
okir
45d81af979
- do not test unblocking pins
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1600 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-07 11:15:27 +00:00
okir
8f72813624
- security: prevent format string attacks
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1599 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-06 10:43:41 +00:00
okir
c85357baf9
- remain backward compatible - apdu_masq patch shouldn't break existing
...
config files that use apdu_fix
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1598 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-03 10:20:02 +00:00
okir
8e1443071c
- merged apdu_masq patch from Chaskiel Grundman
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1597 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-03 10:16:25 +00:00
okir
3d0e266886
- prevent problem with get/get_do ambiguity
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1596 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-03 06:54:30 +00:00
sth
f5f5f7f57c
Fix: link the simbolic PIN to the real name
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1595 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-01 19:13:21 +00:00
okir
64aaf18478
- Undid some of the previous changes. We now have a pseudo file system on the openpgp card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1594 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 17:18:34 +00:00
okir
f9eac7a8d8
- fixed put_key(SC_AC_SYMBOLIC)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1593 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 16:06:40 +00:00
okir
7ff9fe296a
- dont print prkey path if empty
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1592 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 16:02:54 +00:00
okir
839dab0fe4
- use sc_test_print_card instead of sc_pkcs15_print_card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1591 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 16:02:42 +00:00
okir
b3b3b02cf0
- Updated, now registers key objects as well (untested)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1590 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 16:01:35 +00:00
okir
36f170c2e7
- OpenPGP card now supports a fake file hierarchy (basically all objects
...
and constructed objects reprented as DFs and EFs)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1589 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 16:01:00 +00:00
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