"Fossies" - the Fresh Open Source Software Archive

Member "opensc-0.22.0/src/pkcs15init/iasecc.profile" (10 Aug 2021, 2906 Bytes) of package /linux/privat/opensc-0.22.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "iasecc.profile": 0.17.0_vs_0.18.0.

    1 #
    2 # PKCS15 r/w profile for Oberthur cards
    3 #
    4 cardinfo {
    5     label       = "IAS";
    6     manufacturer    = "IAS Gemalto";
    7 
    8     max-pin-length    = 4;
    9     min-pin-length    = 4;
   10     pin-encoding    = ascii-numeric;
   11     pin-pad-char    = 0xFF;
   12 }
   13 
   14 pkcs15 {
   15     # Put certificates into the CDF itself?
   16     direct-certificates    = no;
   17     # Put the DF length into the ODF file?
   18     encode-df-length    = no;
   19     # Have a lastUpdate field in the EF(TokenInfo)?
   20     do-last-update        = yes;
   21 }
   22 
   23 option ecc {
   24   macros {
   25     odf-size        = 96;
   26     aodf-size       = 300;
   27     cdf-size        = 3000;
   28     prkdf-size      = 6700;
   29     pukdf-size      = 2300;
   30     dodf-size       = 3000;
   31     skdf-size       = 3000;
   32   }
   33 }
   34 
   35 
   36 # Define reasonable limits for PINs and PUK
   37 # Note that we do not set a file path or reference
   38 # here; that is done dynamically.
   39 PIN user-pin {
   40     attempts            = 5;
   41     max-length          = 4;
   42     min-length          = 4;
   43     flags                = 0x10; # initialized
   44     reference           = 1;
   45 }
   46 PIN so-pin {
   47     auth-id = FF;
   48     attempts    = 5;
   49     max-length  = 4;
   50     min-length  = 4;
   51     flags   = 0xB2;
   52     reference = 2
   53 }
   54 
   55 # CHV5 used for Oberthur's specific access condition "PIN or SOPIN"
   56 # Any value for this pin can given, when the OpenSC tools are asking for.
   57 
   58 # Additional filesystem info.
   59 # This is added to the file system info specified in the
   60 # main profile.
   61 filesystem {
   62     DF MF {
   63         ACL = *=CHV4;
   64         path    = 3F00;
   65         type    = DF;
   66 
   67         # This is the DIR file
   68         EF DIR {
   69             type    = EF;
   70             file-id = 2F00;
   71             size    = 128;
   72             acl     = *=NONE;
   73         }
   74 
   75         # Here comes the application DF
   76         DF CIA-Adele-AppDF {
   77             type    = DF;
   78             exclusive-aid	= E8:28:BD:08:0F:D2:50:00:00:04:01:01;
   79             profile-extension	= "ias_adele_admin1";
   80         }
   81 
   82         DF AdeleAdmin2-AppDF {
   83             type    = DF;
   84             exclusive-aid	= E8:28:BD:08:0F:D2:50:00:00:04:02:01;
   85             profile-extension	= "ias_adele_admin2";
   86         }
   87 
   88         DF AdeleCommon-AppDF {
   89             type    = DF;
   90             exclusive-aid	= E8:28:BD:08:0F:D2:50:00:00:04:03:01;
   91             profile-extension	= "ias_adele_common";
   92         }
   93 
   94         DF ECCeID-AppDF {
   95             type    = DF;
   96             exclusive-aid	= E8:28:BD:08:0F:D2:50:45:43:43:2D:65:49:44;
   97             profile-extension	= "iasecc_admin_eid";
   98         }
   99 
  100         DF ECCGeneric-AppDF {
  101             type    = DF;
  102             exclusive-aid	= E8:28:BD:08:0F:D2:50:47:65:6E:65:72:69:63;
  103             profile-extension	= "iasecc_generic_pki";
  104         }
  105 
  106 	DF ECCGenericOberthur-AppDF  {
  107             type = DF;
  108             exclusive-aid	= E8:28:BD:08:0F:F2:50:4F:54:20:41:57:50;
  109             profile-extension	= "iasecc_generic_oberthur";
  110             ACL     = *=NONE;
  111             ACL     = CREATE=SCB0x12;
  112         }
  113     }
  114 }
  115