diff --git a/app/pgp_utils.py b/app/pgp_utils.py index 334d8c6d..9d2d08c6 100644 --- a/app/pgp_utils.py +++ b/app/pgp_utils.py @@ -7,6 +7,7 @@ from memory_profiler import memory_usage from app.config import GNUPGHOME from app.log import LOG from app.models import Mailbox, Contact +from app.utils import random_string gpg = gnupg.GPG(gnupghome=GNUPGHOME) gpg.encoding = "utf-8"