Skip to content

feat(lab3): signed commits + gitleaks pre-commit hook - #1684

Open
Mukhin-I wants to merge 2 commits into
inno-devops-labs:mainfrom
Mukhin-I:feature/lab3
Open

Mukhin-I wants to merge 2 commits into
inno-devops-labs:mainfrom
Mukhin-I:feature/lab3

Conversation

@Mukhin-I

@Mukhin-I Mukhin-I commented Sep 11, 2026

Copy link
Copy Markdown

Goal

Configure SSH commit signing, wire gitleaks into a pre-commit hook to block accidental secret commits.

Changes

  • .pre-commit-config.yaml β€” gitleaks v8.27.2 + detect-private-key + check-added-large-files hooks
  • submissions/lab3.md β€” signing config, verified badge, blocked commit evidence, tune-out tradeoffs

Testing

  • git log --show-signature -1 shows Good "git" signature for i.muhin@innopolis.university
  • Commit 3379c6c shows green Verified badge on GitHub
  • gitleaks blocked submissions/leak-attempt.txt with RuleID github-pat
  • Fake secret cleaned up β€” not committed to repo

Artifacts & Screenshots

  • submissions/lab3.md β€” full write-up
  • .pre-commit-config.yaml β€” hook config
  • GitHub commit page showing Verified badge: (3379c6c)

Checklist

  • Title follows feat(labN): <topic>
  • No secrets or large temp files committed
  • submissions/labN.md exists

PR Cheklist

  • Task 1 β€” SSH signing configured + Verified badge on commit
  • Task 2 β€” .pre-commit-config.yaml + gitleaks demonstrably blocking
  • Bonus β€” filter-repo rewrite practice documented

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.

1 participant