From c652fa30df3d213ed5f476d7da9ef3514e5f1aeb Mon Sep 17 00:00:00 2001 From: gadgethd <111318106+gadgethd@users.noreply.github.com> Date: Sun, 2 Aug 2026 14:22:53 +0100 Subject: [PATCH] ci: allow documented public MeshCore key --- .gitleaks.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitleaks.toml diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 0000000..4fcef3c --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,14 @@ +title = "UK Mesh gitleaks configuration" + +[extend] +useDefault = true + +[[rules]] +id = "generic-api-key" + +[[rules.allowlists]] +description = "Documented MeshCore public-channel interoperability key" +paths = ['''^backend/backfill-transport-codes\.mjs$'''] +regexTarget = "line" +regexes = ['''(?i)const DEFAULT_PUBLIC_CHANNEL_KEY\s*=\s*'[0-9a-f]{32}'\s*;'''] +condition = "AND"