aet
6473d2d2b3
- Unify with pkcs11.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1728 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 14:05:32 +00:00
aet
2a26621726
- There is no --with-pcsc, replace it with --with-pcsclite
...
which supposedly works the same way as no argument at all. :)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1727 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 13:21:43 +00:00
aet
8603cb4023
- Revert previous patch. Instead of providing a configuration
...
file with all lines commented away, provide a sane configuration
that works for most people out-of-the-box without user interaction.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1726 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 13:04:10 +00:00
aet
5c3fbbdfab
- Revert previous patch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1725 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 13:01:22 +00:00
aj
0e7fa43a29
big rewrite on debian/ files, originaly based on Joe Phillips debianisation,
...
reworked by Andreas Jellinghaus, and with many changes and suggestions by
Ludovic Rousseau
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1724 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 11:59:55 +00:00
aj
e5322b0cd9
changes caused by new docbook stylesheet.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1723 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 11:57:25 +00:00
aj
f2803e1a74
commented out everything.
...
now you can install those files to your etc, it will not hurt you.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1722 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 11:56:47 +00:00
aj
115bd355ed
config.h is not used in pkcs11.h or any file included by it.
...
but pkcs11.h is a public header file, so it shouldn't do so anyway.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1721 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 11:54:54 +00:00
aj
b9b1dbf603
cleanup a generated file.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1720 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 11:53:44 +00:00
okir
6ef9257c54
- fixed placement of "function atexit" wrt shell exit trap handler
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1719 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 10:50:52 +00:00
okir
4f6a7922d8
- fixed test case
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1718 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 10:50:25 +00:00
sth
844ec9bc23
If the maximum allowed number of virtual slots per card is reached, then silently discard all objects that haven't been added yet instead of returning an error
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1717 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 09:47:23 +00:00
sth
7daafeb5da
Update to the new keycache functions for caching the user and SO PINs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1716 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 08:32:46 +00:00
okir
7bb64d0fcf
- fixed GPK16K key gen, as suggested by Chaskiel
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1715 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-07 10:11:22 +00:00
okir
f37cb0fce3
- When zapping the contents of a DF, write the whole file (data + padding)
...
in one go. Otherwise the GPK driver may barf if the file offset in
sc_update_binary isn't word aligned.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1714 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-07 10:10:34 +00:00
sth
9abadbc711
Increased the maximum number of PINs and removed some unused #defines
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1713 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-07 09:51:07 +00:00
sth
23aec107ad
Fixed some comments and added an NULL pointer test
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1712 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-07 09:49:10 +00:00
okir
0d78f07499
- improved C_Decrypt testing
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1711 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-07 09:32:58 +00:00
okir
30e04cef59
- Implemented keep-public-key and sc_pkcs15init_remove_object as
...
suggested by Victor Tarasov.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1710 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-06 14:30:24 +00:00
okir
13bf8814ef
- in sc_pkcs15_read_file, properly destroy objects in case of error (Victor Tarasov)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1709 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-06 13:40:52 +00:00
okir
09b2730497
- implement sc_delete_record (Victor Tarasov)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1708 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-06 13:33:32 +00:00
aet
759ed8df49
- pam_opensc rewrite checkpoint commit
...
- rename some functions
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1707 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-05 18:44:49 +00:00
okir
ec52d80408
- properly handle pubkey_label in key generation
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1706 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-05 08:56:32 +00:00
okir
f6aa07d991
- Another fix from Remo wrt keygen_args.pubkey_label
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1705 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-30 08:20:52 +00:00
okir
8a97a69d1d
- C_CloseAllSessions would block on some Win32 versions because it tried
...
to acquire the global pkcs11 mutex twice.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1704 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-30 08:00:10 +00:00
okir
f761d1504f
- small jcop driver fix from Chaskiel
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1703 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 23:21:47 +00:00
sth
292e13b7d9
Add the JCOP card code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1702 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 20:50:58 +00:00
aet
20a707002c
- Install unix.h and win32.h as well
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1701 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 16:54:31 +00:00
okir
b552bccfd3
- signature tests would fail on cards with several keys of different size
...
(fix by Chaskiel)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1700 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 13:15:04 +00:00
okir
beb86f351b
- util.c:connect_card() now locks the card; removed sc_lock calls from
...
calling applications (based on a bug report by Chaskiel)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1699 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 13:06:28 +00:00
okir
e03cc716e2
- When testing signatures, don't bail out of C_SignInit returns
...
CKR_MECHANISM_INVALID (Chaskiel Grundman)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1698 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 13:03:48 +00:00
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