pubkey stuff
This commit is contained in:
parent
78439a7ed8
commit
3f2442e259
2
auth.py
2
auth.py
@ -33,10 +33,12 @@ UserEntry = namedtuple('UserEntry', ['id', 'login', 'expiry', 'claims'])
|
||||
JWT_PRIV_KEY = ""
|
||||
with open('/opt/app/config/authservice.key', 'r') as f:
|
||||
JWT_PRIV_KEY = f.read().replace('\n','')
|
||||
print("DEBUG PRIVKEY: {}".format(JWT_PRIV_KEY))
|
||||
|
||||
JWT_PUB_KEY = ""
|
||||
with open('/opt/app/config/authservice.pub', 'r') as f:
|
||||
JWT_PUB_KEY = f.read().replace('\n','')
|
||||
print("DEBUG PUBKEY: {}".format(JWT_PUB_KEY))
|
||||
|
||||
|
||||
def getUserEntryFromDB(application: str, login: str):
|
||||
|
Loading…
x
Reference in New Issue
Block a user