cc: ignore pycrypto security warnings since we use pycryptodome
This commit is contained in:
parent
0cc65cb346
commit
e4bcf2ef1c
|
@ -2,8 +2,8 @@ import base64
|
||||||
import os
|
import os
|
||||||
|
|
||||||
# PyCrypto is deprecated, but we use pycryptodome, which uses the exact same imports but it maintained
|
# PyCrypto is deprecated, but we use pycryptodome, which uses the exact same imports but it maintained
|
||||||
from Crypto import Random # noqa: DOU133
|
from Crypto import Random # noqa: DOU133 # nosec: B413
|
||||||
from Crypto.Cipher import AES # noqa: DOU133
|
from Crypto.Cipher import AES # noqa: DOU133 # nosec: B413
|
||||||
|
|
||||||
from monkey_island.cc.consts import MONKEY_ISLAND_ABS_PATH
|
from monkey_island.cc.consts import MONKEY_ISLAND_ABS_PATH
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ for more details.
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
from Crypto.Hash import SHA3_512 # noqa: DUO133
|
from Crypto.Hash import SHA3_512 # noqa: DUO133 # nosec: B413
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Reference in New Issue