Skip to content

Commit

Permalink
Drop fernet
Browse files Browse the repository at this point in the history
Appears unused
  • Loading branch information
jackrosenthal committed Feb 14, 2024
1 parent cd57b15 commit 2b7b0b3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions algobowl/lib/app_globals.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
"""The application's Globals object"""

import tg
from cryptography.fernet import Fernet

__all__ = ["Globals"]


Expand All @@ -15,4 +12,4 @@ class Globals:
"""

def __init__(self):
self.fernet = Fernet(tg.config["fernet.key"])
pass
1 change: 0 additions & 1 deletion development.ini.sample
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ session.secret = aa8deb7d-a235-4f8d-807a-6497a8bb26af
#want to switch to a better session storage.
session.type = cookie
session.validate_key = aa8deb7d-a235-4f8d-807a-6497a8bb26af
fernet.key = "zE6FxujQYFMojxYXt9VIkM4kYTLgEE7ObzLYMsRerxc="

# Path to the client_secrets.json
glogin.client_secrets_file = %(here)s/client_secrets.json
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"repoze.who",
"WebHelpers2",
"recordclass",
"cryptography",
"requests",
]

Expand Down

0 comments on commit 2b7b0b3

Please sign in to comment.