pubkey stuff
This commit is contained in:
parent
3f2442e259
commit
ef0793be4e
4
auth.py
4
auth.py
@ -32,12 +32,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','')
|
||||
JWT_PRIV_KEY = f.read()
|
||||
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','')
|
||||
JWT_PUB_KEY = f.read()
|
||||
print("DEBUG PUBKEY: {}".format(JWT_PUB_KEY))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user