{"version":"2.1.236","anchor":"private-key-redaction-no-longer-skips-blocks","canonical_anchor":"private-key-redaction-no-longer-skips-blocks","heading":"Private key redaction no longer skips blocks","tier":"notice","area":"Redaction","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.236\/e\/private-key-redaction-no-longer-skips-blocks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.236","markdown":"### Private key redaction no longer skips blocks\n\nPrivate key blocks are now reliably redacted instead of occasionally being skipped.\n\n**What**\n\nThe patterns that find PEM private key blocks and replace them with `[REDACTED]` were shared across calls and carried a search position between them, which could skip a block or mark the wrong boundaries. They are now built fresh on each scan.\n\n**Evidence**\n\n`\/-----BEGIN[ A-Z0-9_-]{0,100}?PRIVATE KEY(?: BLOCK)?-----\/gi`\n\n- Area: Redaction\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 2\/5"}