Skip to content

Instantly share code, notes, and snippets.

@chtzvt
Created May 4, 2023 19:48
Show Gist options
  • Save chtzvt/d304124e3488d4df573b92ede2518f3f to your computer and use it in GitHub Desktop.
Save chtzvt/d304124e3488d4df573b92ede2518f3f to your computer and use it in GitHub Desktop.

GitHub Secret Scanning - PEM Format

Secret format: ((\w|[=/+])+\r?\n)+

Before secret: -----BEGIN ([A-Z]+ )?PRIVATE KEY-----\r?\n

After secret: -----END ([A-Z]+ )?PRIVATE KEY-----

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment