Skip to content

Commit

Permalink
More clear prompt for password
Browse files Browse the repository at this point in the history
Make clear what is asking for the password
  • Loading branch information
clach04 committed Dec 31, 2023
1 parent 65e9102 commit c5ec426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puren_tonbo/tools/ptcipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def usage():
default_password_value = None
password = options.password or password_file or os.environ.get('PT_PASSWORD') or puren_tonbo.keyring_get_password() or default_password_value
if password is None:
password = puren_tonbo.ui.getpassfunc("Password:", preference_list=options.password_prompt)
password = puren_tonbo.ui.getpassfunc("Puren Tonbo ptcipher Password:", preference_list=options.password_prompt)
if not isinstance(password, bytes):
password = password.encode('us-ascii')

Expand Down

0 comments on commit c5ec426

Please sign in to comment.