sth
c46b58fa34
Moved the cardinfo file to the pkcs15 DF, changed it's FID to 4946, and protected it against unauthorized changes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1647 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-02 15:51:52 +00:00
aet
8ee8d0756c
- Fixed an embarrassing typo from the ChangeLog URL
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1646 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-30 17:19:33 +00:00
okir
5993b3d1c4
- fixed test for onepin option
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1645 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-26 16:19:03 +00:00
okir
8ff09b7f77
- another fix to verify pin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1644 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-26 15:49:09 +00:00
okir
a2c9afec7f
- fixed problem with pubkey encoding/decoding
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1643 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-26 15:37:29 +00:00
okir
3c89fc8edb
- improved support for CHOICE
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1642 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-26 15:35:17 +00:00
okir
5b1d6dd926
- Support raw RSA on decryption (Martin Buechler)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1641 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-26 13:12:26 +00:00
aet
addb6fd992
- Add missing .SH NAME for some man pages (Ludovic Rousseau)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1640 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-26 11:56:07 +00:00
aet
d12b21f633
- Remove all references to usbtoken, use OpenCT instead
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1639 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-25 11:17:02 +00:00
okir
b6796d0404
- fixed suppress_error handling in sc_pkcs15init_write_info
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1638 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-25 10:37:23 +00:00
okir
22312dbe17
- set ACLs on the profile info file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1637 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-24 10:21:36 +00:00
sth
af462ab212
Removed the exceptional (and incorrect) handling of the signature inputs of 16 and 20 bytes with pkcs11's CKM_RSA_PKCS11 signaturemechanism; and made sc_pkcs15_compute_signature() a bit more powerfull: if a digestinfo+hash input is given but the card only accepts hashes, the digestinfo is removed
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1636 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-23 16:11:32 +00:00
sth
a843fd1d11
Little fix in test_signature()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1635 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-23 15:43:38 +00:00
sth
30fba619b9
Added an error code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1634 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-23 15:33:56 +00:00
aet
1435c8fcce
- Back out Olaf's change, as it seems to break existing
...
behaviour while parsing pkcs15 profile files. Although
officially any list value with an equal sign or braces
should be enclosured with quotation marks, but anyway.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1633 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-22 18:50:04 +00:00
aet
eeca8db27c
- Replace the default lex based parser with
...
Jamie's version. Please notify if you run
into any problems with the new parser.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1632 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-21 12:33:38 +00:00
aet
0cddfbaf46
- Warning fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1631 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 20:46:15 +00:00
aet
183fef361d
- Replace the patched file with a new upstream version
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1630 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-20 20:37:55 +00:00
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