- 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
This commit is contained in:
parent
222387d7ef
commit
1287ed1c6d
@ -14,6 +14,7 @@ PROFILES = \
|
||||
gpk.profile \
|
||||
miocos.profile \
|
||||
etoken.profile \
|
||||
pkcs15-small.profile \
|
||||
pkcs15.profile
|
||||
|
||||
EXTRA_DIST = $(PROFILES) Makefile.mak
|
||||
|
98
src/pkcs15init/pkcs15-small.profile
Normal file
98
src/pkcs15init/pkcs15-small.profile
Normal file
@ -0,0 +1,98 @@
|
||||
#
|
||||
# PKCS15 profile, generic information.
|
||||
# This profile is loaded before any card specific profile.
|
||||
#
|
||||
|
||||
cardinfo {
|
||||
label = "OpenSC Card";
|
||||
manufacturer = "OpenSC Project";
|
||||
min-pin-length = 4;
|
||||
# max length should be overridden in the per-card profile
|
||||
max-pin-length = 8;
|
||||
}
|
||||
|
||||
# Define reasonable limits for PINs and PUK
|
||||
# Note that we do not set a file path or reference
|
||||
# for the user pin; that is done dynamically.
|
||||
PIN user-pin {
|
||||
attempts = 3;
|
||||
}
|
||||
PIN user-puk {
|
||||
attempts = 7;
|
||||
}
|
||||
PIN so-pin {
|
||||
auth-id = FF;
|
||||
attempts = 2;
|
||||
min-length = 6;
|
||||
flags = 0x32;
|
||||
}
|
||||
PIN so-puk {
|
||||
attempts = 4;
|
||||
min-length = 6;
|
||||
}
|
||||
|
||||
filesystem {
|
||||
DF MF {
|
||||
path = 3F00;
|
||||
type = DF;
|
||||
|
||||
# This is the DIR file
|
||||
EF DIR {
|
||||
type = EF;
|
||||
file-id = 2F00;
|
||||
size = 128;
|
||||
acl = *=NONE;
|
||||
}
|
||||
|
||||
# Here comes the application DF
|
||||
DF PKCS15-AppDF {
|
||||
type = DF;
|
||||
file-id = 5015;
|
||||
aid = A0:00:00:00:63:50:4B:43:53:2D:31:35;
|
||||
acl = *=NONE;
|
||||
size = 5000;
|
||||
|
||||
EF PKCS15-ODF {
|
||||
file-id = 5031;
|
||||
size = 128;
|
||||
ACL = *=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-TokenInfo {
|
||||
file-id = 5032;
|
||||
ACL = *=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-AODF {
|
||||
file-id = 4401;
|
||||
size = 128;
|
||||
ACL = *=$SOPIN, READ=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-PrKDF {
|
||||
file-id = 4402;
|
||||
size = 128;
|
||||
acl = *=$SOPIN, READ=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-PuKDF {
|
||||
file-id = 4403;
|
||||
size = 128;
|
||||
acl = *=$SOPIN, READ=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-CDF {
|
||||
file-id = 4404;
|
||||
size = 256;
|
||||
acl = *=$SOPIN, READ=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-DODF {
|
||||
file-id = 4405;
|
||||
size = 128;
|
||||
ACL = *=NONE;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -54,7 +54,7 @@ filesystem {
|
||||
|
||||
EF PKCS15-ODF {
|
||||
file-id = 5031;
|
||||
size = 128;
|
||||
size = 256;
|
||||
ACL = *=NONE;
|
||||
}
|
||||
|
||||
@ -65,31 +65,31 @@ filesystem {
|
||||
|
||||
EF PKCS15-AODF {
|
||||
file-id = 4401;
|
||||
size = 128;
|
||||
size = 256;
|
||||
ACL = *=$SOPIN, READ=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-PrKDF {
|
||||
file-id = 4402;
|
||||
size = 128;
|
||||
size = 256;
|
||||
acl = *=$SOPIN, READ=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-PuKDF {
|
||||
file-id = 4403;
|
||||
size = 128;
|
||||
size = 256;
|
||||
acl = *=$SOPIN, READ=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-CDF {
|
||||
file-id = 4404;
|
||||
size = 256;
|
||||
size = 512;
|
||||
acl = *=$SOPIN, READ=NONE;
|
||||
}
|
||||
|
||||
EF PKCS15-DODF {
|
||||
file-id = 4405;
|
||||
size = 128;
|
||||
size = 256;
|
||||
ACL = *=NONE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user