Ignore:
Timestamp:
Jul 18, 2016, 11:48:17 AM (3 years ago)
Author:
dcorreia
Message:

Added pam_pkcs11 configuration file creation.
Updated crl wget feature to avoid duplicate files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • internals/2016/linuxloginsmartcardwizard/trunk/project1/configpkcs11.py

    r16330 r16332  
    99HASHLINK_COMMAND = "pkcs11_make_hash_link"
    1010WGET_COMMAND = "wget "
     11GUNZIP_COMMAND = "gunzip "
     12MV_COMMAND = "mv "
    1113
    1214
     
    9597    executeCommand(WGET_COMMAND+crlWebLink)
    9698    os.chdir(currentDirectoryPath)
     99
     100
     101def makeConfigFile(configZipPath, configPath, directoryPath):
     102    copyFileToDirectory(configZipPath, directoryPath)
     103    os.chdir(directoryPath)
     104    executeCommand(GUNZIP_COMMAND+"pam_pkcs11.conf.example.gz")
     105    executeCommand(MV_COMMAND+"pam_pkcs11.conf.example "+configPath)
Note: See TracChangeset for help on using the changeset viewer.