github TheMaxMur/RS-Key v0.5.0
RS-Key v0.5.0

one hour ago

[0.5.0] - 2026-12-03

TL;DR

  • Back up before upgrading. Boot migrates readable legacy storage to the
    authenticated format and resumes an interrupted migration. Use v2-aware
    firmware after migration. A 16 MB key provisioned before 0.4.8 still comes up
    factory-empty because the storage offset moved.
  • Check existing keys after upgrading. Older firmware could generate RSA
    keys with adjacent primes. Check previously device-generated keys and replace
    vulnerable ones; an upgrade does not repair them. Replace P-521 signing keys
    used with hostile inputs of 66 bytes or more on an older build.
  • Block vulnerable firmware downgrades on secured devices. Choose a rollback
    version above every vulnerable image trusted by the board when signing this
    update. See anti-rollback.
  • TrustZone in every build. The Secure worker owns credentials and policy.
    USB framing runs on the Non-secure side. Build the combined image with
    nix build .#firmware or nix develop -c bash scripts/build.sh.
  • Bitmerse Romu has its own UF2. Choose the romu image for the 2 MiB
    RP2354A board with a discrete RGB LED and a touch pad.
  • Provisioned devices seal OTP page 58 during boot after migration and
    a flash scrub. PIN-dependent records can delay sealing until migration
    completes. The production guide
    covers the status checks and recovery steps.
  • Authenticated storage and mirrored retry counters. Damaged or unreadable
    records cause storage errors instead of triggering factory defaults. FIDO,
    PIV and OpenPGP PIN retries and OATH HOTP use the mirrored journal.
  • RSA arithmetic is now in Rust. Public and private exponentiation, CRT
    and the Montgomery kernels share the Rust implementation on host and device.
    RSA-2048 signing took about 155 ms on the 150 MHz RP2350 in an SRAM benchmark
    that included blinding and the Bellcore check (bcdDevice 0x0BE9).
  • Compatibility and tools. PIV serves a default Card Capability Container
    for Windows. The CLI and TUI recognize Linux PC/SC readers by USB serial.
    The Waveshare V2 display supports CST3530 touch. rsk flash verifies the
    release signature and pins provenance checks to the release tag when gh
    is installed. Seed export requires current host tools (rsk 0.3.57 or
    rsk-tui 0.3.24); older export requests are refused.

Shortened to fit GitHub's release-body limit.
Every entry is in CHANGELOG.md at this tag.


Verify a download: https://github.com/TheMaxMur/RS-Key/blob/v0.5.0/docs/supply-chain.md

Don't miss a new RS-Key release

NewReleases is sending notifications on new releases.