drduh / YubiKey-Guide

Guide to using YubiKey for GnuPG and SSH
http://drduh.github.io/YubiKey-Guide/
MIT License
11.2k stars 1.19k forks source link

ubuntu 24, gpg: KEYTOCARD failed: Invalid time #459

Closed g2f4u closed 2 weeks ago

g2f4u commented 2 months ago

I'm having trouble transferring the key to the device on ubuntu 24, following this guide.

It fails with gpg: KEYTOCARD failed: Invalid time

Is this happening for others?

jishnunb0 commented 2 months ago

I followed the interactive way, using

gpg --edit-key $KEYID

then selected each key and executed keytocard. It worked for me. I looked up an old version of the readme and followed it, pleae find it here

drduh commented 2 weeks ago

Please use Debian Live and reopen the issue if the problem occurs there.