Generate a key
sudo apt install pcscd scdaemon gnupg2 pcsc-tools
After that, plug in the yubikey and do
gpg2 --card-edit gpg/card> admin # enables admin commands gpg/card> passwd # then set Admin PIN
I seem to have broken something :-/.
gpg/card> reset seems to fix it.
sudo apt install check libpcsclite-dev ./configure make sudo make install
but then I have to go into
yubico-piv-tool-1.6.2/lib/.libs to run since it didn't copy the