trussed
trussed copied to clipboard
Modern Cryptographic Firmware
- [x] provide different sets of extensions for the same backend with the different IDs - https://github.com/trussed-dev/trussed/pull/153 - [ ] warn if an extension is declared but not implemented -...
When working on splitting Trussed into a client API and a backend implementation, I noticed the following: Currently, many types that are declared in Trussed are re-exported in multiple locations....
This patch adds a delegate_to option to the ExtensionDispatch derive macro that makes it possible to create an alias for a backend using a different set of extensions. To avoid...
Depends on: - https://github.com/trussed-dev/trussed/pull/144 Alternatively, we could completely drop the `Store` trait and just use a struct with three references. To be tested whether that is more efficient.
The `reply_to` method always restores the status to Idle anyway after the syscall returns Close #129
When debugging https://github.com/Nitrokey/piv-authenticator/pull/12 I realized this was not removed from production firmware. Putting it behind a feature flag will ensure that it does.
This patch adds helpers for accessing the global and client backend stores.
In the [RequestUserConsent](https://github.com/trussed-dev/trussed/blob/main/src/service.rs#L567) syscall, the ui status is saved, then set to `WaitingForUserPresence` and finally restored at the end of the call. However, there are early returns in the loop...
This is built on top of #104 and #96, and https://github.com/trussed-dev/littlefs2/pull/33 This PR: Uses the apis added to https://github.com/trussed-dev/littlefs2/pull/33 to improve the skipping that happens each time in `read_dir(_files)_next()`. I...
Currently, Trussed doesn't implement any of the traits which have become standard in Rust ecosystem, such as `rand_core::Rng`, `digest::Digest` to name a few. If these were implemented, it would be...