From c00b9c5b38cc3d6dc854d846e76370c53c051252 Mon Sep 17 00:00:00 2001 From: aegilops <41705651+aegilops@users.noreply.github.com> Date: Mon, 12 Feb 2024 17:35:25 +0000 Subject: [PATCH] Amended to fix over matching --- rsa/patterns.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsa/patterns.yml b/rsa/patterns.yml index dd3b6a53..e6219618 100644 --- a/rsa/patterns.yml +++ b/rsa/patterns.yml @@ -69,7 +69,7 @@ patterns: pattern: | ssh-rsa\s+[a-zA-Z0-9/\+=]{20,} end: | - \z|\b + \z|\s+[a-zA-Z0-9@-]+([\r\n]|\z) comments: - "SSH Public Key (not a secret)" - Ignores the name of the public key