Skip to content

chore(git): コミットのSSH署名を有効化 - #196

Merged
nkoji21 merged 1 commit into
mainfrom
chore/git-ssh-signing
Aug 5, 2026
Merged

chore(git): コミットのSSH署名を有効化#196
nkoji21 merged 1 commit into
mainfrom
chore/git-ssh-signing

Conversation

@nkoji21

@nkoji21 nkoji21 commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

ローカルで有効化済みだったコミットのSSH署名設定をdotfilesに取り込む。
git config --global で書き込まれた変更が未コミットのまま残っていたもの。

Changes

  • gpg.format = ssh: 署名方式をGPG鍵ではなくSSH鍵にする
  • user.signingkey: 署名鍵として ~/.ssh/id_ed25519.pub を指定
  • commit.gpgsign = true: すべてのコミットにデフォルトで署名を付ける

Notes

  • 公開鍵はGitHubにSigning Keyとして登録済みで、コミットにVerifiedバッジが付く
  • signingkey は絶対パス指定のため、別マシンで使う場合は
    同じパスに鍵があることが前提になる

GPG鍵の代わりにSSH鍵(id_ed25519)で全コミットに署名する。
GitHubにSigning Keyとして登録済みのためVerifiedバッジが付く。
@nkoji21
nkoji21 marked this pull request as ready for review August 5, 2026 01:08
@nkoji21
nkoji21 merged commit a381e96 into main Aug 5, 2026
3 checks passed
@nkoji21
nkoji21 deleted the chore/git-ssh-signing branch August 5, 2026 01:08
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