Merge pull request #410 from sagarhowal/395-error-msg-fix

update WrongPasswordError
This commit is contained in:
meejah 2021-04-07 14:54:19 -06:00 committed by GitHub
commit 016200b740
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):
"""
Key confirmation failed. Either you or your correspondent typed the code
wrong, or a would-be man-in-the-middle attacker guessed incorrectly. You
could try again, giving both your correspondent and the attacker another
chance.
wrong, or a would-be man-in-the-middle attacker guessed incorrectly. Try
sending the file again.
"""
# or the data blob was corrupted, and that's why decrypt failed
pass