From 0ccbabd857c7ba651a22044ede777b4c3a230e59 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 27 Sep 2018 11:37:44 +0200 Subject: [PATCH] Switch SHA512 implementation to use the one from hashlib CURA-5744 --- cura/OAuth2/AuthorizationHelpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/OAuth2/AuthorizationHelpers.py b/cura/OAuth2/AuthorizationHelpers.py index 7141b83279..4d485b3bda 100644 --- a/cura/OAuth2/AuthorizationHelpers.py +++ b/cura/OAuth2/AuthorizationHelpers.py @@ -2,7 +2,7 @@ # Cura is released under the terms of the LGPLv3 or higher. import json import random -from _sha512 import sha512 +from hashlib import sha512 from base64 import b64encode from typing import Optional