Skip to content

Commit

Permalink
Update UI
Browse files Browse the repository at this point in the history
  • Loading branch information
hakavlad committed Jun 16, 2024
1 parent 7725cd6 commit bb2d999
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tird/tird.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,8 +649,7 @@ def get_pot_comments() -> bytes:


def get_ikm_digest_list() -> list:
"""
Get input keying material (keyfiles and passphrases) and return digest
"""Get input keying material (keyfiles and passphrases) and return digest
list.
"""
ikm_digest_list: list = []
Expand All @@ -677,8 +676,8 @@ def get_ikm_digest_list() -> list:
continue

if not digest_list:
print(f'{WAR}W: this directory is empty; no keyfiles '
f'to accept!{RES}')
print(f'{WAR}W: no files found in this directory; '
f'no keyfiles to accept!{RES}')
else:
ikm_digest_list.extend(digest_list)
print(f'{ITA}I: {len(digest_list)} keyfiles has been '
Expand Down Expand Up @@ -725,7 +724,8 @@ def get_ikm_digest_list() -> list:
pp_digest: bytes = get_passphrase_digest(pp0)
ikm_digest_list.append(pp_digest)
else:
print(f'{ERR}E: passphrase confirmation failed{RES}')
print(f'{ERR}E: passphrase confirmation failed; '
f'passphrase NOT accepted{RES}')

del pp0, pp1
collect()
Expand Down

0 comments on commit bb2d999

Please sign in to comment.