Skip to content

Commit c486017

Browse files
committed
used the same constant in luks.py file
1 parent 5cc6b20 commit c486017

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

archinstall/lib/luks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from types import TracebackType
88

99
from archinstall.lib.disk.utils import get_lsblk_info, umount
10+
from archinstall.lib.models.device_model import DEFAULT_ITER_TIME
1011

1112
from .exceptions import DiskError, SysCallError
1213
from .general import SysCommand, SysCommandWorker, generate_password, run
@@ -76,7 +77,7 @@ def encrypt(
7677
self,
7778
key_size: int = 512,
7879
hash_type: str = 'sha512',
79-
iter_time: int = 10000,
80+
iter_time: int = DEFAULT_ITER_TIME,
8081
key_file: Path | None = None,
8182
) -> Path | None:
8283
debug(f'Luks2 encrypting: {self.luks_dev_path}')

0 commit comments

Comments
 (0)