aet
17b5985bb8
- Fixed CRLF parsing
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1629 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 17:48:02 +00:00
okir
f9c572c92a
- allow stuff such as
...
blabla=
foofaah{}
to work
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1628 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 16:10:08 +00:00
okir
cf733acdad
- opensc-explorer.c ceased to accept verify data in hex notation, fix by
...
Martin Buechler
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1627 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 16:01:56 +00:00
okir
a632956e0d
- Deal with cards that require authentication before you can extract
...
the public key
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1626 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 15:42:10 +00:00
okir
43da7aac4e
- Improved OpenPGP handling; we're now able to sign things
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1625 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 15:41:28 +00:00
okir
59c38ee7cd
- Append newline to error/debug messages if not supplied by caller
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1624 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 15:40:22 +00:00
okir
624e345a58
- in sc_format_path, initialize path->count = -1
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1623 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 15:40:01 +00:00
okir
a91824eafa
- increase SC_MAX_PIN_SIZE to 256 (OpenPGP cards have 254 max)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1622 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 15:39:38 +00:00
okir
28a5eb0204
- if ctx->suppress_errors is non-zero, log suppressed error messages
...
at least to the debug log
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1621 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 15:39:18 +00:00
okir
1648a1cdea
- SW 6A88 (referenced data not found) is now translated to
...
SC_ERROR_DATA_OBJECT_NOT_FOUND
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1620 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 15:38:43 +00:00
okir
3fbdc4fbe9
- Link the spy against libopensc (Patch by Mathias Brossard)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1619 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 14:16:20 +00:00
aet
ce07681404
- Add new hand written replacement for the lex parser
...
by Jamie Honan, not much tested yet.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1618 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 14:15:32 +00:00
aet
c13a417d8b
- Add scconf_list_toarray() by Jamie Honan
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1617 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 14:13:08 +00:00
sth
0b7b3dff9c
Support comparison of large object attributes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1616 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 09:17:57 +00:00
okir
961e116006
- Support direct encoding of certificates
...
- Allow more than one profile option (e.g. pkcs15+small+direct-cert)
- While creating the basic pcks15 structure, store profile options
in a special file on the card (3F002F01). All susequent operations
(adding PINs etc) will use this information instead of what's
given on the command line.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1615 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-19 20:37:02 +00:00
okir
1359d9e65d
- sc_pkcs15_print_id now prints to a buffer instead of stdout
...
- Now pretty printing Common Object Flags
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1614 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-19 20:33:12 +00:00
okir
9ee5c76a4d
- Support direct encoding of certs in the CDF
...
- Added prototypes for sc_der_{copy,clear}
- Changed sc_pkcs15_print_id to return const char *
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1613 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-19 20:31:52 +00:00
okir
1780e10bf2
- Somewhat improved debugging output
...
- sc_pkcs15_print_id changed to sprintf to a buffer rather than printing
to stdout.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1612 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-19 20:30:44 +00:00
okir
519c1e8e55
- The changed code in asn1.c requires that the PrKDF subClassAttributes
...
for private{RSA,DSA}Key be marked OPTIONAL (our handling of CHOICE is
still somewhat limited)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1611 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-19 20:29:54 +00:00
okir
ed5d12800d
- Read and write CDF entries with directly encoded certificates
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1610 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-19 20:28:02 +00:00
okir
12386d65c9
- When encoding a path, either encode _neither_ index/count, or both.
...
- Added new functions sc_der_copy, sc_der_clear to handle DER blobs
- Somewhat improved debug output
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1609 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-19 20:22:52 +00:00
aet
0efe4659ed
- snapshot build fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1608 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-17 18:54:10 +00:00
aj
692aa31559
fixed "version>" to "version<" in xml file
...
(html file was already fixed by tidy, no change necessary).
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1607 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-17 14:52:03 +00:00
aj
d6bb9edd59
Applied changes by Stef,
...
updated html file.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1606 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-17 14:49:09 +00:00
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