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
This commit is contained in:
parent
ee68df94f0
commit
78949a9bcb
|
@ -18,6 +18,11 @@ option default {
|
||||||
protected = *=$SOPIN, READ=NONE;
|
protected = *=$SOPIN, READ=NONE;
|
||||||
unprotected = *=NONE;
|
unprotected = *=NONE;
|
||||||
so-pin-flags = local, initialized, needs-padding, soPin;
|
so-pin-flags = local, initialized, needs-padding, soPin;
|
||||||
|
so-min-pin-length = 6;
|
||||||
|
so-pin-attempts = 2;
|
||||||
|
so-auth-id = FF;
|
||||||
|
so-puk-attempts = 4;
|
||||||
|
so-min-puk-length = 6;
|
||||||
default-df-size = 256;
|
default-df-size = 256;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,6 +34,11 @@ option onepin {
|
||||||
protected = *=$PIN, READ=NONE;
|
protected = *=$PIN, READ=NONE;
|
||||||
unprotected = *=NONE;
|
unprotected = *=NONE;
|
||||||
so-pin-flags = local, initialized, needs-padding;
|
so-pin-flags = local, initialized, needs-padding;
|
||||||
|
so-min-pin-length = 4;
|
||||||
|
so-pin-attempts = 3;
|
||||||
|
so-auth-id = 1;
|
||||||
|
so-puk-attempts = 7;
|
||||||
|
so-min-puk-length = 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,14 +60,14 @@ PIN user-puk {
|
||||||
attempts = 7;
|
attempts = 7;
|
||||||
}
|
}
|
||||||
PIN so-pin {
|
PIN so-pin {
|
||||||
auth-id = FF;
|
auth-id = $so-auth-id;
|
||||||
attempts = 2;
|
attempts = $so-pin-attempts;
|
||||||
min-length = 6;
|
min-length = $so-min-pin-length;
|
||||||
flags = $so-pin-flags;
|
flags = $so-pin-flags;
|
||||||
}
|
}
|
||||||
PIN so-puk {
|
PIN so-puk {
|
||||||
attempts = 4;
|
attempts = $so-puk-attempts;
|
||||||
min-length = 6;
|
min-length = $so-min-puk-length;
|
||||||
}
|
}
|
||||||
|
|
||||||
filesystem {
|
filesystem {
|
||||||
|
|
Loading…
Reference in New Issue