pubkey stuff, remove debug

This commit is contained in:
Wolfgang Hottgenroth 2021-05-06 16:55:39 +02:00
parent ef0793be4e
commit f56db65012
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -33,12 +33,10 @@ 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()
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()
print("DEBUG PUBKEY: {}".format(JWT_PUB_KEY))
def getUserEntryFromDB(application: str, login: str):