cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
This report summarizes scanner evidence for pyca/cryptography, a Python project with 7,804 GitHub stars. SynthScan examined 311,654 lines of code across 600 source files, recording 3747 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 16.4 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2177 finding(s).
Are imports declared and package/API names verified? 279 finding(s).
Are wrappers, guards, and repeated structures necessary? 2501 finding(s).
Which changes need focused human review? 3747 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3747 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 | 47 | def test_deleting_deprecated_members(self, monkeypatch): | CODE |
| LOW⚡ | tests/test_doubles.py | 26 | def test_public_bytes_raw_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 31 | def test_verify_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 41 | def test_copy_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 46 | def test_deepcopy_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 58 | def test_key_size_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 63 | def test_public_key_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 68 | def test_sign_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 73 | def test_private_numbers_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 78 | def test_private_bytes_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 87 | def test_copy_not_implemented(self): | CODE |
| LOW⚡ | tests/test_doubles.py | 92 | def test_deepcopy_not_implemented(self): | CODE |
| LOW⚡ | tests/test_cobblestone.py | 110 | def test_update_with_empty_data_emits_header(self, variant): | CODE |
| LOW⚡ | tests/test_cobblestone.py | 120 | def test_exact_chunk_boundary_has_empty_final_chunk(self, variant): | CODE |
| LOW⚡ | tests/test_cobblestone.py | 129 | def test_decrypter_streams_plaintext_incrementally(self, variant): | CODE |
| LOW | tests/test_cobblestone.py | 182 | def test_swapped_chunks_detected(self, variant): | CODE |
| LOW | tests/test_cobblestone.py | 234 | def test_ciphertexts_are_randomized(self, variant): | CODE |
| LOW | tests/test_cobblestone.py | 259 | def test_update_into_accepts_larger_buffer(self, variant): | CODE |
| LOW | tests/test_cobblestone.py | 269 | def test_update_into_buffer_too_small(self, variant): | CODE |
| LOW | tests/test_cobblestone.py | 287 | def test_update_into_overlapping_buffer(self, variant, offset): | CODE |
| LOW | tests/test_cobblestone.py | 307 | def test_update_into_zero_output(self, variant): | CODE |
| LOW | tests/test_cobblestone.py | 335 | def test_decryptor_unusable_after_invalid_tag(self, variant): | CODE |
| LOW | tests/test_cobblestone.py | 351 | def test_decryptor_update_into_unusable_after_invalid_tag(self, variant): | CODE |
| LOW | tests/test_cobblestone.py | 370 | def test_finalize_only_decryptor_rejects_empty_stream(self, variant): | CODE |
| LOW | tests/test_cobblestone.py | 422 | def test_cross_variant_key_sizes_rejected(self): | CODE |
| LOW | tests/test_fernet.py | 116 | def test_timestamp_ignored_no_ttl(self, monkeypatch): | CODE |
| LOW | tests/test_fernet.py | 123 | def test_ttl_required_in_decrypt_at_time(self): | CODE |
| LOW | tests/test_fernet.py | 210 | def test_non_iterable_argument(self): | CODE |
| LOW | tests/test_fernet.py | 253 | def test_rotate_preserves_timestamp(self): | CODE |
| LOW⚡ | tests/test_fernet.py | 271 | def test_rotate_decrypt_no_shared_keys(self): | CODE |
| LOW⚡ | tests/test_fernet.py | 281 | def test_extract_timestamp_first_fernet_valid_token(self): | CODE |
| LOW⚡ | tests/test_fernet.py | 288 | def test_extract_timestamp_second_fernet_valid_token(self): | CODE |
| LOW⚡ | tests/test_fernet.py | 296 | def test_extract_timestamp_no_valid_signature(self): | CODE |
| 1147 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/test_cobblestone.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 | 1428 | # Create a plain email | STRING |
| MEDIUM | tests/hazmat/primitives/test_pkcs7.py | 1413 | # Create a signed 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/fixtures_dsa.py | 11 | # This module is imported at test collection time; suppress the DSA | 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 |
| 177 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 | build==1.6.1 ; python_full_version >= '3.10' | COMMENT |
| LOW | ci-constraints-requirements.txt | 41 | # colorlog | COMMENT |
| LOW | ci-constraints-requirements.txt | 61 | # readme-renderer | COMMENT |
| LOW | ci-constraints-requirements.txt | 81 | # via requests | COMMENT |
| LOW | ci-constraints-requirements.txt | 101 | markupsafe==3.0.4 | COMMENT |
| LOW | ci-constraints-requirements.txt | 121 | # sphinx | COMMENT |
| LOW | ci-constraints-requirements.txt | 141 | # via pytest-benchmark | COMMENT |
| LOW | ci-constraints-requirements.txt | 161 | # via | COMMENT |
| LOW | ci-constraints-requirements.txt | 181 | # nox | COMMENT |
| LOW | ci-constraints-requirements.txt | 201 | # cryptography (pyproject.toml:dev) | COMMENT |
| LOW | ci-constraints-requirements.txt | 221 | # via | COMMENT |
| LOW | ci-constraints-requirements.txt | 241 | sphinxcontrib-qthelp==2.0.0 | COMMENT |
| LOW | ci-constraints-requirements.txt | 261 | # cryptography (pyproject.toml) | COMMENT |
| LOW | ci-constraints-requirements.txt | 281 | # cryptography-vectors | 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 |
| 626 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | noxfile.py | 5 | CODE | |
| LOW | tests/doubles.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/cobblestone.py | 5 | 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 | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | CODE | |
| LOW | src/cryptography/hazmat/asn1/__init__.py | 7 | 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/__init__.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/_cipheralgorithm.py | 5 | CODE | |
| LOW | src/cryptography/hazmat/primitives/poly1305.py | 5 | CODE | |
| 213 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 | 356 | CODE | |
| LOW | tests/hazmat/primitives/test_aead.py | 603 | 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 | 113 | CODE | |
| LOW | tests/hazmat/primitives/test_dsa.py | 475 | 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 | 133 | CODE | |
| LOW | src/cryptography/hazmat/asn1/asn1.py | 168 | CODE | |
| LOW | src/cryptography/hazmat/primitives/serialization/ssh.py | 138 | CODE | |
| LOW | src/cryptography/hazmat/primitives/serialization/ssh.py | 986 | 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 | 37 | __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 | 55 | __all__ = ["rsa_key_2048"] | CODE |
| LOW | tests/x509/test_x509_ext.py | 46 | __all__ = ["rsa_key_2048"] | CODE |
| LOW | tests/x509/test_x509.py | 66 | __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/cobblestone.py | 16 | __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 | 28 | __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/keywrap.py | 9 | __all__ = [ | CODE |
| LOW | src/cryptography/hazmat/primitives/hmac.py | 10 | __all__ = ["HMAC"] | CODE |
| LOW | src/cryptography/hazmat/primitives/hashes.py | 13 | __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 | 41 | __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 |
|---|---|---|---|---|
| HIGH | tests/conftest.py | 84 | except pytest.skip.Exception: | CODE |
| HIGH | tests/x509/test_x509.py | 705 | except x509.ExtensionNotFound: | CODE |
| HIGH | tests/wycheproof/test_rsa.py | 299 | except ValueError: | CODE |
| HIGH | docs/_ext/linkcode_res.py | 74 | except AttributeError: | 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 | 1765 | fake_key = DummyEd25519PublicKey(data) | CODE |
| LOW⚡ | tests/x509/test_x509_ext.py | 1767 | _key_identifier_from_public_key(fake_key) | CODE |
| LOW⚡ | tests/x509/test_x509_ext.py | 1774 | fake_key = DummyEd25519PublicKey(data[:-1] + b"\x00") | CODE |
| LOW⚡ | tests/x509/test_x509_ext.py | 1776 | _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 | 700 | # 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 | 353 | # 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 | 1228 | CODE | |
| LOW | src/cryptography/x509/base.py | 297 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/hazmat/primitives/test_rsa.py | 124 | # just add that to the end of the tuple | COMMENT |