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

pre commit hook to prevent commiting key #358

Conversation

ShiCheng-Lu
Copy link
Contributor

@ShiCheng-Lu ShiCheng-Lu commented Jun 28, 2024

verified hook working, committing any key that is not zeros will abort the commit and output a message with the detected key

@ShiCheng-Lu ShiCheng-Lu changed the title Shicheng/shicheng/fence 2010 create pre commit hook to prevent commiting key pre commit hook to prevent commiting key Jun 28, 2024
Copy link
Contributor

@KennyHuRadar KennyHuRadar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@ShiCheng-Lu ShiCheng-Lu merged commit e04c526 into master Jul 2, 2024
1 check passed
@ShiCheng-Lu ShiCheng-Lu deleted the shicheng/shicheng/fence-2010-create-pre-commit-hook-to-prevent-commiting-key branch July 2, 2024 18:53
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

Successfully merging this pull request may close these issues.

None yet

2 participants