Closed aleex1848 closed 9 months ago
Hello! @aleex1848
As logs show :
[2024-02-03 10:06:28.583][DEBUG][yubikey_provision] Provisioning FAILED: IO error occurred
gpg program has issue with accessing your smartcard (YubiKey), my guess is that due to how the passthrough of the USB device is done from windows to your VM. I recommend you run the provisioner on the system that has direct access to your USB devices.
If that is not possible, you can try to follow this guide inside your VM and check if gpg can communicate with your Yubikey from your VM : https://support.yubico.com/hc/en-us/articles/360013790259-Using-Your-YubiKey-with-OpenPGP
If this solution doesn't help - please provide more logs and reopen.
I'm trying to provision yubikey. I'm using Ubuntu-Desktop inside VMWARE Workstation Player VM. The Yubikey is passed through to the VM (from my windows pc)
inside VM i can use ykman without issues. e.g.
and
My command for provisioning:
sudo yubikey-provision --log-level=debug --ca-file ./defguard-ca.pem --id MyFancyId --grpc https://defguard.xxxxx.de:50055 -t myToken
trying to provision the result is: