cc: fix typo in pycrypto noqa comment

This commit is contained in:
Mike Salvatore 2021-02-11 08:26:10 -05:00
parent e4bcf2ef1c
commit a7b79d6d03
2 changed files with 6 additions and 3 deletions

View File

@ -1,9 +1,10 @@
import base64
import os
# PyCrypto is deprecated, but we use pycryptodome, which uses the exact same imports but it maintained
from Crypto import Random # noqa: DOU133 # nosec: B413
from Crypto.Cipher import AES # noqa: DOU133 # nosec: B413
# PyCrypto is deprecated, but we use pycryptodome, which uses the exact same imports but
# is maintained.
from Crypto import Random # noqa: DUO133 # nosec: B413
from Crypto.Cipher import AES # noqa: DUO133 # nosec: B413
from monkey_island.cc.consts import MONKEY_ISLAND_ABS_PATH

View File

@ -7,6 +7,8 @@ for more details.
import argparse
# PyCrypto is deprecated, but we use pycryptodome, which uses the exact same imports but
# is maintained.
from Crypto.Hash import SHA3_512 # noqa: DUO133 # nosec: B413