mirror of
https://github.com/ThunderEX/py-kms.git
synced 2025-04-18 07:44:00 +03:00
redirect struct, uuid, os.path
This commit is contained in:
parent
23e17cd44f
commit
79277cddf6
@ -2,9 +2,13 @@ import binascii
|
||||
import filetimes
|
||||
import kmsPidGenerator
|
||||
import os
|
||||
import os.path
|
||||
import sys
|
||||
import time
|
||||
import uuid
|
||||
try:
|
||||
import uuid
|
||||
except ImportError:
|
||||
import upy.uuid as uuid
|
||||
|
||||
from structure import Structure
|
||||
|
||||
|
@ -3,7 +3,10 @@ try:
|
||||
except ImportError:
|
||||
import upy.fakerandom as random
|
||||
import time
|
||||
import uuid
|
||||
try:
|
||||
import uuid
|
||||
except ImportError:
|
||||
import upy.uuid as uuid
|
||||
|
||||
APP_ID_WINDOWS = uuid.UUID("55C92734-D682-4D71-983E-D6EC3F16059F")
|
||||
APP_ID_OFFICE14 = uuid.UUID("59A52881-A989-479D-AF46-F275C6370663")
|
||||
|
@ -1,4 +1,7 @@
|
||||
import struct
|
||||
try:
|
||||
import struct
|
||||
except ImportError:
|
||||
import ustruct as struct
|
||||
from kmsBase import errorCodes, kmsBase
|
||||
|
||||
class kmsRequestUnknown(kmsBase):
|
||||
|
@ -1,7 +1,10 @@
|
||||
import os
|
||||
import hashlib
|
||||
import hmac
|
||||
import struct
|
||||
try:
|
||||
import struct
|
||||
except ImportError:
|
||||
import ustruct as struct
|
||||
import pyaes
|
||||
from kmsBase import kmsResponseStruct
|
||||
from kmsRequestV5 import kmsRequestV5
|
||||
|
@ -50,8 +50,10 @@
|
||||
|
||||
# See the README.md for API details and general information.
|
||||
|
||||
|
||||
import struct
|
||||
try:
|
||||
import struct
|
||||
except ImportError:
|
||||
import ustruct as struct
|
||||
|
||||
__all__ = ["AES", "AESModeOfOperationCTR", "AESModeOfOperationCBC", "AESModeOfOperationCFB",
|
||||
"AESModeOfOperationECB", "AESModeOfOperationOFB", "AESModesOfOperation", "Counter"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user