Exemple #1
0
 def __init__(self, dir):
     self.root_dir = dir
     random_id = random_string(5)
     self.key_file = os.path.join(self.root_dir, "veracrypt-keyfile-%s" % random_id)
     self.volume_file = os.path.join(self.root_dir, "veracrypt-volume-%s" % random_id)
     self.mount_dir = os.path.join(self.root_dir, "veracrypt-mount-%s" % random_id)
     self.password = random_string(20)
Exemple #2
0
 def __init__(self, dir):
     self.root_dir = dir
     random_id = random_string(5)
     self.base_dir = os.path.join(self.root_dir, "encfs-base-%s" % random_id)
     self.mount_dir = os.path.join(self.root_dir, "encfs-mount-%s" % random_id)
Exemple #3
0
 def __init__(self, dir):
     self.root_dir = dir
     random_id = random_string(5)
     self.config_file = os.path.join(self.root_dir, "cryfs-config-%s.json" % random_id)
     self.base_dir = os.path.join(self.root_dir, "cryfs-base-%s" % random_id)
     self.mount_dir = os.path.join(self.root_dir, "cryfs-mount-%s" % random_id)
Exemple #4
0
 def __init__(self, dir):
     self.root_dir = dir
     random_id = random_string(5)
     self.mount_dir = os.path.join(self.root_dir, "plain-%s" % random_id)