Skip to content

Commit

Permalink
repeat mnemonic after change_secret
Browse files Browse the repository at this point in the history
  • Loading branch information
snopf committed Feb 6, 2020
1 parent 135872b commit d83416a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/host/pc/snopf_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,13 @@ def do_change_secret(self, args):
return

print('Device sent the correct password.')
print('The new secret on the device is now set!')
print('The new secret on the device is now set!\n\n')
# Repeat the mnemonic for clarity
print('***************************************************************')
print('The mnemonic for the new secret is:')
print(' '.join(m))
print('***************************************************************')

usb_comm.send_empty_message()

def do_set_keyboard_delay(self, args):
Expand Down

0 comments on commit d83416a

Please sign in to comment.