Closed tdaff closed 8 years ago
Original report by Anonymous.
File: kernel.py Function: check_password lines: 130, 131
re_passphrase = re.search('Enter passphrase .*:', text) re_password = re.search('.*@.* password:', text)
should be changed to
re_passphrase = re.search(b'Enter passphrase .*:', text) re_password = re.search(b'.*@.* password:', text)
since text is a byte object, not an str.
Original comment by Tom Daff (Bitbucket: tdaff, GitHub: tdaff).
fixed in f9e68aa4d0b1
Original report by Anonymous.
File: kernel.py Function: check_password lines: 130, 131
should be changed to
since text is a byte object, not an str.