update WrongPasswordError

This commit is contained in:
Sagar Howal 2021-04-07 18:37:16 +01:00 committed by GitHub
parent 501ce26e8b
commit 20a3238003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,9 +50,8 @@ class LonelyError(WormholeError):
class WrongPasswordError(WormholeError): class WrongPasswordError(WormholeError):
""" """
Key confirmation failed. Either you or your correspondent typed the code Key confirmation failed. Either you or your correspondent typed the code
wrong, or a would-be man-in-the-middle attacker guessed incorrectly. You wrong, or a would-be man-in-the-middle attacker guessed incorrectly. Try
could try again, giving both your correspondent and the attacker another sending the file again.
chance.
""" """
# or the data blob was corrupted, and that's why decrypt failed # or the data blob was corrupted, and that's why decrypt failed
pass pass