Skip to content

Instantly share code, notes, and snippets.

View oidz1234's full-sized avatar
🧙
Loves casting spells

Mark McNally oidz1234

🧙
Loves casting spells
View GitHub Profile
@jabbany
jabbany / main.md
Last active May 6, 2025 16:55
Setting up podman + nvidia on F37 - F40 (Self notes)

Follow the following instructions:

  1. Install the C compiler through sudo dnf group install "C Development Tools and Libraries"
  2. Install the kernel headers sudo dnf install kernel-devel
  3. Download the latest drivers (replace with URL from nvidia website)
    wget https://us.download.nvidia.com/XFree86/Linux-x86_64/550.54.14/NVIDIA-Linux-x86_64-550.54.14.run
    chmod a+x NVIDIA-Linux-x86_64-550.54.14.run
    sudo ./NVIDIA-Linux-x86_64-550.54.14.run
    
@chasgames
chasgames / Store SSH keys on Yubikey 5 using FIDO2.md
Last active February 4, 2025 12:38
Store SSH keys on Yubikey 5 (using FIDO2)

This is probably the best way to store SSH keys on the Yubikey 5, this allows you to move around freely without needing to store private key files directly on every file system you want to connect from. There are some other possible methods also e.g GPG or PKCS11.

This method is only possible since 2020-02-14, OpenSSH 8.2 was released to add FIDO2/U2F hardware authenticator support.

This guide is for setting it up on Windows, for Linux it will be even easier.

Caveats:

  • The newer FIDO/U2F key types are only supported, ecdsa-sk and ed25519-sk (sk = security key)
  • The Yubikey 5 should be able to store up to 25 keys. (Alternatively use Solokeys for 50 keys)
  • Storing both parts of a key on a FIDO token increases the likelihood of an attacker being able to use a stolen token device. We will add a PIN to help mitigate this, you can also further add a passphrase to your key.