Skip to content

Feature/lab3 - #3

Merged
Wilikson173 merged 3 commits into
mainfrom
feature/lab3
Jun 19, 2026
Merged

Feature/lab3#3
Wilikson173 merged 3 commits into
mainfrom
feature/lab3

Conversation

@Wilikson173

Copy link
Copy Markdown
Owner

Goal

Implement SSH commit signing with GitHub verification and add automated secret detection using pre-commit and gitleaks.

Changes

  • Added .pre-commit-config.yaml

    • Configured gitleaks (v8.26.0)
    • Added detect-private-key
    • Added check-added-large-files
  • Added submissions/lab3.md

    • SSH signing setup and verification
    • GitHub Verified commit evidence
    • STRIDE repudiation reflection
    • gitleaks blocking demonstration
    • Bonus: git filter-repo history rewrite exercise

Testing

git log --show-signature -1

pre-commit install

pre-commit run --all-files

git commit -m "test: should be blocked by gitleaks"

Observed results:

Good "git" signature
pre-commit installed at .git/hooks/pre-commit
Detect hardcoded secrets.........................................Failed
RuleID: github-pat

The fake GitHub Personal Access Token was successfully detected and the commit was blocked by gitleaks.

Artifacts & Screenshots

  • submissions/lab3.md

Verified Commit

Paste the screenshot showing the green Verified badge below:
image


Checklist

  • Title follows feat(lab3): <topic> style
  • No secrets or large temp files committed
  • Submission file exists at submissions/lab3.md

@Wilikson173
Wilikson173 merged commit f2eec75 into main Jun 19, 2026
1 check passed
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