Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for new Github and OpeanAI formats #894

Open
1 of 2 tasks
tamir-alltrue-ai opened this issue Nov 19, 2024 · 0 comments
Open
1 of 2 tasks

Add support for new Github and OpeanAI formats #894

tamir-alltrue-ai opened this issue Nov 19, 2024 · 0 comments

Comments

@tamir-alltrue-ai
Copy link

  • I'm submitting a ...

    • bug report
    • feature request
  • What is the current behavior?

detect-secrets does not catch github's personal access token format - only the old api key format.

It also doesn't catch OpenAI's new secret format

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

  • What is the expected behavior?

Should catch:

  • Github PATs, like github_pat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • OpenAI secrets like sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • What is the motivation / use case for changing the behavior?
    These are two important secret detectors and without it you the library is much less useful

  • Please tell us about your environment:

    • detect-secrets Version: 1.5.0
    • Python Version: 3.11
    • OS Version: Mac os 14.4 (23E214)
    • File type (if applicable):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant