0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WindowsでのGitのgpg署名のNo secret key foundを解決する

Posted at

備忘録扱いです。

キーの生成手順とかはおそらく他の形の記事のほうが読みやすいと思うので割愛します。

コマンドプロンプトで以下のコマンドを実行します。

git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"

これはどうやらgitにgpgプロバイダーのパスを渡しているものらしく、これがないとsecret keyをgitが見つけに行けないから困ってこういうエラーを履いてるっぽいです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?