From 4e17e6da82acfec816493de5cce01469da6759f9 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Fri, 23 Dec 2022 14:09:13 +0100 Subject: [PATCH] main.py fixed pycryptodome import --- app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 4ae3c6b..c5970d3 100644 --- a/app/main.py +++ b/app/main.py @@ -19,8 +19,8 @@ from starlette.middleware.cors import CORSMiddleware from starlette.responses import StreamingResponse, JSONResponse, HTMLResponse from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker -from Crypto.PublicKey import RSA -from Crypto.PublicKey.RSA import RsaKey +from Cryptodome.PublicKey import RSA # Crypto | Cryptodome on Debian +from Cryptodome.PublicKey.RSA import RsaKey # Crypto | Cryptodome on Debian from orm import Origin, Lease, init as db_init