mainrs / mainrs/git-cm

Add support for signed commits

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
101
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Edit: I did a prototype using gpgme, but that only works for Unix systems. I couldn't find an alternative way to sign commits on Windows. For that we'd have to:

  1. Create the commit buffer instead of committing directly (create_commit_buffer).
  2. Use OpenPGP to sign the contents of the commit_buffer.
  3. Call commit_signed on the repository instance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the repository's existing commit flow and the issue's proposed create_commit_buffer and commit_signed sequence. Check how the Rust CLI handles commit creation and how signing can work across Unix and Windows; done means the CLI can create signed commits on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, rust
Domain
cli, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.