A custom build pico-fido firmware(s) with LibreKeys applied patches
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
jetcookies 67c510a136 ci: stop nix-related scheduled tasks
There have been no recent updates to the relevant firmware repositories, so the pull requests generated by these actions are pointles and cause trouble for the project maintainers.
2026-11-15 23:26:59 +08:00
.github/workflows ci: stop nix-related scheduled tasks 2026-11-15 23:26:59 +08:00
examples ci: add workflows for automatic updates and checks (#9) 2026-03-03 19:16:05 +05:30
lib add pico-fido-openpgp and pico-fido2 2026-03-03 21:22:41 +01:00
pkgs add pico-fido-openpgp and pico-fido2 2026-03-03 21:22:41 +01:00
.gitignore ci: add workflows for automatic updates and checks (#9) 2026-03-03 19:16:05 +05:30
flake.lock flake.lock: Update 2026-11-08 08:42:07 +00:00
flake.nix add pico-fido-openpgp and pico-fido2 2026-03-03 21:22:41 +01:00
LICENSE Initial commit 2026-01-10 12:03:10 +05:30
README.md add pico-fido-openpgp and pico-fido2 2026-03-03 21:22:41 +01:00

pico-fido-firmwares

A custom build pico-fido firmware(s) with LibreKeys applied patches

Build with Flakes

# Build a specific firmware
nix build .#pico-fido
nix build .#pico-fido2
nix build .#pico-openpgp

# Build all firmware variants (matrix build)
nix build .#pico-fido-firmwares
nix build .#pico-fido2-firmwares
nix build .#pico-openpgp-firmwares

For custom parameters, see the Non-Flakes section below (or modify flake.nix directly).

Build with Nix (Non-Flakes)

# Basic build (uses defaults)
nix-build -E 'with import <nixpkgs> {}; callPackage ./pkgs/pico-fido/default.nix {}'
nix-build -E 'with import <nixpkgs> {}; callPackage ./pkgs/pico-fido2/default.nix {}'
nix-build -E 'with import <nixpkgs> {}; callPackage ./pkgs/pico-openpgp/default.nix {}'

# Build matrix (all variants)
nix-build -E 'with import <nixpkgs> {}; callPackage ./pkgs/pico-firmwares/default.nix {}' -A pico-fido-firmwares

Custom Parameters

nix-build -E 'with import <nixpkgs> {}; callPackage ./pkgs/pico-fido/default.nix {
  picoBoard = "waveshare_rp2350_one";
  vidpid = "Yubikey5";
  extraCmakeFlags = [ "-DPICO_DEBUG_INFO_IN_RELEASE=ON" ];
}'

Available Parameters

Parameter Default Description
picoBoard "pico" Target board (e.g., pico, pico2, waveshare_rp2350_one)
vidpid "" VID/PID string (e.g., Yubikey5)
usbVID "" USB Vendor ID (alternative to vidpid)
usbPID "" USB Product ID (alternative to vidpid)
enableEdDSA false Enable EdDSA support
extraCmakeFlags [] Additional cmake flags
secureBootPKey null Path to secure boot private key (NOT TESTED YET!)

Note: vidpid and usbVID/usbPID cannot be used together.