Skip to content

feat(lab3): SSH signing + gitleaks pre-commit + history rewrite practice#1073

Open
lashmanovSergey wants to merge 8 commits into
inno-devops-labs:mainfrom
lashmanovSergey:feature/lab3
Open

feat(lab3): SSH signing + gitleaks pre-commit + history rewrite practice#1073
lashmanovSergey wants to merge 8 commits into
inno-devops-labs:mainfrom
lashmanovSergey:feature/lab3

Conversation

@lashmanovSergey

@lashmanovSergey lashmanovSergey commented Jun 18, 2026

Copy link
Copy Markdown

Goal

Set up SSH commit signing, integrate gitleaks as a pre-commit hook, and prevent accidental secret leaks.

Changes

  • Created .pre-commit-config.yaml with gitleaks (v8.30.1), detect-private-key, and check-added-large-files hooks
  • Updated submissions/lab3.md with documentation and evidence

Testing

  • git log --show-signature -1 confirms a valid "git" signature from csgosteam888@mail.ru
  • Commit 11f4715 shows green Verified badge on GitHub
  • Gitleaks successfully blocked a test commit containing a GitHub PAT (RuleID: github-pat)

Artifacts & Screenshots

  • submissions/lab3.md contains all required documentation and screenshots

PR checklist body:

  • 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