security: fix insecure PRNG, pickle RCE, path traversal, and hardcoded secrets #17480
Annotations
10 errors
|
ruff (EM102):
ciphers/xor_cipher.py#L178
ciphers/xor_cipher.py:178:29: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
ciphers/xor_cipher.py#L176
ciphers/xor_cipher.py:176:29: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
ciphers/xor_cipher.py#L135
ciphers/xor_cipher.py:135:29: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
ciphers/xor_cipher.py#L133
ciphers/xor_cipher.py:133:29: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
ciphers/xor_cipher.py#L98
ciphers/xor_cipher.py:98:29: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
ciphers/xor_cipher.py#L96
ciphers/xor_cipher.py:96:29: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
ciphers/xor_cipher.py#L61
ciphers/xor_cipher.py:61:29: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
ciphers/xor_cipher.py#L59
ciphers/xor_cipher.py:59:29: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
ciphers/rabin_miller.py#L26
ciphers/rabin_miller.py:26:26: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (PLR5501):
ciphers/base64_cipher.py#L110
ciphers/base64_cipher.py:110:5: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
help: Convert to `elif`
|