nils
a3ae7da3ab
oberthur updates from Tarasov Viktor <vtarasov@idealx.com>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2471 c6295689-39f2-0310-b995-f0e70906c6a9
2005-08-09 07:53:59 +00:00
nils
45a9d05830
cleanup, mostly signed/unsigned issues
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2469 c6295689-39f2-0310-b995-f0e70906c6a9
2005-08-08 10:22:14 +00:00
nils
148b7900f7
Add support for the lastUpdate field to pkcs15init. Add flag to
...
indicate whether some data has been changed to the profile structure
and set the flag in the functions which change the card contents.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2468 c6295689-39f2-0310-b995-f0e70906c6a9
2005-08-05 19:07:24 +00:00
nils
e16485826e
fix memory leak; patch supplied by Imanishi Masayuki <Masayuki.Imanishi@jp.sony.com>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2446 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-20 18:19:40 +00:00
nils
c2751a60da
fix use of x509v3 key usage extension value
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2445 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-20 17:58:55 +00:00
sth
be65c3804e
Cast correctly
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2408 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-15 13:32:14 +00:00
nils
eddd1e3ab6
fix file descriptor byte and ef_structure type; patch supplied by richard.musil@bigfoot.com
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2396 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-11 21:28:55 +00:00
sth
df232cfe67
Don't ignore the profile_option -- remark from Victor Tarasov
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2382 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-05 17:45:10 +00:00
sth
c9f652dc81
Typo fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2379 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-05 15:22:59 +00:00
nils
052575e0dd
remove unnecessary include
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2376 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-01 22:37:39 +00:00
nils
dc1a5b6e27
remove unused variable
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2373 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-01 07:17:01 +00:00
nils
3bbc9db115
GIVE RANDOM is for sm, so remove it from the etoken key generation code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2372 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-01 06:27:59 +00:00
aj
bf6808e3d8
"smart card" not "smartcard" or "SmartCard".
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2354 c6295689-39f2-0310-b995-f0e70906c6a9
2005-06-16 19:35:31 +00:00
sth
4a8c465fbb
Better choices for the sizes/FIDs + typo fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2341 c6295689-39f2-0310-b995-f0e70906c6a9
2005-05-10 19:58:34 +00:00
sth
ad86ded031
If an object is added to a pkcs15_card, don't call sc_pkcs15_free_object() on it
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2339 c6295689-39f2-0310-b995-f0e70906c6a9
2005-05-09 11:46:23 +00:00
sth
08d94ba74e
Fix: re-link the SO-PIN to the pkcs15 DF, otherwise the AC's in sc_pkcs15init_add_app() are ignored resulting in a.o. an unprotected pkcs15 DF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2336 c6295689-39f2-0310-b995-f0e70906c6a9
2005-05-06 13:52:41 +00:00
sth
f6712b8736
Fixed handling of pkcs15 types and added support for storing pkcs15 data objects
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2335 c6295689-39f2-0310-b995-f0e70906c6a9
2005-05-06 11:31:59 +00:00
sth
14e03407c1
Have pkcs15init as a DLL instead of as a static lib file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2334 c6295689-39f2-0310-b995-f0e70906c6a9
2005-05-04 13:17:26 +00:00
nils
bf089a8fbb
cleanup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2309 c6295689-39f2-0310-b995-f0e70906c6a9
2005-04-16 10:37:14 +00:00
martin
0838631107
scrandom interface is not used by starcos
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2308 c6295689-39f2-0310-b995-f0e70906c6a9
2005-04-16 10:21:36 +00:00
sth
3439f9cdd7
Added initial support for SetCOS 4.4 cards
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2291 c6295689-39f2-0310-b995-f0e70906c6a9
2005-04-04 09:30:54 +00:00
sth
abf3bf9549
If the SC_CARD_CAP_USE_FCI_AC flag is set, sc_pkcs15init_authenticate() will check the file's ACs on the card instead of relying on the ones in the profile file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2290 c6295689-39f2-0310-b995-f0e70906c6a9
2005-03-30 18:25:50 +00:00
sth
de62a5306d
Moved init-card() till after the pin-initialisation, this allows init-card() to do operation with a pin without doing the pin stuff again. Shouldn't break anything -- if it does, we'll undo this.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2284 c6295689-39f2-0310-b995-f0e70906c6a9
2005-03-26 20:10:13 +00:00
aj
52d3262e90
apply improved profile handling code.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2270 c6295689-39f2-0310-b995-f0e70906c6a9
2005-03-23 23:10:50 +00:00
aj
8d27151cf6
remove .cvsignore files.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2243 c6295689-39f2-0310-b995-f0e70906c6a9
2005-03-23 21:08:13 +00:00
bert
eb4717ea17
API fixup: use defined type instead of struct for exposed structs (part 2)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2233 c6295689-39f2-0310-b995-f0e70906c6a9
2005-03-09 00:04:44 +00:00
aet
8c9895c896
- Add support for getting location of the configuration
...
file from Windows registry (HKCU/HKLM)
- Handle OPENSC_CONF environment variable on unix
- Add configuration option "profile_dir" to bypass
build time setting for pkcs15 initialization profiles
directory
Patch by Andreas Jellinghaus, with minor enhancements
from me.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2231 c6295689-39f2-0310-b995-f0e70906c6a9
2005-03-07 14:00:31 +00:00
aet
32b417cbf3
- First stab towards standardized card types
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2172 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-10 10:07:13 +00:00
aet
956430edaf
- Remove card-oberthur.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2171 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-10 09:57:41 +00:00
nils
cdd240397f
remove unused profile entry
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2159 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-08 19:49:28 +00:00
nils
e679eb17e6
remove unused define
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2158 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-08 19:33:30 +00:00
aet
c1b0626cdd
- Cleanup, typo fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2123 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-02 10:21:10 +00:00
nils
d67a4ea523
fix last commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2104 c6295689-39f2-0310-b995-f0e70906c6a9
2005-01-27 22:52:44 +00:00
nils
d605ba7f0a
fix more memory leaks
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2091 c6295689-39f2-0310-b995-f0e70906c6a9
2005-01-21 18:31:05 +00:00
nils
517da66876
fix memory leaks
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2089 c6295689-39f2-0310-b995-f0e70906c6a9
2005-01-21 11:06:01 +00:00
nils
2e1ae46257
fix memory leak: use object specific release method
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2088 c6295689-39f2-0310-b995-f0e70906c6a9
2005-01-21 10:04:22 +00:00
nils
8f4f732c3b
in case of SC_AC_UNKNOWN it doesn't make much sense to verify something + add missing suppress_errors--
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2074 c6295689-39f2-0310-b995-f0e70906c6a9
2005-01-14 23:14:34 +00:00
nils
f509f00d17
some cleanup + improved error checking
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2052 c6295689-39f2-0310-b995-f0e70906c6a9
2005-01-03 17:25:18 +00:00
nils
5847b646f9
cleanup: -index shadows a variable in /usr/include/string.h
...
-some signed vs. unsigned issues
-and some const cleanup
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2039 c6295689-39f2-0310-b995-f0e70906c6a9
2004-12-22 09:48:27 +00:00
aet
a3ad3b0407
- Cleanup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2016 c6295689-39f2-0310-b995-f0e70906c6a9
2004-12-15 14:47:31 +00:00
aet
55e170e0ac
- Build / warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2014 c6295689-39f2-0310-b995-f0e70906c6a9
2004-12-15 13:53:36 +00:00
aet
e5baf6da45
- Convert C++ comments into C to avoid compiler errors on some platforms
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2013 c6295689-39f2-0310-b995-f0e70906c6a9
2004-12-15 10:56:45 +00:00
nils
9dc98ed262
try to avoid conflicts with file ids of different file types
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1983 c6295689-39f2-0310-b995-f0e70906c6a9
2004-11-15 09:39:21 +00:00
nils
0370a53204
try to avoid conflicts with file ids of different file types
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1979 c6295689-39f2-0310-b995-f0e70906c6a9
2004-11-12 16:59:09 +00:00
aj
b0649c1e4f
build fixes by Vile Skytt�.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1973 c6295689-39f2-0310-b995-f0e70906c6a9
2004-11-04 19:14:58 +00:00
nils
ba23f8246a
support for dynamic pkcs15init drivers
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1953 c6295689-39f2-0310-b995-f0e70906c6a9
2004-10-25 10:43:50 +00:00
nils
897ca8eff2
fix memory leak
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1950 c6295689-39f2-0310-b995-f0e70906c6a9
2004-10-24 17:17:48 +00:00
sth
61360066f7
Added info for EF data files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1922 c6295689-39f2-0310-b995-f0e70906c6a9
2004-10-13 07:19:38 +00:00
nils
1249c9c2ab
fix starcos spk 2.3 "onepin" profile support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1908 c6295689-39f2-0310-b995-f0e70906c6a9
2004-09-28 20:06:04 +00:00
nils
5ebccf1842
rename "StarCOS" -> "STARCOS SPK 2.3"
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1900 c6295689-39f2-0310-b995-f0e70906c6a9
2004-09-17 19:13:30 +00:00
nils
c222271165
bugfix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1893 c6295689-39f2-0310-b995-f0e70906c6a9
2004-08-21 14:24:39 +00:00
nils
652759a364
two small fixes to let pkcs15-init work with starcos spk 2.3
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1892 c6295689-39f2-0310-b995-f0e70906c6a9
2004-08-21 10:54:28 +00:00
nils
f8c603f559
update starcos spk 2.3 pkcs15-init support
...
change summary:
- some bug fixes
- support for global so-pins
- use so-pin (if present) to protect key creation etc.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1891 c6295689-39f2-0310-b995-f0e70906c6a9
2004-08-21 10:53:09 +00:00
nils
bfe73f3b71
improve pkcs15-init + pkcs15-tool support for data objects
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1887 c6295689-39f2-0310-b995-f0e70906c6a9
2004-08-14 13:43:17 +00:00
nils
bfd5b49436
pkcs15-init etc. support for pkcs15 data objects
...
patch supplied by Victor Tarasov <vtarasov@idealx.com>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1877 c6295689-39f2-0310-b995-f0e70906c6a9
2004-07-26 18:47:23 +00:00
nils
aeb9c47c7e
try to get the card serialnr via sc_card_ctl (unless it has
...
been explicitly specified by the user)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1842 c6295689-39f2-0310-b995-f0e70906c6a9
2004-07-19 16:58:27 +00:00
nils
446bf759d6
patch supplied by Victor Tarasov <vtarasov@idealx.com>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1802 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-24 17:03:17 +00:00
nils
504fe28dc2
clean up access rights for updating pin/puk
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1800 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-22 17:46:45 +00:00
aj
23d92b8abd
Also add oberthur files to Makefile.mak.
...
oops, sorry for forgetting. Reported by novakv and
fixed by Nils Larsch.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1795 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-18 09:30:21 +00:00
aj
52c1b2d700
Very basic and untested oberthur driver. Could possibly work,
...
as only non-essential parts stripped (or at least that was the plan).
Written by Viktor Tarasov of idealx.
All bugs by Andreas Jellinghaus, please don't blame anyone else.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1793 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-16 20:59:59 +00:00
aj
9e7b7c6e99
Add pkcs15-starcos to windows makefile.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1773 c6295689-39f2-0310-b995-f0e70906c6a9
2004-04-21 07:41:01 +00:00
nils
effbc2a7b6
remove pointer to freed secret object
...
Patch supplied by Victor Tarasov
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1771 c6295689-39f2-0310-b995-f0e70906c6a9
2004-04-18 18:42:47 +00:00
nils
564d07ebe6
bind the new starcos spk 2.3 support to the pkcs15init code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1765 c6295689-39f2-0310-b995-f0e70906c6a9
2004-04-17 09:23:26 +00:00
nils
846a14849e
initial pkcs15-init support for starcos spk 2.3 cards/tokens
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1764 c6295689-39f2-0310-b995-f0e70906c6a9
2004-04-17 09:20:08 +00:00
aj
73d0922741
len is the number of character, we need to alloc len+1 for
...
the \0 terminator. Bug found by Victor Tarasov.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1757 c6295689-39f2-0310-b995-f0e70906c6a9
2004-03-28 20:26:43 +00:00
okir
db7d3bac6e
- Properly handle max-length in PIN statements; added new stored-length:
...
PIN blah {
max-length = 8;
stored-length = 4;
}
Bug spotted by Victor Tarasov
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1750 c6295689-39f2-0310-b995-f0e70906c6a9
2004-02-03 10:25:20 +00:00
aet
2b4b08550b
- Revert previous patch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1739 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-19 19:52:38 +00:00
aj
a9c914aa6b
make these libraries not standalone (pkcs15init, scam, scconf, scldap).
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1738 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-19 18:54:15 +00:00
aet
85d6bc7922
- Warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1731 c6295689-39f2-0310-b995-f0e70906c6a9
2004-01-08 15:23:11 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
ae2cfe8a46
- sc_pkcs15_find_pin_by_reference now searches by reference _and_path_
...
- profile->p15_card renamed to p15_spec, as it reflects what _should_
be on the card
- added profile->p15_data, which is what _is_ on the card
- make do_get_pin_and_verify use the sc_pkcs15_find_pin_by_reference
properly.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1549 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 11:05:35 +00:00
okir
8368731ae4
- disallow UPDATE on the Application DF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1546 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-21 08:32:17 +00:00
okir
8740ced3ee
- dont pin protect pubkey
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1541 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-18 17:02:44 +00:00
okir
9d78ea1a6e
- data files had ERASE=NEVER; which is obviously bad
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1540 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-18 12:51:12 +00:00
okir
927ae344cc
- fix cflex key generation
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1536 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-18 08:39:40 +00:00
okir
937e6c711d
- fix for cryptoflex key download
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1535 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-18 08:08:07 +00:00
okir
2a12ed3108
- Prepare for userConsent support: changed ops->create_pin to take
...
a sc_pkcs15_object_t instead of sc_pkcs15_pin_info_t argument.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1534 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-17 11:21:48 +00:00
okir
afcf39c6dd
- some more cleanup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1532 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-16 14:32:42 +00:00
okir
81e6d67204
- On-board generation of non-repudiation keys did not work
...
- Minor cleanup
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1531 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-16 14:31:11 +00:00
okir
574d6f38ee
- added debian packaging files from Joe Phillips
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1530 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-16 11:41:24 +00:00
okir
c41c9b1c8e
- pin protection for keys was broken
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1529 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-15 13:21:04 +00:00
okir
09cd60504d
- one suppress_errors-- too many
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1528 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-15 09:36:53 +00:00
okir
a80928e52b
- removed debugging print
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1527 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-15 09:36:33 +00:00
aet
603ccec619
- Fixed nightly snapshot generation
...
- Link keycache.h to src/include/opensc
- Move mutex function declarations to opensc.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1525 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-14 21:56:56 +00:00
aet
eaf1f7afda
- Remove old callback error/debug functions
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1523 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-14 10:42:03 +00:00
okir
7d7e07998d
- removed obsolete profiles
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1521 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-14 09:58:35 +00:00
okir
f552395705
- Error logging changes: replace ctx->log_errors with ctx->suppress_errors
...
- remove error/debug callbacks; always use sc_error/sc_debug
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1519 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-14 09:57:29 +00:00
okir
aad883149e
- removed some dead code inside #if 0/#endif
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1514 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-14 08:17:59 +00:00
aet
936ad78b02
- Some build/portability fixes for the pkcs15init rewrite
...
- Add sc_pkcs15_get_<drv>_ops(), yet untested
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1512 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-13 20:41:00 +00:00
aet
1bdcd2184c
- Revert previous patch, an alternative patch to
...
work around non-C99 and/or gcc issues coming up
soon.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1511 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-13 20:28:18 +00:00
sth
b66e24bf55
Small changes to make it work on non-C99 compilers
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1510 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-13 20:16:40 +00:00
okir
23c1e81512
- pkcs15 rewrite
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1508 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-13 16:13:12 +00:00
aet
4b205da3da
- Remove unused variable
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1501 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-12 08:34:11 +00:00
sth
7761dff1a0
Security fix: the flex_onepin profile doesn't allow the AUT1 key to change the PIN anymore. Also: it's possible now to add the SO pin to the flex_onepin profile
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1500 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-11 21:02:31 +00:00
sth
2457faa1e7
Fix: when doing a sc_pkcs15init_generate_key(), the auth_id for the public key wasn't put into the PuKDF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1489 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-02 12:21:12 +00:00
sth
509119ac3b
Correctly add the label to a pkcs15 data object
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1487 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-02 09:18:12 +00:00
aet
0077a0876d
Fix various C compiler warnings and C++ errors / name conflicts
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1463 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-25 09:33:16 +00:00
aet
0c37fe2f79
Warning fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1428 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 19:18:38 +00:00
aet
597877eb49
Move #include <windows.h> to winconfig.h in
...
order to minimize win32 specific code sections.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1411 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 18:18:57 +00:00
sth
093adc8c89
Fix: don't DER-en/decode the data in a pkcs15 object
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1385 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-20 14:15:02 +00:00
aet
8cf5945900
Add common versioning to all libraries
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1383 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-18 14:28:47 +00:00
aet
40b747a612
Minor cleanups
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1381 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-18 12:06:35 +00:00
aet
3e1dd82f4f
Remove some compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1332 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-05 17:28:29 +00:00
okir
1287ed1c6d
- doubled file size of PrKDF, PuKDF, CDF etc
...
- provided old profile as pkcs15-small.profile for e.g. GPK4K
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1328 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-05 09:50:39 +00:00
aj
1091548eda
seperator is written to an u8, so it should be a char or u8 anyway.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1324 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-01 07:03:16 +00:00
okir
3a68ba695b
- warn if EF is too small for the amount of data we want to write
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1323 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-31 21:16:15 +00:00
aet
a9f05d1100
Remove CFLAGS_OPENSC, cleanups to INCLUDES handling.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1316 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-30 09:50:18 +00:00
aet
886de97b27
More consistent indentation for multi-line variables
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1312 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-29 10:04:40 +00:00
aet
a327d1994a
Minor cleanups
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1309 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-28 12:11:03 +00:00
aj
5f0e9c9333
somewhat improved profile search.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1288 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-22 15:13:16 +00:00
aet
118c7a4dcc
Resync .cvsignore files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1271 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-17 12:39:11 +00:00
sth
82c00d806c
Placing #include <windows.h> in wincofig.h causes compiler problems, better put it in each file that uses _MAX_PATH
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1234 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 12:59:22 +00:00
sth
5ed3d17ad8
Added sc_pkcs15init_change_attrib() that can change the label and ID of a pkcs15 key or cert
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1229 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-27 11:59:37 +00:00
aj
59da343eea
PATH_MAX is defined via limits.h (I hope that exists on all
...
systems). MAX_PATH is a typo. int r was never used.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1223 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-25 10:19:08 +00:00
sth
bb4bdd529d
Let sc_profile_locate() behave about the same way under Win32 than under Linux
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1213 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-18 12:38:27 +00:00
sth
97da0b6149
Now you can specify your card profile for pkcs15init, both on the command line if you use the pkcs15init tool and in the opensc.conf file. Not specifying gives the default one, like before.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1212 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-18 08:07:12 +00:00
okir
6cc4820d5f
- when loading a profile, check all variations of <profile>.conf before <profile> itself
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1209 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-16 07:40:43 +00:00
aj
f2aaa70cad
makefile fixes, so the tarball will contain all files.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1206 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-15 22:20:21 +00:00
sth
0b85e180d7
Add AuthID for pkcs15 data objects
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1200 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-14 12:31:30 +00:00
sth
0d2a15c29b
Added support for a new cryptoflex profile, where the user (CHV1) is in charge of the pkcs15 DF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1197 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-12 21:35:20 +00:00
sth
694a649ab8
Add the AuthID when writing pkcs15 data objects
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1196 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-12 21:23:01 +00:00
sth
de20691dd4
Added some info
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1194 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-11 11:03:40 +00:00
aj
da8a49569c
added flex_so.profile,
...
moved list of all profiles to PROFILE
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1189 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-10 16:45:38 +00:00
sth
2871cd8269
Add support for a new cryptoflex profile in which the SO (CHV1) is in charge of the pkcs15 DF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1185 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-07 07:17:26 +00:00
sth
5716f100cc
Fixed a type in previous patch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1183 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-04 18:37:52 +00:00
sth
c8c2cf725b
First implementation of C_GenerateKeyPair()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1179 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-03 13:57:52 +00:00
sth
c6027179e7
Compiler warning (result of malloc not casted)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1177 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-30 09:45:26 +00:00
okir
cce7ef1b81
- fixed pin handling in generate key
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1161 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-23 10:05:54 +00:00
okir
24107c26f8
- fixed cryptoflex keygen
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1159 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-22 21:04:31 +00:00
okir
795915e146
- added cryptoflex RSA key generation (not yet functional)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1158 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-22 20:53:15 +00:00
okir
3e30e87cbd
- do_get_any_verify_pin: try to look up p15 pin info from card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1151 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-18 10:05:14 +00:00
okir
a496e8e42b
- added sc_pkcs15init_set_secret
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1146 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-17 09:10:32 +00:00
okir
aeb84dadbc
- make sure CREATE/DELETE are protected
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1137 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-16 14:16:15 +00:00
okir
3bc3b4f6d5
- bump the CDF size, as we now put the subject name in the label
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1134 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-16 09:34:09 +00:00
okir
4356c7d9c9
- increase size of PrKDF, so that we have room for 2x2 split keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1125 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-15 15:26:29 +00:00
okir
8c7e571c89
- erase card fixes: forget cached secrets, and use sc_free_apps
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1123 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-15 13:33:04 +00:00
okir
7b34c2ecf7
- get_pin callback now takes additional label argument
...
- call get_pin for ALL pins, not just those listed in the profile
- add split key support to sc_pkcs15init_generate_key
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1116 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-15 11:30:46 +00:00
okir
a3d81aa980
- etoken_erase don't assume PIN 0 is always the SO PIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1115 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-15 11:29:29 +00:00
aj
131719b8c6
- add robert to Authors as contributor of bug fixes
...
- configure code finally working.
engine is detected and path to libcrypto.a is also set.
- roberts fix for reader-usbtoken.c
- card-gpk.c migraton to DES_ routines with #define for 0.9.6 openssl.
- man pages: do not ship pkcs15-profile.5 (.in is in the tarfile)
- assuan: replace "strcpy(stpcpy(.., ..), ..)" with
"strcat(strcpy(.., ..), ..)" which looks good, but nobody uses
assuan I guess ?
- declaration of sc_pkcs15init_set_lifecycle kills a warning
- #include <openssl/bn.h> kills a warning (or compile problem?)
- removed unused txt[256]; from p15_eid (kills a warning)
- now "ln -s" the signer plugin to the plugin directory.
- moved key_out direction to the beginning of a function (kills
a warning or compile error)
- changed pkcs11-tool option "quiet" to "verbose" to conform to
other tools.
- made algo argument to wrap_unwrap a "const" (kills several warnings)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1063 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-22 17:00:38 +00:00
jey
0aea6fcba5
- applied build fixes from Andreas
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1058 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 15:01:55 +00:00
sth
01896a8f2e
Added some files to ignore, also for Windows
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1049 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-18 14:57:50 +00:00
okir
d2075b2c13
- implemented split-key support for CardOS
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1038 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 12:38:08 +00:00
okir
f81929eb16
- moved the lifecycle stuff to libpkcs15init
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1024 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-16 14:38:35 +00:00
okir
138346a018
- backed out AM_LDFLAGS change
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1022 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-16 14:20:40 +00:00
okir
dc269cea3e
- reverted previous patch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1000 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 14:48:54 +00:00
okir
87a0cc51a1
- build fixes from Andreas
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@991 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 11:46:02 +00:00
okir
f29ce046e7
- Don't set PIN defaults until after we've parsed _all_ cardinfo blocks
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@985 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 10:32:15 +00:00
okir
4f60d849c6
- fix for 2048 bit keys on cflex
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@984 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 10:31:33 +00:00
okir
dd8f50465a
- properly set max pin length attr
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@956 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-27 10:05:44 +00:00
okir
faf95af460
- makefile cleanups
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@944 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-10 11:44:16 +00:00
sth
a7a5701e0c
added support for max pin length
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@922 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 23:19:01 +00:00
okir
604e9cd318
- the AC CHANGE condition of the PIN objects we created referenced the
...
PUK, rather than the PIN. This caused the standard sc_change_reference_data
operation to fail.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@810 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-23 18:43:04 +00:00
aet
1ddde4e899
- Add access, mkdir and getpass wrappers into winconfig.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@806 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-22 14:43:13 +00:00
okir
b86d2e994b
- First shot at pkcs15 data objects from Danny De Cock
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@788 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 10:17:01 +00:00
okir
ca82169e63
- removed some dead code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@787 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 09:23:10 +00:00
okir
d997440546
- more Makefile.mak fixes from Stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@772 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-12 10:08:23 +00:00
okir
f984a3fd97
- win32 patch from Stef Hoeben
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@770 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-10 17:53:58 +00:00
okir
23158d7a96
- win32 patch from Stef Hoeben
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@769 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-10 17:47:19 +00:00
okir
e9c8806c75
- properly set the TokenInfo label from user input
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@752 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-04 14:56:17 +00:00
okir
22fd834ec4
- added comment on pkcs12 files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@751 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-04 14:28:08 +00:00
okir
27c2369cee
- make sure we don't assign the same ID more than once
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@749 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-04 13:25:31 +00:00
okir
d8a3189026
- Added sc_pkcs15init_get_secret so that the GPK driver can get the
...
MF secure messaging key.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@748 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-04 13:24:40 +00:00
okir
8ba7b370e4
- got rid of default transport keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@745 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-04 11:57:32 +00:00
okir
eaebdec8b0
- Change the way we handle default transport keys, attempt to reduce the
...
risk of users entering the wrong keys and locking their cards. Here's how
we do it:
- ask the card driver (via cardctl GET_DEFAULT_KEY) for default key
- invoke the front-end's get_key callback. If the card driver gave us
a default key, pass it as default value
- front end is free to use default key as-is, or prompt user
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@743 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-04 11:56:34 +00:00
okir
5e8a76d6da
- disabled default AAK for now
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@737 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-03 12:44:02 +00:00
okir
8ee38b9567
- handle SC_ALGORITHM_NEED_USAGE flag
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@706 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-08 14:14:28 +00:00
okir
45892e686f
- detect when a GPK card is already personalized
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@704 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-08 13:50:33 +00:00
aet
4811eeca8d
Another build fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@698 c6295689-39f2-0310-b995-f0e70906c6a9
2002-10-20 09:20:21 +00:00
aet
148f4051f6
Various build fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@697 c6295689-39f2-0310-b995-f0e70906c6a9
2002-10-19 16:51:37 +00:00
aet
1d2c9e4c48
Cleanups for initial win32 port, untested.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@696 c6295689-39f2-0310-b995-f0e70906c6a9
2002-10-19 14:04:52 +00:00
okir
b2379d40d5
- allow to generate/store decryption keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@693 c6295689-39f2-0310-b995-f0e70906c6a9
2002-10-02 10:50:15 +00:00
okir
638a5b307c
- implemented generic erase_card functionality
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@667 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-18 18:18:21 +00:00
okir
3c44cb8710
- implemented erase_card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@666 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-18 18:18:05 +00:00
okir
4b79f4e68e
- fixed pkcs15init for GPK 8000
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@663 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-17 15:26:36 +00:00
okir
5b40de43ed
- various changes for on-board key generation
...
- key download and key generation for eToken works now
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@659 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-17 10:58:04 +00:00
okir
621ac8cbf8
- more code towards signing
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@644 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-11 18:15:41 +00:00
okir
954cfb9f8e
- first steps toward eToken key download
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@640 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-07 20:29:07 +00:00
jey
7977f48aa3
- Protected OpenSSL includes with #ifdef HAVE_OPENSSL
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@637 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-06 13:38:03 +00:00
okir
1b79b017e3
- started to implement on-token key gen support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@636 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-06 09:18:53 +00:00
okir
8535127ba8
- started to implement eToken key generation
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@635 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-06 09:17:52 +00:00
okir
f1f3d46e46
- install etoken profile, too
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@633 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-05 15:08:33 +00:00
okir
a2d21baed9
- implemented --erase for etoken through a recursive remove
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@632 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-05 15:02:59 +00:00
okir
cc92443702
- set ERASE=$SOPIN for AODF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@631 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-05 15:02:29 +00:00
okir
7d0614f2b8
- implemented setting of user pins; minor pin code cleanup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@630 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-05 12:53:30 +00:00
okir
47794dfff3
- p15 PIN entries should now have a valid path
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@629 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-04 20:11:40 +00:00
okir
d9932c62b7
- whoops, forgot to check this in
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@628 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-04 20:07:33 +00:00
okir
0a9fdb6cb7
- setting an SO pin works now
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@627 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-04 20:06:33 +00:00
okir
f74e8bb712
- first stage of pkcs15 initialization sort of functional
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@626 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-04 19:43:30 +00:00
okir
3eeaa8f0b8
- fixed bad return value in do_init_app
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@625 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-04 19:42:50 +00:00
okir
0c07f24de0
- added some eToken code (not functional yet)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@622 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-04 08:51:03 +00:00
jey
7c94d7d8d3
- Several patches to fix behaviour on 64-bit architectures (by
...
Jochen Friedrich)
- Fixed one bug in sc_copy_asn1_entry(), one in
sc_pkcs15init_add_object() and one in pkcs15-crypt
(patches also by Jochen)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@609 c6295689-39f2-0310-b995-f0e70906c6a9
2002-05-26 12:31:23 +00:00
jey
c181dabe3f
- Fixed parsing of AUT keys in pkcs15init (patch by Jochen
...
Friedrich <jochen@scram.de>)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@608 c6295689-39f2-0310-b995-f0e70906c6a9
2002-05-21 19:41:09 +00:00
aet
25cf9756ed
Minor GCC warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@606 c6295689-39f2-0310-b995-f0e70906c6a9
2002-05-20 09:19:41 +00:00
okir
74b7e39263
- allow setting the cert_info authority flag
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@583 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-22 18:37:57 +00:00
okir
c66dcb5f33
- changed do_select_parent per request from Juha. Hope this doesn't break
...
anything... :)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@581 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-22 08:00:52 +00:00
jey
79bf099f0d
- Small update to MioCOS pkcs15init driver
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@578 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 18:01:49 +00:00
jey
728928401a
- Some fixes to the MioCOS driver
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@576 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 17:02:49 +00:00
jey
9251d131ae
- Added support for extractable keys on the Cryptoflex
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@575 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 17:02:15 +00:00
aet
3dccd63989
- C++ support. Compiles with gcc/g++ for Linux, otherwise
...
completely untested.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@574 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 14:23:31 +00:00
okir
6b08ebf2eb
- fixed DF handling
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@573 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 10:01:01 +00:00
jey
546f920fc1
- PKCS #15 objects and DFs are now stored with linked lists
...
in struct sc_pkcs15_card; this way we can have 'floating'
objects that don't belong in any DF, for e.g. generating
public key objects from certificates
- Removed some unused function prototypes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@572 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 09:22:44 +00:00
okir
b08c5ef702
- bug in check_key_compatibility()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@561 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-18 09:12:26 +00:00
okir
2a3e6e273d
- starting to support extractable keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@557 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 20:47:18 +00:00
aet
7c9e5d667e
Add stdlib.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@524 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-15 18:03:45 +00:00
okir
596220e821
- pkcs15-init does not require openssl anymore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@523 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-15 13:42:10 +00:00
okir
55a14b0ebf
- all sc_pkcs15init_store_foobar functions now take an additional struct sc_pkcs15_object ** argument
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@516 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:14:12 +00:00
okir
72856a7c04
- cleanup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@501 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:50:11 +00:00
okir
ec35a9215a
- free some more memory in sc_profile_free
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@500 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:50:02 +00:00
okir
01d4f00dea
- SO PIN is now optionally: if you want to use it, pass a PIN to
...
sc_pkcs15init_add_app. If you don't, don't.
- sc_pkcs15init_erase_card checks whether the erase_card funcion ptr is NULL
- check SO pin len in sc_pkcs15init_add_app
- In sc_pkcs15init_store_pin, if the caller didn't specify the auth_id,
select one automatically
- added sc_pkcs15init_unbind
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@499 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:49:39 +00:00
okir
3e11f90b22
- added sc_pkcs15init_unbind
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@498 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:46:44 +00:00
okir
59cd95af2c
- SO PIN path was not propagated to the caller
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@497 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:46:27 +00:00
okir
13ab0f5993
- store SO PIN entry in AODF
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@493 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:29:37 +00:00
okir
1f8790e22e
- textual pin flags; defer pin file lookup until sc_profile_finish
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@492 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:29:15 +00:00
okir
24a45e2aad
- implemented SO PIN handling
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@491 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:28:26 +00:00
okir
c57272353a
- enable SO PIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@490 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:28:02 +00:00
okir
6e3a42fba0
- add pin descriptions
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@489 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:27:48 +00:00
jey
60fc3811eb
- Added support for user-defined serial numbers in
...
pkcs15-init and PIN flags in profiles
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@485 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-07 13:15:31 +00:00
jey
74d0b3d729
- Added user PIN finding to sc_pkcs15init_store_certificate()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@482 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 14:52:50 +00:00
jey
1b344d3ee4
- Added certificate templates
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@481 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 14:21:40 +00:00
aet
ddb49064d6
Minor warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@473 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:51:34 +00:00
okir
c1a8dc8c23
- implemented sc_pkcs15init_get_{serial,amnufacturer}, fixed bug
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@466 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:56:21 +00:00
okir
65d82412cb
- try to free all memory we allocated
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@465 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:55:37 +00:00
okir
93ee58e07e
- during add_app, just complain about SO PINs but don't error out
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@464 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:55:07 +00:00
jey
41b184855b
- Fixed a bug in sc_pkcs15init_bind()
...
- Added PIN code padding in do_verify_pin()
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@461 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:00:27 +00:00
aet
076a26bbac
Rework the header structure
...
Currently fails to compile, unless you symlink
all the necessary headers to src/include/opensc
by yourself.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@459 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 13:48:00 +00:00
aet
d81d10ba90
Upgrade sources to use new headers, part #1
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@458 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:44:51 +00:00
aet
fbf86e6728
Install headers to ${prefix}/include/opensc
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@456 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:25:14 +00:00
okir
1b113614b3
- miniscule API changes so that applications don't need to include profile.h anymore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@454 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:05:50 +00:00
okir
33890a1545
- file type is now also a struct map
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@453 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 08:45:14 +00:00
jey
dc444cde54
- Cryptoflex now works with the new pkcs15init stuff
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@452 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 22:10:36 +00:00
jey
e5496e9be9
- Partial support for PKCS #15 generation on MioCOS cards
...
- Some other small fixes to the pkcs15init code
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@450 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 20:42:29 +00:00
okir
059813818b
- the previous fix broke do_verify_pin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@446 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 19:58:23 +00:00
aet
984b5b2a2b
Minor warning fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@445 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 15:06:13 +00:00
okir
218b784f0d
- added internal-ef for juha
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@443 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 14:34:42 +00:00
okir
5cba842fde
- shouldn't set key_reference
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@434 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 14:15:03 +00:00
okir
b90104b1de
- renamed PKCS15-DIR to DIR per juha's request
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@432 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 12:53:14 +00:00
okir
803124d55d
- moved gpk specific MF ACL to the gpk profile, where it belongs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@431 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 12:46:26 +00:00
okir
966903811c
- updated TODO list
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@430 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:57:58 +00:00
okir
ae8e3908c4
- rewrote config files to match new parser
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@428 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:55:21 +00:00
okir
3b16e35af1
- rewrote parser to use Antti's scconf
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@427 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:52:30 +00:00
aet
edfb4dd7f0
Minor compiler warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@424 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 20:58:18 +00:00
okir
f4ff4f4617
pkcs15-gpk.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@422 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 14:45:55 +00:00
okir
efa136e3cd
- added sc_pkcs15init_present_pin for juha
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@421 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 14:27:00 +00:00
aet
3e6525539a
Add .cvsignore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@420 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:43:37 +00:00
aet
d5100f065c
Generate src/pkcs15init/Makefile
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@419 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:38:57 +00:00
okir
b6bf368fd2
- rewrite of the pkcs15-init stuff
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@415 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:26:42 +00:00