A self-hosted UPI & COD payment gateway with zero per-transaction platform fees, universal JavaScript checkout integration, dynamic QR payments, WhatsApp OTP authentication, and automated payment verification.
JavaScript
fix(ci): make the gitleaks scan pass with a documented allowlist
rishabhb27852861d54
diff --git a/.env.example b/.env.exampleindex fb8dd88..b5a2fb4 100644--- a/.env.example+++ b/.env.example@@ -34,7 +34,7 @@ SQLITE_DB_PATH=./data/youpi_pg.sqlite# --- CRYPTOGRAPHIC SECRETS (Generate using crypto.randomBytes(32).toString('hex')) ---# Master 256-bit encryption key for sensitive records (OAuth tokens, device keys):-ENCRYPTION_MASTER_KEY=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef+ENCRYPTION_MASTER_KEY=REPLACE_WITH_64_RANDOM_HEX_CHARS_GENERATED_BY_crypto_randomBytes_32# Session & JWT secret:JWT_SECRET=super_secret_jwt_key_change_in_production_min_32_chars# Default Admin credentials for initial setup:diff --git a/.gitleaks.toml b/.gitleaks.tomlnew file mode 100644index 0000000..02ffffa--- /dev/null+++ b/.gitleaks.toml@@ -0,0 +1,17 @@+title = "YOUPI PG gitleaks configuration"++# Narrow allowlist for values that are intentionally public. Every entry is a+# literal fixture value used by the test suite or shipped as an example, not a+# live credential. Keeping these as exact literals (rather than broad path or+# pattern rules) means a genuinely new secret in the same file is still caught.+[allowlist]+description = "Known-benign example and test placeholder values"+regexTarget = "secret"+regexes = [+ # Well-known sample master key used in .env.example and the crypto unit tests.+ '''0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef''',+ # Base64 fixture for the cloudflared token-extraction test.+ '''eyJhIjoiMDEyMzQ1Njc4OSIsInQiOiJhYmNkZWYifQ==''',+ # Session-token fixture in the single-user PC-menu script.+ '''csess_d145cc98752c919be77306be94545332982b8bced1f0be5262d8ce97e798ac1d''',+]