Add a message telling how to proceed when hash matches
This commit is contained in:
parent
13e39316ed
commit
cc8c546054
|
@ -190,6 +190,7 @@ def verify(client_pubkey, server_pubkey):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if secrets.compare_digest(own_hash, other_hash):
|
if secrets.compare_digest(own_hash, other_hash):
|
||||||
|
print('Hash matches. You can now type \'yes\' on the other end')
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
error('Could not transfer the keys')
|
error('Could not transfer the keys')
|
||||||
|
|
Loading…
Reference in New Issue