mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
10 lines
242 B
Python
10 lines
242 B
Python
from Cryptodome.PublicKey import RSA
|
|
|
|
from weak_crypto import only_used_by_test
|
|
|
|
def test_example():
|
|
# This is technically not ok, but since it's in a test, we don't want to alert on it
|
|
RSA.generate(1024)
|
|
|
|
only_used_by_test(1024)
|