incipe.dev
BlogAboutEnvironments
BlogAboutEnvironments

Tag: git

windows

wsl2

git

gpg

WSL2上でgitの署名にYubiKeyを使う

私はGPGを使用してGitのcommitに署名をしている.署名に使用する鍵はYubiKeyに格納してあるので,GPGがUSB Smart Cardを利用できる環境である必要がある.LinuxやmacOS,Windows上では直接的に困ることはないのだが,WSL2上でUSB Smart Cardを認識させるにはhackが必要であった.一度設定してしまえばしばらく必要がなくなるものだが,再びこれを構成する必要が出たときには確実に忘れている自信があるため,備忘として記事に残すことにした.

Takafumi Asano

Takafumi Asano

Apr 10, 2023·9 min read
GitHubTwitterFacebook

Except where otherwise noted, this work is subject to a Creative Commons Attribution-ShareAlike 4 license. For details of exceptions will be noted on each page. ©2021 Takafumi Asano All rights reserved.