mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
fix the hack
This commit is contained in:
@@ -11,7 +11,7 @@ import ykman.descriptor
|
|||||||
# hack to avoid deprecation notice from cryptography
|
# hack to avoid deprecation notice from cryptography
|
||||||
# remove after this lands:
|
# remove after this lands:
|
||||||
# https://github.com/Yubico/yubikey-manager/pull/385
|
# https://github.com/Yubico/yubikey-manager/pull/385
|
||||||
sys.modules['ykman.utils.int_from_bytes'] = int.from_bytes
|
sys.modules['cryptography.utils'].int_from_bytes = int.from_bytes
|
||||||
|
|
||||||
from ykman.piv import SLOT, ALGO, PivController, DEFAULT_MANAGEMENT_KEY
|
from ykman.piv import SLOT, ALGO, PivController, DEFAULT_MANAGEMENT_KEY
|
||||||
from ykman.util import TRANSPORT
|
from ykman.util import TRANSPORT
|
||||||
|
|||||||
Reference in New Issue
Block a user