cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
This report presents the forensic synthetic code analysis of pyca/cryptography, a Python project with 7,662 GitHub stars. SynthScan v2.0 examined 308,294 lines of code across 595 source files, recording 3694 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 16.3 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3694 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_utils.py | 718 | # ============================================= | STRING |
| MEDIUM⚡ | tests/test_utils.py | 721 | # ----------------------------------- | STRING |
| MEDIUM⚡ | tests/test_utils.py | 725 | # ---------- | STRING |
| MEDIUM | tests/test_utils.py | 576 | # ----------------------------------- | STRING |
| MEDIUM | tests/test_utils.py | 580 | # ---------- | STRING |
| MEDIUM | tests/test_utils.py | 597 | # ----------- | STRING |
| MEDIUM | tests/test_utils.py | 659 | # ------------------------------------------------------- | STRING |
| MEDIUM | tests/test_utils.py | 662 | # ----------------- | STRING |
| MEDIUM | tests/test_utils.py | 694 | # ----------------- | STRING |
| MEDIUM | tests/test_utils.py | 745 | # ----------- | STRING |
| MEDIUM | tests/test_utils.py | 820 | # ----------------- | STRING |
| MEDIUM | tests/test_utils.py | 840 | # ============================================= | STRING |
| MEDIUM | tests/test_utils.py | 1049 | # ----------------------------------- | STRING |
| MEDIUM | tests/test_utils.py | 1053 | # ---------- | STRING |
| MEDIUM | tests/test_utils.py | 1069 | # ----------- | STRING |
| MEDIUM | tests/test_utils.py | 1125 | # ----------------------------------------------------------- | STRING |
| MEDIUM | tests/test_utils.py | 1128 | # ------------------ | STRING |
| MEDIUM | tests/test_utils.py | 1149 | # ------------------ | STRING |
| MEDIUM | tests/test_utils.py | 1169 | # ============================================= | STRING |
| MEDIUM⚡ | tests/bench/test_x509.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/bench/test_x509.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 636 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 639 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 643 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 1230 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 1233 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 1237 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 1822 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 1825 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 1829 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 2419 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 2422 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 2426 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 3016 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 3019 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 3023 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 3610 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 3613 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 3617 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 4232 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 4235 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 4239 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 4856 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 4859 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 4863 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 5480 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 5483 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 5487 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 6101 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 6104 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 6108 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 6721 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 6724 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 6728 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 7344 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 7347 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 7351 | # ---------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 7970 | # ============================================= | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 7973 | # --------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …raphy_vectors/asymmetric/RSA/pkcs1v15crypt-vectors.txt | 7977 | # ---------- | COMMENT |
| 1180 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_utils.py | 4428 | def test_raises_unsupported_algorithm_wrong_type(): | CODE |
| LOW⚡ | tests/test_utils.py | 4438 | def test_raises_unsupported_algorithm_wrong_reason(): | CODE |
| LOW⚡ | tests/test_utils.py | 4447 | def test_raises_unsupported_no_exc(): | CODE |
| LOW⚡ | tests/test_utils.py | 4454 | def test_raises_unsupported_algorithm(): | CODE |
| LOW | tests/test_utils.py | 42 | def test_int_to_bytes_rejects_zero_length(): | CODE |
| LOW | tests/test_utils.py | 49 | def test_check_backend_support_skip(): | CODE |
| LOW | tests/test_utils.py | 60 | def test_check_backend_support_no_skip(): | CODE |
| LOW | tests/test_utils.py | 137 | def test_load_nist_vectors_with_null_chars(): | CODE |
| LOW | tests/test_utils.py | 246 | def test_load_cryptrec_vectors(): | CODE |
| LOW | tests/test_utils.py | 288 | def test_load_cryptrec_vectors_invalid(): | CODE |
| LOW | tests/test_utils.py | 356 | def test_load_hash_vectors_bad_data(): | CODE |
| LOW | tests/test_utils.py | 370 | def test_load_vectors_from_file(): | CODE |
| LOW | tests/test_utils.py | 389 | def test_load_nist_gcm_vectors(): | CODE |
| LOW | tests/test_utils.py | 1385 | def test_load_rsa_nist_vectors(): | CODE |
| LOW | tests/test_utils.py | 1558 | def test_load_rsa_nist_pss_verification_vectors(): | CODE |
| LOW | tests/test_utils.py | 1624 | def test_load_fips_dsa_key_pair_vectors(): | CODE |
| LOW | tests/test_utils.py | 2035 | def test_load_fips_dsa_sig_ver_vectors(): | CODE |
| LOW | tests/test_utils.py | 2361 | def test_load_fips_dsa_sig_gen_vectors(): | CODE |
| LOW | tests/test_utils.py | 2657 | def test_load_fips_ecdsa_key_pair_vectors(): | CODE |
| LOW | tests/test_utils.py | 2805 | def test_load_fips_ecdsa_signing_vectors(): | CODE |
| LOW | tests/test_utils.py | 2998 | def test_load_kasvs_dh_vectors(): | CODE |
| LOW | tests/test_utils.py | 3495 | def test_load_kasvs_ecdh_vectors_empty_vector_data(): | CODE |
| LOW | tests/test_utils.py | 3499 | def test_load_kasvs_ecdh_vectors(): | CODE |
| LOW | tests/test_utils.py | 3928 | def test_load_kasvs_ecdh_kdf_vectors(): | CODE |
| LOW | tests/test_utils.py | 4236 | def test_load_nist_ccm_vectors_dvpt(): | CODE |
| LOW | tests/test_utils.py | 4332 | def test_load_nist_ccm_vectors_vadt(): | CODE |
| LOW | tests/test_utils.py | 4472 | def test_inspect_deprecated_module(self): | CODE |
| LOW | tests/test_warnings.py | 54 | def test_deleting_deprecated_members(self, monkeypatch): | CODE |
| LOW⚡ | tests/test_doubles.py | 25 | def test_public_bytes_raw_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 30 | def test_verify_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 40 | def test_copy_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 45 | def test_deepcopy_not_implemented(self): | CODE |
| LOW | tests/test_fernet.py | 115 | def test_timestamp_ignored_no_ttl(self, monkeypatch): | CODE |
| LOW | tests/test_fernet.py | 122 | def test_ttl_required_in_decrypt_at_time(self): | CODE |
| LOW | tests/test_fernet.py | 196 | def test_non_iterable_argument(self): | CODE |
| LOW | tests/test_fernet.py | 239 | def test_rotate_preserves_timestamp(self): | CODE |
| LOW⚡ | tests/test_fernet.py | 257 | def test_rotate_decrypt_no_shared_keys(self): | CODE |
| LOW⚡ | tests/test_fernet.py | 267 | def test_extract_timestamp_first_fernet_valid_token(self): | CODE |
| LOW⚡ | tests/test_fernet.py | 274 | def test_extract_timestamp_second_fernet_valid_token(self): | CODE |
| LOW⚡ | tests/test_fernet.py | 282 | def test_extract_timestamp_invalid_token(self): | CODE |
| LOW | tests/utils.py | 33 | def raises_unsupported_algorithm(reason): | CODE |
| LOW | tests/utils.py | 343 | def load_fips_dsa_key_pair_vectors( | CODE |
| LOW | tests/utils.py | 384 | def load_fips_dsa_sig_vectors(vector_data: typing.Iterable[str]) -> list[dict]: | CODE |
| LOW | tests/utils.py | 462 | def load_fips_ecdsa_key_pair_vectors( | CODE |
| LOW | tests/utils.py | 503 | def load_fips_ecdsa_signing_vectors( | CODE |
| LOW | tests/bench/test_x509.py | 17 | def test_object_identifier_constructor(benchmark): | CODE |
| LOW⚡ | tests/bench/test_x509.py | 30 | def test_load_der_certificate(benchmark): | CODE |
| LOW⚡ | tests/bench/test_x509.py | 40 | def test_load_pem_certificate(benchmark): | CODE |
| LOW⚡ | tests/bench/test_x509.py | 76 | def test_certificate_public_key(benchmark): | CODE |
| LOW⚡ | tests/bench/test_x509.py | 86 | def test_certificate_signature_hash_algorithm(benchmark): | CODE |
| LOW⚡ | tests/bench/test_x509.py | 96 | def test_certificate_signature_algorithm_oid(benchmark): | CODE |
| LOW | tests/bench/test_x509.py | 116 | def test_crl_serial_number_lookup_hit(benchmark): | CODE |
| LOW | tests/bench/test_x509.py | 128 | def test_crl_serial_number_lookup_miss(benchmark): | CODE |
| LOW | tests/bench/test_x509.py | 139 | def test_ocsp_request_properties(benchmark): | CODE |
| LOW | tests/bench/test_x509.py | 156 | def test_ocsp_response_properties(benchmark): | CODE |
| LOW | tests/bench/test_x509.py | 172 | def test_verify_docs_python_org(benchmark, pytestconfig): | CODE |
| LOW⚡ | tests/bench/test_ec_load.py | 8 | def test_load_ec_public_numbers(benchmark): | CODE |
| LOW⚡ | tests/bench/test_ec_load.py | 12 | def test_load_ec_private_numbers(benchmark): | CODE |
| LOW⚡ | tests/hazmat/asn1/test_api.py | 18 | def test_repr_printable_string(self) -> None: | CODE |
| LOW⚡ | tests/hazmat/asn1/test_api.py | 25 | def test_printable_string_as_str(self) -> None: | CODE |
| 1107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | release.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | noxfile.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/test_utils.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/conftest.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/test_warnings.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/test_doubles.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/doubles.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/test_fernet.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/utils.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/test_meta.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/test_cryptography_utils.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/deprecated_module.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/bench/test_x509.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/bench/test_aead.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/bench/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/bench/test_hashes.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/bench/test_fernet.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/bench/test_hkdf.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM⚡ | tests/bench/test_ec_load.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/bench/test_hmac.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/test_oid.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/asn1/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/asn1/test_api.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/asn1/test_serialization.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/backends/test_openssl.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/backends/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_ec.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_aead.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_hkdf_vectors.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_aes.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_xofhash.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_rsa.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_ciphers.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_hmac_vectors.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_pkcs7.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_pkcs7.py | 1416 | # Create a signed email | STRING |
| MEDIUM | tests/hazmat/primitives/test_pkcs7.py | 1431 | # Create a plain email | STRING |
| MEDIUM | tests/hazmat/primitives/test_aes_gcm.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_hash_vectors.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/fixtures_dsa.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_sm4.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_x448.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_block.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_kbkdf.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_ed448.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_concatkdf.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_x25519.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_cmac.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_hashes.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_hpke.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_dh.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_kbkdf_vectors.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_keywrap.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_ed25519.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_ssh.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_mlkem.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | tests/hazmat/primitives/test_constant_time.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| 172 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci-constraints-requirements.txt | 1 | # This file was autogenerated by uv via the following command: | COMMENT |
| LOW | ci-constraints-requirements.txt | 21 | # cryptography (pyproject.toml:dev) | COMMENT |
| LOW | ci-constraints-requirements.txt | 41 | # sphinx | COMMENT |
| LOW | ci-constraints-requirements.txt | 61 | # sphinx-rtd-theme | COMMENT |
| LOW | ci-constraints-requirements.txt | 81 | # via sphinx | COMMENT |
| LOW | ci-constraints-requirements.txt | 101 | mypy==1.19.1 ; python_full_version < '3.10' | COMMENT |
| LOW | ci-constraints-requirements.txt | 121 | # via | COMMENT |
| LOW | ci-constraints-requirements.txt | 141 | # via | COMMENT |
| LOW | ci-constraints-requirements.txt | 161 | # pytest-benchmark | COMMENT |
| LOW | ci-constraints-requirements.txt | 181 | requests==2.32.5 ; python_full_version < '3.10' | COMMENT |
| LOW | ci-constraints-requirements.txt | 201 | # via | COMMENT |
| LOW | ci-constraints-requirements.txt | 241 | sphinxcontrib-spelling==8.0.2 ; python_full_version >= '3.10' | COMMENT |
| LOW | ci-constraints-requirements.txt | 261 | urllib3==2.7.0 ; python_full_version >= '3.10' | COMMENT |
| LOW | tests/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| LOW | tests/bench/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| LOW | tests/hazmat/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| LOW | tests/hazmat/asn1/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| LOW | tests/hazmat/backends/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| LOW | tests/hazmat/primitives/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| LOW | tests/hazmat/primitives/decrepit/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| LOW | tests/hazmat/primitives/twofactor/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| LOW | tests/x509/verification/test_limbo.py | 21 | VerificationError, | COMMENT |
| LOW | tests/x509/verification/test_limbo.py | 41 | # incompatible ways. Our validator always tries (by default) to comply | COMMENT |
| LOW | tests/x509/verification/test_limbo.py | 61 | # We allow CAs that don't have AKIs, which is forbidden under | COMMENT |
| LOW | …ctors/cryptography_vectors/ciphers/Blowfish/bf-ecb.txt | 181 | # CIPHERTEXT = F9AD597C49DB005E | COMMENT |
| LOW | …ors/asymmetric/ECDSA/RFC6979/evppkey_ecdsa_rfc6979.txt | 1 | # | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 1 | # RSA OAEP SHA2 vectors built for https://github.com/pyca/cryptography | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 21 | # Prime 2: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 41 | d94ae0832e6445ce42331cb06d531a82b1db4baad30f746dc916df24d4e3c2451fff59a6423eb0e1d02d4fe646cf699dfd818c6e97b051 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 61 | # Public key | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 81 | # Coefficient: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 101 | # Encryption: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 121 | # Modulus: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 141 | a3dae60f0fa379c43d19aa60d09b3fbda68859a7ba4cb5ec891812cfeff512820da76e2818082e5c3a6c7507d536430e145039e87c3739b211453402 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 161 | 5e0c62e6e1b1d7e3e52e58d48b8aa44208882fa8e8a80bfb543299bcbbe6d0a478e460c17ac567e92b0771b4394aa8729bf1ca359eac3fa9b36d65e7 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 181 | # Prime 1: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 201 | # OAEP Example 3 alg=sha256 mgf1=sha256 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 221 | # ============================================= | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 241 | # Prime exponent 2: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 261 | # Message: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 281 | 10001 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 301 | 4046ca8baa3347ca27f49e0d81f9cc1d71be9ba517d4 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 321 | 32488cb262d041d6e4dd35f987bf3ca696db1f06ac29a44693 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 341 | # Exponent: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 361 | # Encryption: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 381 | # Encryption: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 401 | # Prime exponent 1: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 421 | 879f5f34610bfadd07b5b7c0e3002006419ef49a34b71349573236e6742a88ba0b451db0c1fa3c224ff98543bc1395ca02f96b32d10f57c5b76e7425 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 461 | # OAEP Example 1 alg=sha256 mgf1=sha256 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 481 | # OAEP Example 5 alg=sha256 mgf1=sha256 | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 501 | # Public exponent: | COMMENT |
| LOW | …tors/asymmetric/RSA/oaep-custom/oaep-sha256-sha256.txt | 521 | # Message: | COMMENT |
| LOW | …ectors/asymmetric/RSA/oaep-custom/oaep-sha1-sha224.txt | 1 | # RSA OAEP SHA2 vectors built for https://github.com/pyca/cryptography | COMMENT |
| LOW | …ectors/asymmetric/RSA/oaep-custom/oaep-sha1-sha224.txt | 21 | # Prime 2: | COMMENT |
| LOW | …ectors/asymmetric/RSA/oaep-custom/oaep-sha1-sha224.txt | 41 | d94ae0832e6445ce42331cb06d531a82b1db4baad30f746dc916df24d4e3c2451fff59a6423eb0e1d02d4fe646cf699dfd818c6e97b051 | COMMENT |
| LOW | …ectors/asymmetric/RSA/oaep-custom/oaep-sha1-sha224.txt | 61 | # Public key | COMMENT |
| LOW | …ectors/asymmetric/RSA/oaep-custom/oaep-sha1-sha224.txt | 81 | # Coefficient: | COMMENT |
| LOW | …ectors/asymmetric/RSA/oaep-custom/oaep-sha1-sha224.txt | 101 | # Encryption: | COMMENT |
| LOW | …ectors/asymmetric/RSA/oaep-custom/oaep-sha1-sha224.txt | 121 | # Modulus: | COMMENT |
| LOW | …ectors/asymmetric/RSA/oaep-custom/oaep-sha1-sha224.txt | 141 | 7b4a85ec83f1a149bbaa8568eeb917418a76cc685b0422f949a5463ef2a250af46ab07bea773c244c3a5c0d2ec6db5c7a35204997c2f6235e1a0ee45 | COMMENT |
| 632 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | noxfile.py | 5 | CODE | |
| LOW | tests/utils.py | 5 | CODE | |
| LOW | tests/hazmat/primitives/test_ciphers.py | 27 | CODE | |
| LOW | tests/hazmat/primitives/test_ciphers.py | 31 | CODE | |
| LOW | tests/hazmat/primitives/test_hpke.py | 5 | CODE | |
| LOW | tests/x509/verification/test_limbo.py | 5 | CODE | |
| LOW | tests/wycheproof/test_mldsa.py | 5 | CODE | |
| LOW | vectors/cryptography_vectors/__init__.py | 8 | CODE | |
| LOW | docs/conf.py | 61 | CODE | |
| LOW | src/cryptography/__init__.py | 5 | CODE | |
| LOW | src/cryptography/__init__.py | 7 | CODE | |
| LOW | src/cryptography/__init__.py | 7 | CODE | |
| LOW | src/cryptography/__init__.py | 7 | CODE | |
| LOW | src/cryptography/utils.py | 5 | CODE | |
| LOW | src/cryptography/__about__.py | 5 | CODE | |
| LOW | src/cryptography/exceptions.py | 5 | CODE | |
| LOW | src/cryptography/fernet.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/_oid.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/asn1/asn1.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/decrepit/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/decrepit/ciphers/algorithms.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/decrepit/ciphers/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/decrepit/ciphers/modes.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/backends/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/backends/openssl/backend.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/backends/openssl/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/backends/openssl/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/primitives/_modes.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/_serialization.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/_serialization.py | 10 | CODE | |
| LOW | src/cryptography/hazmat/primitives/_serialization.py | 11 | CODE | |
| LOW | src/cryptography/hazmat/primitives/_serialization.py | 15 | CODE | |
| LOW | src/cryptography/hazmat/primitives/hpke.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/cmac.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/_asymmetric.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/_cipheralgorithm.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/poly1305.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/constant_time.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/keywrap.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/hmac.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/hashes.py | 5 | CODE | |
| 205 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/cryptography/hazmat/primitives/asymmetric/x448.py | 0 | the raw bytes of the public key. equivalent to public_bytes(raw, raw). | STRING |
| HIGH | …c/cryptography/hazmat/primitives/asymmetric/ed25519.py | 0 | the raw bytes of the public key. equivalent to public_bytes(raw, raw). | STRING |
| HIGH | src/cryptography/hazmat/primitives/asymmetric/ed448.py | 0 | the raw bytes of the public key. equivalent to public_bytes(raw, raw). | STRING |
| HIGH | src/cryptography/hazmat/primitives/asymmetric/x25519.py | 0 | the raw bytes of the public key. equivalent to public_bytes(raw, raw). | STRING |
| HIGH | src/cryptography/hazmat/primitives/asymmetric/x448.py | 0 | the raw bytes of the private key. equivalent to private_bytes(raw, raw, noencryption()). | STRING |
| HIGH | …c/cryptography/hazmat/primitives/asymmetric/ed25519.py | 0 | the raw bytes of the private key. equivalent to private_bytes(raw, raw, noencryption()). | STRING |
| HIGH | src/cryptography/hazmat/primitives/asymmetric/ed448.py | 0 | the raw bytes of the private key. equivalent to private_bytes(raw, raw, noencryption()). | STRING |
| HIGH | src/cryptography/hazmat/primitives/asymmetric/x25519.py | 0 | the raw bytes of the private key. equivalent to private_bytes(raw, raw, noencryption()). | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/utils.py | 89 | CODE | |
| LOW | tests/utils.py | 117 | CODE | |
| LOW | tests/utils.py | 158 | CODE | |
| LOW | tests/utils.py | 283 | CODE | |
| LOW | tests/utils.py | 343 | CODE | |
| LOW | tests/utils.py | 384 | CODE | |
| LOW | tests/utils.py | 462 | CODE | |
| LOW | tests/utils.py | 503 | CODE | |
| LOW | tests/utils.py | 556 | CODE | |
| LOW | tests/utils.py | 611 | CODE | |
| LOW | tests/utils.py | 719 | CODE | |
| LOW | tests/utils.py | 771 | CODE | |
| LOW | tests/utils.py | 828 | CODE | |
| LOW | tests/hazmat/primitives/test_ec.py | 531 | CODE | |
| LOW | tests/hazmat/primitives/test_ec.py | 571 | CODE | |
| LOW | tests/hazmat/primitives/test_ec.py | 1518 | CODE | |
| LOW | tests/hazmat/primitives/test_aead.py | 145 | CODE | |
| LOW | tests/hazmat/primitives/test_aead.py | 331 | CODE | |
| LOW | tests/hazmat/primitives/test_aead.py | 578 | CODE | |
| LOW | tests/hazmat/primitives/test_hpke.py | 134 | CODE | |
| LOW | tests/hazmat/primitives/test_hpke.py | 199 | CODE | |
| LOW | tests/hazmat/primitives/test_hpke.py | 940 | CODE | |
| LOW | tests/hazmat/primitives/test_keywrap.py | 31 | CODE | |
| LOW | tests/hazmat/primitives/test_keywrap.py | 107 | CODE | |
| LOW | tests/hazmat/primitives/test_dsa.py | 467 | CODE | |
| LOW | tests/x509/test_ocsp.py | 1373 | CODE | |
| LOW | docs/development/custom-vectors/seed/generate_seed.py | 17 | CODE | |
| LOW | docs/development/custom-vectors/arc4/generate_arc4.py | 55 | CODE | |
| LOW | docs/development/custom-vectors/idea/generate_idea.py | 17 | CODE | |
| LOW | docs/development/custom-vectors/cast5/generate_cast5.py | 21 | CODE | |
| LOW | …ustom-vectors/aes-192-gcm-siv/generate_aes192gcmsiv.py | 44 | CODE | |
| LOW | .github/bin/bump_dependency.py | 16 | CODE | |
| LOW | .github/bin/merge_rust_coverage.py | 40 | CODE | |
| LOW | .github/bin/merge_rust_coverage.py | 59 | CODE | |
| LOW | src/cryptography/hazmat/asn1/asn1.py | 128 | CODE | |
| LOW | src/cryptography/hazmat/asn1/asn1.py | 163 | CODE | |
| LOW | src/cryptography/hazmat/primitives/serialization/ssh.py | 141 | CODE | |
| LOW | src/cryptography/hazmat/primitives/serialization/ssh.py | 981 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/hazmat/backends/test_openssl.py | 28 | __all__ = ["rsa_key_2048"] | CODE |
| LOW | tests/hazmat/primitives/test_pkcs7.py | 36 | __all__ = ["rsa_key_2048"] | CODE |
| LOW | tests/hazmat/primitives/test_ssh.py | 50 | __all__ = ["rsa_key_2048"] | CODE |
| LOW | tests/hazmat/primitives/test_serialization.py | 51 | __all__ = ["rsa_key_2048"] | CODE |
| LOW | tests/x509/test_x509_ext.py | 46 | __all__ = ["rsa_key_2048"] | CODE |
| LOW | tests/x509/test_x509.py | 65 | __all__ = ["rsa_key_512", "rsa_key_2048"] | CODE |
| LOW | tests/x509/test_x509_crlbuilder.py | 39 | __all__ = ["rsa_key_512", "rsa_key_2048"] | CODE |
| LOW | vectors/cryptography_vectors/__init__.py | 10 | __all__ = [ | CODE |
| LOW | vectors/cryptography_vectors/__about__.py | 5 | __all__ = [ | CODE |
| LOW | src/cryptography/__init__.py | 9 | __all__ = [ | CODE |
| LOW | src/cryptography/__about__.py | 7 | __all__ = [ | CODE |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 26 | __all__ = [ | CODE |
| LOW | src/cryptography/hazmat/backends/openssl/__init__.py | 9 | __all__ = ["backend"] | CODE |
| LOW | src/cryptography/hazmat/primitives/hpke.py | 18 | __all__ = [ | CODE |
| LOW | src/cryptography/hazmat/primitives/cmac.py | 9 | __all__ = ["CMAC"] | CODE |
| LOW | src/cryptography/hazmat/primitives/poly1305.py | 9 | __all__ = ["Poly1305"] | CODE |
| LOW | src/cryptography/hazmat/primitives/hmac.py | 10 | __all__ = ["HMAC"] | CODE |
| LOW | src/cryptography/hazmat/primitives/hashes.py | 12 | __all__ = [ | CODE |
| LOW | src/cryptography/hazmat/primitives/kdf/argon2.py | 17 | __all__ = ["Argon2d", "Argon2i", "Argon2id"] | CODE |
| LOW | src/cryptography/hazmat/primitives/kdf/scrypt.py | 19 | __all__ = ["Scrypt"] | CODE |
| LOW | src/cryptography/hazmat/primitives/kdf/pbkdf2.py | 13 | __all__ = ["PBKDF2HMAC"] | CODE |
| LOW | src/cryptography/hazmat/primitives/kdf/hkdf.py | 16 | __all__ = ["HKDF", "HKDFExpand"] | CODE |
| LOW | src/cryptography/hazmat/primitives/kdf/x963kdf.py | 13 | __all__ = ["X963KDF"] | CODE |
| LOW | src/cryptography/hazmat/primitives/kdf/concatkdf.py | 16 | __all__ = ["ConcatKDFHMAC", "ConcatKDFHash"] | CODE |
| LOW | …yptography/hazmat/primitives/serialization/__init__.py | 39 | __all__ = [ | CODE |
| LOW | …cryptography/hazmat/primitives/serialization/pkcs12.py | 23 | __all__ = [ | CODE |
| LOW | src/cryptography/hazmat/primitives/ciphers/aead.py | 9 | __all__ = [ | CODE |
| LOW | src/cryptography/hazmat/primitives/ciphers/__init__.py | 19 | __all__ = [ | CODE |
| LOW | src/cryptography/x509/oid.py | 23 | __all__ = [ | CODE |
| LOW | src/cryptography/x509/verification.py | 12 | __all__ = [ | CODE |
| LOW | src/cryptography/x509/__init__.py | 179 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/hazmat/primitives/test_cmac.py | 47 | fake_key = b"\x00" * 16 | CODE |
| LOW | tests/hazmat/primitives/test_cmac.py | 122 | only_if=lambda backend: backend.cipher_supported(ARC4(fake_key), None), | CODE |
| LOW⚡ | tests/x509/test_x509_ext.py | 1763 | fake_key = DummyEd25519PublicKey(data) | CODE |
| LOW⚡ | tests/x509/test_x509_ext.py | 1765 | _key_identifier_from_public_key(fake_key) | CODE |
| LOW⚡ | tests/x509/test_x509_ext.py | 1772 | fake_key = DummyEd25519PublicKey(data[:-1] + b"\x00") | CODE |
| LOW⚡ | tests/x509/test_x509_ext.py | 1774 | _key_identifier_from_public_key(fake_key) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_utils.py | 4473 | # Check if inspection is supported by _ModuleWithDeprecations. | COMMENT |
| LOW | tests/x509/test_x509.py | 699 | # Check if all reason flags can be found in the CRL. | COMMENT |
| LOW | .github/bin/bump_downstreams.sh | 57 | # Check if this downstream had updates (commit message file has content) | COMMENT |
| LOW | src/cryptography/hazmat/asn1/asn1.py | 326 | # Check if this is a Variant[T, Tag] type | COMMENT |
| LOW | src/cryptography/hazmat/primitives/asymmetric/rsa.py | 281 | # Check if a^k is a non-trivial root of unity (mod n) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/wycheproof/test_mlkem.py | 37 | except Exception as e: | CODE |
| LOW | tests/wycheproof/test_mlkem.py | 105 | except Exception as e: | CODE |
| LOW | docs/_ext/linkcode_res.py | 57 | except Exception: | CODE |
| LOW | docs/_ext/linkcode_res.py | 67 | except Exception: | CODE |
| LOW | docs/_ext/linkcode_res.py | 84 | except Exception: | CODE |
| LOW | docs/_ext/linkcode_res.py | 91 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/hazmat/primitives/test_ssh.py | 404 | CODE | |
| LOW | src/cryptography/hazmat/primitives/serialization/ssh.py | 1223 | CODE | |
| LOW | src/cryptography/x509/base.py | 296 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/hazmat/primitives/test_rsa.py | 124 | # just add that to the end of the tuple | COMMENT |