pubkey stuff
This commit is contained in:
parent
0377278ea0
commit
78439a7ed8
4
auth.py
4
auth.py
@ -32,11 +32,11 @@ UserEntry = namedtuple('UserEntry', ['id', 'login', 'expiry', 'claims'])
|
||||
|
||||
JWT_PRIV_KEY = ""
|
||||
with open('/opt/app/config/authservice.key', 'r') as f:
|
||||
JWT_PRIV_KEY = f.readlines()
|
||||
JWT_PRIV_KEY = f.read().replace('\n','')
|
||||
|
||||
JWT_PUB_KEY = ""
|
||||
with open('/opt/app/config/authservice.pub', 'r') as f:
|
||||
JWT_PUB_KEY = f.readlines()
|
||||
JWT_PUB_KEY = f.read().replace('\n','')
|
||||
|
||||
|
||||
def getUserEntryFromDB(application: str, login: str):
|
||||
|
Loading…
x
Reference in New Issue
Block a user