Skip to content

Commit ff60c1f

Browse files
authored
signer: Add a hint to do touch authentication (#438)
Fixes #417
1 parent 89827b2 commit ff60c1f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

signer/tuf_on_ci_sign/_user.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,11 @@ def get_signer(self, key: Key) -> Signer:
7979
"""
8080

8181
def get_secret(secret: str) -> str:
82-
msg = f"Enter {secret} to sign"
82+
msg = f"Enter {secret} to sign (provide touch/bio authentication if needed)"
8383

8484
# special case for tests -- prompt() will lockup trying to hide STDIN:
8585
if not sys.stdin.isatty():
8686
return sys.stdin.readline().rstrip()
87-
8887
return click.prompt(bold(msg), hide_input=True)
8988

9089
if key.keyid in self._signers:

0 commit comments

Comments
 (0)