index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-07 21:59:09 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-07 21:59:09 +0000 |
commit | 0bc24699c1aba583b1d98809321e2f726425f3fe (patch) | |
tree | 730d9ceb73673a2a04869053dca1a58b0fc382d8 /archinstall/lib/luks.py | |
parent | 78d4fe4fa1f6d38a6aebe26a26218de39d565990 (diff) |
-rw-r--r-- | archinstall/lib/luks.py | 4 |
diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 707eeeab..71e634e1 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -1,6 +1,6 @@ import os from .exceptions import * -from .general import sys_command +from .general import * from .disk import Partition class luks2(): @@ -22,7 +22,7 @@ class luks2(): return True def encrypt(self, partition, password, key_size=512, hash_type='sha512', iter_time=10000, key_file=None): - print(f'Encrypting {partition}') + log(f'Encrypting {partition}') if not key_file: key_file = f'/tmp/{os.path.basename(self.partition.path)}.disk_pw' #TODO: Make disk-pw-file randomly unique? if type(password) != bytes: password = bytes(password, 'UTF-8') |