← All keys & policies
Key·user
GPG key for commit signing
Tier 2 · MediumData
Why Tier 2
The same tier as GPG keys: write. Grants no access on its own, but the private key makes commits and tags show as Verified for this user, which defeats a signed-commit rule as a control. Pushing still needs separate write access.
Makes commits and tags signed with the matching private key show as Verified for the user.
Available on: Every setup. Source
Attack path
With the private key, or the ability to add a key to the account, an attacker signs commits as that user. Where a ruleset requires signed commits, or reviewers trust the Verified badge, forged commits pass as the user's own. Pushing them still needs write access from another credential.
Mitigations
- Enable audit logging and export it to a SIEM for retention and detection
- Protect signing keys like other credentials when signed commits are required by a ruleset
- Remove signing keys from accounts that leave, and alert on new ones
Detect
Nothing in the organization or enterprise audit log shows this. Review it on a schedule instead.