mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-02 02:40:12 +00:00
Use debian cryptodome package
This commit is contained in:
1 parent
d9d702ce6e
commit
f6869f9308
6 files changed
+20
-15
No files matched your search
+8
-4
@@ -9,10 +9,14 @@ __status__ = "Production"
|
||||
|
||||
# see https://tools.ietf.org/html/draft-cavage-http-signatures-06
|
||||
|
||||
from Crypto.PublicKey import RSA
|
||||
from Crypto.Hash import SHA256
|
||||
#from Crypto.Signature import PKCS1_v1_5
|
||||
from Crypto.Signature import pkcs1_15
|
||||
from Cryptodome.PublicKey import RSA
|
||||
from Cryptodome.Hash import SHA256
|
||||
from Cryptodome.Signature import pkcs1_15
|
||||
|
||||
#from Crypto.PublicKey import RSA
|
||||
#from Crypto.Hash import SHA256
|
||||
##from Crypto.Signature import PKCS1_v1_5
|
||||
#from Crypto.Signature import pkcs1_15
|
||||
from requests.auth import AuthBase
|
||||
import base64
|
||||
import json
|
||||
|
||||
Reference in new issue
Block a user