From 5e6d310491fce4d35422dbb6d15ecaab32921cb8 Mon Sep 17 00:00:00 2001 From: vtarasov Date: Tue, 26 Apr 2011 16:27:42 +0000 Subject: [PATCH] iasecc: pkcs15init profiles: add 'CREATE' acl for the Oberthur's application DF ... Obertbur's card do not returns FCP for selected application DF. Newly introduced option will supply the missing ACL when creating new objects or files. git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5395 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/pkcs15init/iasecc.profile | 2 ++ src/pkcs15init/iasecc_generic_oberthur.profile | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pkcs15init/iasecc.profile b/src/pkcs15init/iasecc.profile index c6059c40..7b9a8548 100644 --- a/src/pkcs15init/iasecc.profile +++ b/src/pkcs15init/iasecc.profile @@ -107,6 +107,8 @@ filesystem { type = DF; exclusive-aid = E8:28:BD:08:0F:F2:50:4F:54:20:41:57:50; profile-extension = "iasecc_generic_oberthur"; + ACL = *=NONE; + ACL = CREATE=SCB0x12; } } } diff --git a/src/pkcs15init/iasecc_generic_oberthur.profile b/src/pkcs15init/iasecc_generic_oberthur.profile index e6f39719..2c9c093b 100644 --- a/src/pkcs15init/iasecc_generic_oberthur.profile +++ b/src/pkcs15init/iasecc_generic_oberthur.profile @@ -66,14 +66,15 @@ filesystem { type = EF; file-id = 2F00; size = 128; - acl = *=NONE; + ACL = *=NONE; } # Here comes the application DF DF PKCS15-AppDF { type = DF; exclusive-aid = E8:28:BD:08:0F:F2:50:4F:54:20:41:57:50; - acl = *=NONE; + ACL = *=NONE; + ACL = CREATE=SCB0x12; size = 5000; EF PKCS15-ODF {