Skip to content

Commit

Permalink
Add support for new GitHub authentication token format (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
x-way authored Apr 13, 2021
1 parent 7f0674c commit 43e9b95
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- Added `--version` flag to print current version (#43)
- Added support for the new GitHub authentication token format (#45)

## v2.2.1 (2020-03-11)

Expand Down
15 changes: 15 additions & 0 deletions tell_me_your_secrets/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,21 @@ signatures:
- part: 'contents'
regex: '(?i:github(.{0,20})?)[''\"][0-9a-zA-Z]{35,40}[''\"]'
name: 'Github Key'
- part: 'contents'
regex: 'ghp_[A-Za-z0-9_]{35,255}'
name: 'GitHub Personal Access Token'
- part: 'contents'
regex: 'gho_[A-Za-z0-9_]{35,255}'
name: 'GitHub OAuth Access Token'
- part: 'contents'
regex: 'ghu_[A-Za-z0-9_]{35,255}'
name: 'GitHub App user-to-server token'
- part: 'contents'
regex: 'ghs_[A-Za-z0-9_]{35,255}'
name: 'GitHub App server-to-server token'
- part: 'contents'
regex: 'ghr_[A-Za-z0-9_]{35,255}'
name: 'GitHub App refresh token'
- part: 'contents'
regex: '(?i)heroku(.{0,20})?[''"][0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[''"]'
name: 'Heroku API key'
Expand Down

0 comments on commit 43e9b95

Please sign in to comment.