cc: ignore pycrypto security warnings since we use pycryptodome

This commit is contained in:
Mike Salvatore 2021-02-11 08:09:07 -05:00
parent 0cc65cb346
commit e4bcf2ef1c
2 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@ 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
from Crypto.Cipher import AES # noqa: DOU133
from Crypto import Random # noqa: DOU133 # nosec: B413
from Crypto.Cipher import AES # noqa: DOU133 # nosec: B413
from monkey_island.cc.consts import MONKEY_ISLAND_ABS_PATH

View File

@ -7,7 +7,7 @@ for more details.
import argparse
from Crypto.Hash import SHA3_512 # noqa: DUO133
from Crypto.Hash import SHA3_512 # noqa: DUO133 # nosec: B413
def main():