From a2b6f34561275f0f1b8ab87120b45996a1a45bb3 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Thu, 29 Nov 2018 19:40:19 +0000 Subject: [PATCH] MobileWebAuth: fix password encryption missed in b31354f --- steam/webauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steam/webauth.py b/steam/webauth.py index 15f0382..9a495b8 100644 --- a/steam/webauth.py +++ b/steam/webauth.py @@ -216,7 +216,7 @@ class MobileWebAuth(WebAuth): def _send_login(self, captcha='', email_code='', twofactor_code=''): data = { 'username' : self.username, - "password": b64encode(self.key.encrypt(self.password.encode('ascii'), PKCS1v15())), + "password": b64encode(pkcs1v15_encrypt(self.key, self.password.encode('ascii'))), "emailauth": email_code, "emailsteamid": str(self.steam_id) if email_code else '', "twofactorcode": twofactor_code,