From c11e0e46b49759a2a0017e32d43e166c88a979a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 6 Dec 2018 12:16:52 +0100 Subject: [PATCH 1/2] Change default secret algorithm to sha256 --- app/devices/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/devices/models.py b/app/devices/models.py index e390983..17c4539 100644 --- a/app/devices/models.py +++ b/app/devices/models.py @@ -144,7 +144,7 @@ class Device(db.Model): self.name = name self.configuration = configuration self.device_type_id = device_type - self.secret_algorithm = 'sha512' + self.secret_algorithm = 'sha256' self.device_secret = token_urlsafe(32) def save(self): From 609086cb8a3ed2ff83c18c3064bbc0b5ed95e9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 6 Dec 2018 12:17:21 +0100 Subject: [PATCH 2/2] Version 0.4.5 --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 051075b..6b322c6 100644 --- a/config.py +++ b/config.py @@ -2,7 +2,7 @@ import os # App configuration DEBUG = os.environ['DEBUG'] -APP_VERSION = '0.4.4' +APP_VERSION = '0.4.5' APP_RELEASE_VERSION_STRING = (os.environ.get('HEROKU_RELEASE_VERSION') or 'Unknown')