95 Commits

Author SHA1 Message Date
Robin Krahl 70086d9d99 Update to trussed v0.2.0-rc.1 2026-06-09 10:45:12 +02:00
Robin Krahl 261c47d791 Update to trussed-core v0.2 2026-03-25 18:14:43 +01:00
Sosthène Guédon 2b3f758016 Fix clippy warnings 2025-10-06 17:51:05 +02:00
Sosthène Guédon 8693599e14 Update to heapless 0.9 2025-10-06 17:50:06 +02:00
Robin Krahl ff574d810f Update trussed
The simplified Store trait no longer uses the Fs indirection so we can
simplify the code calling the migration functions.

This patch also updates littlefs2 to avoid duplicate dependencies.
2025-03-03 15:30:38 +01:00
Robin Krahl d5f1c6df40 Use released dependencies 2025-01-09 16:56:26 +01:00
Robin Krahl 541d97a2e6 Update dependencies for trussed-core and ctaphid-app 2025-01-08 11:10:09 +01:00
Robin Krahl 599d205e47 Update littlefs2 to v0.5.0 2024-10-25 11:14:53 +02:00
Robin Krahl f66f5263db Update cbor-smol to v0.5.0 2024-10-22 14:28:41 +02:00
Robin Krahl 21ddbf12a3 Use apdu-app instead of apdu-dispatch 2024-10-18 18:11:45 +02:00
Sosthène Guédon c5bddba53d Add command to list configuration options 2024-10-17 11:18:04 +02:00
Robin Krahl 29a48fea31 Revert "Increase timeout for reboot to bootloader"
This reverts commit 37d5437257.

I misunderstood the requirement described in
https://github.com/Nitrokey/nitrokey-3-firmware/issues/519, so this
change was unnecessary.
2024-10-10 13:19:57 +02:00
Robin Krahl 37d5437257 Increase timeout for reboot to bootloader
Previously, we had a timeout of 15 seconds for the user presence check
when rebooting to bootloader.  This can be too short in some situations,
see for example https://github.com/Nitrokey/nitrokey-3-firmware/issues/519.

This patch increases the timeout to 30 seconds.
2024-08-01 11:29:25 +02:00
sosthene-nitrokey c24149193f Merge pull request #26 from Nitrokey/test-rng
Add trait for StatusBytes and allow lazyly configuring the initialization of the RNG
2024-07-31 11:50:37 +02:00
Sosthène Guédon 914da07862 Add trait for StatusBytes and allow lazyly configuring the initialization of the RNG 2024-07-31 10:35:36 +02:00
sosthene-nitrokey 4dd16c02e9 Merge pull request #25 from Nitrokey/config-mut
Allow mutable access to the config
2024-04-12 10:20:22 +02:00
Sosthène Guédon c257432dbe Save config after factory-reset-app 2024-04-09 11:28:44 +02:00
Sosthène Guédon 779f6cb07b Implement saving the config after mutating it 2024-04-09 11:14:14 +02:00
Sosthène Guédon 054536c2b4 Reset the config on application factory-reset 2024-04-05 12:14:57 +02:00
Sosthène Guédon da6ccda351 Allow mutable access to the config 2024-04-04 17:28:43 +02:00
sosthene-nitrokey c134517557 Merge pull request #23 from Nitrokey/migrations-owned
Add migration mechanism without relying on the staging backend.
2024-04-02 17:54:47 +02:00
Sosthène Guédon 6db11c60f8 Use clientfilestore to store config after migration (migrations run before trussed is up) 2024-04-02 17:43:14 +02:00
Sosthène Guédon 8b352509e3 Add access to status 2024-04-02 17:43:14 +02:00
Sosthène Guédon 5c0f101027 Fix compilation with log-error 2024-04-02 17:43:14 +02:00
Sosthène Guédon dc8f91b85b Add migration testing utils 2024-04-02 17:43:14 +02:00