[ Avaa Bypassed ]




Upload:

Command:

www-data@18.188.29.0: ~ $
#
# General purpose PKCS15 profile for SetCOS4.4 cards
#
cardinfo {
    max-pin-length	= 8;
    pin-encoding	= ascii-numeric;
    pin-pad-char	= 0x00;
}

# Additional default settings
option default {
    macros {
        protected	= *=$SOPIN, READ=NONE;
        mf_prot     = *=NONE, CREATE=$SOPIN;  # Allow to delete the MF
        p15_prot    = *=$SOPIN, SELECT=NONE, FILES=NONE, CREATE=NONE;
        pin_prot    = *=NEVER, WRITE=$SOPIN, UPDATE=$SOPIN; # WATCH OUT IF YOU CHANGE THESE!!
        prkey_prot  = *=NEVER, ERASE=$SOPIN, READ=NONE, CRYPTO=$PIN, UPDATE=$SOPIN;
        exkey_prot  = *=NEVER, ERASE=$SOPIN, READ=$PIN, UPDATE=$SOPIN;
	so-pin-flags    = initialized, soPin;
    }
}

# Additional onepin option settings
option onepin {
    macros {
        protected	= *=$PIN, READ=NONE;
        mf_prot     = *=NONE, CREATE=$PIN;  # Allow to delete the MF
        p15_prot    = *=$PIN, SELECT=NONE, FILES=NONE, CREATE=NONE;
        pin_prot    = *=NEVER, WRITE=$PIN, UPDATE=$PIN; # WATCH OUT IF YOU CHANGE THESE!!
        prkey_prot  = *=NEVER, ERASE=$PIN, READ=NONE, CRYPTO=$PIN, UPDATE=$PIN; # READ: only applies on public key
        exkey_prot  = *=NEVER, ERASE=$PIN, READ=$PIN, UPDATE=$PIN;
        so-pin-flags    = initialized;
    }
}

# Define reasonable limits for PINs and PUK
PIN user-pin {
    attempts	= 3;
    flags	= initialized, needs-padding;
}
PIN user-puk {
    attempts	= 5;
}

PIN so-pin {
    reference	= 1;
    flags	= $so-pin-flags;
}

# Additional filesystem info.
# This is added to the file system info specified in the
# main profile.
filesystem {
    DF MF {
        ACL    = $mf_prot;
        size   = 42;  # size = 2 + 2*(number of sub-files) -> 20 sub-files

		# There's 1 pin/key file
        EF pinfile {
            file-id       = 0080;  # Recommended by Setec
            structure     = 0x22;  # ISF key-file, Setcos V4.4 specific
            record-length = 28;
            size          = 112;   # 28 * 4 = 112 -> 1 SO + 3 user pins/puks
            ACL           = $pin_prot;
        }

        DF PKCS15-AppDF {
            ACL         = *=$SOPIN, SELECT=NONE, FILES=NONE, CREATE=NONE;
            size        = 82;  # size = 2 + 2*(number of sub-files) -> 40 sub-files

            EF PKCS15-PrKDF {
                file-id     = 4402;
                size        = 480;
                acl         = $protected;
            }

            EF PKCS15-PuKDF {
                file-id     = 4403;
                size        = 480;
                acl         = $protected;
            }

            EF PKCS15-CDF {
                file-id     = 4404;
                size        = 960;
                acl         = $protected;
            }

            EF PKCS15-DODF {
                file-id     = 4405;
                size        = 480;
                acl         = $protected;
            }

            EF template-private-key {
                file-id     = 5100;
                type        = internal-ef;
                size        = 512;    # enough for a 1024 bit RSA key
                ACL         = $prkey_prot;
            }
            EF template-extractable-key {
                file-id     = 5300;
                type        = internal-ef;
                size        = 512;    # enough for a 1024 bit RSA key
                ACL         = $exkey_prot;
            }

            EF template-public-key {
                file-id     = 5200;
                acl         = $protected;
            }

            EF template-certificate {
                file-id     = 5500;
                acl         = $protected;
            }

            EF template-data {
                file-id     = 5000;
                structure   = transparent;
                acl         = $protected;
            }
        }
    }
}

Filemanager

Name Type Size Permission Actions
asepcos.profile File 2.54 KB 0644
authentic.profile File 2.86 KB 0644
cardos.profile File 2.77 KB 0644
cyberflex.profile File 2.85 KB 0644
entersafe.profile File 3.8 KB 0644
epass2003.profile File 4.18 KB 0644
flex.profile File 3.09 KB 0644
gids.profile File 230 B 0644
gpk.profile File 2.85 KB 0644
ias_adele_admin1.profile File 4.92 KB 0644
ias_adele_admin2.profile File 4.9 KB 0644
ias_adele_common.profile File 4.84 KB 0644
iasecc.profile File 2.84 KB 0644
iasecc_admin_eid.profile File 4.91 KB 0644
iasecc_generic_oberthur.profile File 4.56 KB 0644
iasecc_generic_pki.profile File 4.9 KB 0644
incrypto34.profile File 2.65 KB 0644
isoApplet.profile File 2.95 KB 0644
jcop.profile File 2.16 KB 0644
miocos.profile File 1.16 KB 0644
muscle.profile File 3.38 KB 0644
myeid.profile File 6.59 KB 0644
oberthur.profile File 4.36 KB 0644
openpgp.profile File 1.85 KB 0644
pkcs15.profile File 3.88 KB 0644
rutoken.profile File 5.38 KB 0644
rutoken_ecp.profile File 5.9 KB 0644
rutoken_lite.profile File 5.41 KB 0644
sc-hsm.profile File 400 B 0644
setcos.profile File 3.7 KB 0644
starcos.profile File 2.69 KB 0644
westcos.profile File 3.56 KB 0644