mirror of
https://github.com/simple-login/app.git
synced 2025-11-10 01:40:49 +08:00
use utf-8 for PGP
This commit is contained in:
parent
c369742706
commit
cf257a92ec
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import gnupg
|
||||||
from app.config import GNUPGHOME
|
from app.config import GNUPGHOME
|
||||||
|
|
||||||
gpg = gnupg.GPG(gnupghome=GNUPGHOME)
|
gpg = gnupg.GPG(gnupghome=GNUPGHOME)
|
||||||
|
gpg.encoding = "utf-8"
|
||||||
|
|
||||||
|
|
||||||
class PGPException(Exception):
|
class PGPException(Exception):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue