Commit Graph

90 Commits

Author SHA1 Message Date
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
Sosthène Guédon 9f832f3b7f Add migration mechanism 2024-03-25 11:35:13 +01:00
Robin Krahl 0ba0e766cb Use extension crates instead of backends
This patch replaces the dependencies on trussed-staging and
trussed-se050-backend with the extension crates trussed-manage and
trussed-se050-manage.  See the these PRs for more information:
- https://github.com/trussed-dev/trussed-staging/pull/19
- https://github.com/Nitrokey/trussed-se050-backend/pull/13
2024-03-15 11:49:22 +01:00
Robin Krahl c6c87cfad4 Update dependencies 2024-03-04 15:00:04 +01:00
Robin Krahl 75c7c969cf Merge pull request #18 from Nitrokey/config-error
Refactor App constructors
2023-12-01 15:08:49 +01:00
Robin Krahl 7ecc984590 Return client on failure in App::load_config
This makes it possible to construct the App instance with
App::with_default_config instead using the same client.
2023-12-01 12:51:51 +01:00