r, -reader NAME Use an external smart card reader. log-file FILE Write logs to the given FILE instead of standard error ignored unless -log-level Show information about YubiKey with serial number 0123456: List connected YubiKeys, only output serial number: Ĭonfigure your YubiKey via the command line. USB passthrough works via usbipd-win which allows for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL2.įirst, we must install the windows package, I used the Windows Package Manager. WSL2 Version >= 0.67.6 running Ubuntu 20.04 (other distro/version may also work, I haven’t tested).Here’s what I came up with: Before we get started, some requirements: exe from an unmaintained project on GitHub. With existing tutorials being seemingly useless, I had to figure out a method that didn’t involve forwarding the gpg/ssh-agent from Windows to WSL using a. After struggling for days on end to follow any tutorial with success, eventually giving up for a few months and going back and forth between a dual-boot of OpenSUSE, I finally decided to take a crack at it again. Unfortunately, this turned out to be a bit painful to get working with WSL. 1-Bit Blog How to use Yubikey with WSL2 via USB passthrough (or how I compiled my first custom Linux kernel)Īs someone who tends to be fairly paranoid when it comes to online security, I like the idea of using a hardware-based authentication device to store keys safely for things like code signing and SSH access.
0 Comments
Leave a Reply. |