This is a Nitrokey Webcrypt Rust-rewrite. See https://github.com/Nitrokey/nitrokey-webcrypt for the documentation of the commands and protocol.
cargo run --example udp_sim
To show logs:
env RUST_BACKTRACE=full RUST_LOG=debug run --example udp_sim --features enable-logs
Tests are here:
Check out nitrokey-webcrypt-usbip
project for the USB-IP simulation:
Here is a working Nitrokey Webcrypt on a Nitrokey 3 firmware: