okir
620b62e8b6
- minor fixes to the new manpages
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1697 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 12:42:50 +00:00
okir
8a4a5f0331
- Added support for JCOP/BlueZ cards, contributed by Chaskiel M Grundman
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1696 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 12:28:37 +00:00
aj
4e48b7778a
new manpages for cardos-info and pkcs11-tool,
...
both written my Joe Phillips.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1695 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 12:01:43 +00:00
okir
5db7585bb0
- Minor bug fix in new_pin(), patch by Victor Tarasov
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1694 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 11:52:33 +00:00
sth
6952fb4030
Made a seperate function for the login functionality, and split test_kpgen_certwrite() into 2 parts, with a logout - unload lib - load lib - login between them
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1693 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-23 16:31:09 +00:00
sth
f017da5102
Fix: no copying done from in to out in case of SC_ALGORITHM_RSA_PAD_NONE padding (by Chaskiel)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1692 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-23 10:48:29 +00:00
aet
3dbb26ad6a
- Linking changes, don't link libpam to pam_opensc etc.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1691 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-22 22:07:02 +00:00
aet
e18b7117cd
- Warning fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1690 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-20 14:41:05 +00:00
okir
78febf36cf
- in pin_cmd, don't overwrite max_length if set by caller
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1689 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-19 09:56:57 +00:00
okir
ae5dcea891
- created new function profile->ops->init_card for card-specific
...
initialization at the pkcs15 creation stage
- Added cryptoflex init_card from Stef. This function reads the card's
serial number from 3F000002 and puts it into the pkcs15 serial number
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1688 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-19 09:29:56 +00:00
sth
5bbe78a8fe
sleep(sec) = Sleep(1000 * ms) on Windows
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1687 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-19 06:52:38 +00:00
aet
7d3fc55736
- Minor build and C++ warning fixes
...
- pkcs15init: Use u8 for pin variable
declarations like libopensc does
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1686 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-18 21:37:34 +00:00
aet
f5aeedf554
- Obsolete
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1685 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-18 21:30:28 +00:00
aet
b706b298c9
- Revert parts of the previous patch, use void *func
...
instead of struct sc_reader_driver *(*func(void);
as _sc_driver_entry is used for both, reader and
card driver lists.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1684 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-18 19:13:13 +00:00
okir
5dda541b7e
- made apdu_masquerade functionality available to all readers, not just pcsc
...
- added new parameters max_send_size and max_recv_size, roughly corresponding
to the old max_le (SC_APDU_CHOP_SIZE) parameter. You can now set this
chop limit per driver class (pcsc, openct, ctapi), which sets
driver->max_{send,recv}_size. This value is copied to
card->max_{send,recv}_size in sc_connect_card, and can be overridden
by the card driver.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1683 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-18 16:35:28 +00:00
okir
af37c4e026
- do not access file afterdeleting it (S Bakkal)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1682 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-18 08:00:27 +00:00
aet
c2083ba406
- Add HAVE_UNISTD_H
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1681 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-17 12:15:11 +00:00
okir
4d378d1cb8
- properly set key usage
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1680 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-17 07:35:55 +00:00
okir
a569ef57c7
- Display better pin prompts
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1679 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-16 14:41:04 +00:00
okir
bca2a9f233
- added GPK on-board keygen (based on code by Chaskiel)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1678 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-16 14:32:16 +00:00
okir
b2074743b2
- reduced sc_lock/unlock debug messages even more
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1677 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-16 14:31:12 +00:00
okir
0996f39779
- added ATR for Italian eID card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1676 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-16 11:07:32 +00:00
okir
8ed95baff1
- Updated previous patch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1675 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-16 11:04:01 +00:00
sth
6b66973692
Prevent running off the end of the buffer if the asn.1 is invalid (Chaskiel G.)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1674 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-16 08:01:36 +00:00
aet
83a5cb1426
- Ach, forget the previous commit. Just use DBG(printf()); for
...
debugging purposes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1673 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-15 11:28:20 +00:00
aet
d9f8c7d879
- error/debug -> sc_error/sc_debug
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1672 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-15 10:51:51 +00:00
aet
13030f54b1
- Minor bundle handling fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1671 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-12 09:32:34 +00:00
aet
5d0095eeb2
- Another typo fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1670 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-10 15:13:20 +00:00
aet
d6713aff9a
- Minor naming convention harmonisation for pc/sc and ct-api
...
related things
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1669 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-10 14:52:58 +00:00
aet
2771b0a52c
- Probe for -lpthread before -pthread, as we did in the
...
previous version.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1668 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-09 19:37:24 +00:00
aet
4203227a77
- Fix for the previous commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1667 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-09 19:35:17 +00:00
okir
ab9d7bb7ff
- removed some dead debugging code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1666 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-09 15:41:16 +00:00
okir
cec660fda1
- More cyberflex fixes from Martin Buechler
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1665 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-09 13:57:20 +00:00
okir
0d41e05310
- turned key-domain printf into sc_debug call
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1664 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-09 12:01:51 +00:00
okir
cfdd62bd49
- When generating a key in pkcs15init, allow the caller to specify a
...
public key label (Remo Inverardi)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1663 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-08 12:02:28 +00:00
okir
b15bd6c453
- Added support for Cyberflex Access 16K, based on a patch by
...
Martin Buechler
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1662 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-08 11:43:21 +00:00
okir
85fa4ed0da
- Matched Cyberflex patch from Martin Buechler. Created a new
...
driver named cyberflex which shares a lot of code with the original
flex driver. This is a lot cleaner than having to create if/else
monsters.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1661 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-08 10:54:55 +00:00
okir
babc626e94
- use full OPENSC_INFO_FILEPATH when reading info file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1660 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-08 10:52:15 +00:00
sth
a239629d9c
Added a check for NSS-like keypair generation
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1659 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-04 16:43:41 +00:00
sth
4d68e1a28e
Fix: allow a C_GetAttributeValue(privkey, CKA_MODULUS) after a C_GenerateKeyPair() -- M. Buechler
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1658 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-04 16:42:03 +00:00
sth
720b2810ee
Little fix: forgotten to log an input param
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1657 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-04 15:07:26 +00:00
aet
4f30699b0d
- Avoid breaking source compatibility, add char *errmsg to scconf_context
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1656 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-03 14:09:15 +00:00
okir
ff9a45569a
- scconf_parse and scconf_parse_string now return an error message if
...
something went wrong
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1655 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-03 12:07:01 +00:00
aet
8684aff59c
- Fixed a return value for new scconf_lex_parse
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1654 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-03 12:02:20 +00:00
okir
dcce086a0e
- Fix the "get_info failed" error; based on a patch by Ludovic Rousseau.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1653 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-03 11:11:14 +00:00
aet
b10c4ed91a
- Add AM_MAINTAINER_MODE
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1652 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-03 10:56:23 +00:00
okir
1258ba5fd9
- Updated comments to reflect new apdu_masquerade parameter
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1651 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-03 09:09:57 +00:00
aet
4b82b04960
- Add check for functions vsyslog, setlocale
...
- Add check for header locale.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1650 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-02 19:03:25 +00:00
aet
e18283d578
- Fixed a typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1649 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-02 17:51:37 +00:00
okir
61d242d105
- Fixed a few glaring errors. Marginally better, but not really great yet.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1648 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-02 15:58:13 +00:00