Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
028dcc5
Move CTAPHID commands under a single vendor command
robin-nitrokey Jan 31, 2023
7b0a39d
Merge pull request #1 from Nitrokey/single-vendor-command
robin-nitrokey Jan 31, 2023
931081a
Add alternative Version mode for full version
robin-nitrokey Jan 31, 2023
7471ac9
Add status command
robin-nitrokey Jan 31, 2023
70fd0b2
Merge pull request #2 from Nitrokey/version-status
robin-nitrokey Feb 9, 2023
e318dc1
Make app generic over status type
robin-nitrokey Feb 28, 2023
398f9b2
Merge pull request #3 from Nitrokey/status
robin-nitrokey Feb 28, 2023
5cfd368
Run cargo fmt
sosthene-nitrokey Jun 20, 2023
5426703
Adapt to interrupt mechanism
sosthene-nitrokey Jun 20, 2023
10fafb4
Use published ref-swap
sosthene-nitrokey May 31, 2023
c30b5f4
Bump ctaphid-dispatch
sosthene-nitrokey Jun 6, 2023
574570f
Use merged PRs
sosthene-nitrokey Jun 20, 2023
15aec92
Merge pull request #4 from Nitrokey/interrupt
sosthene-nitrokey Jun 20, 2023
f6c223c
Add se050 test
sosthene-nitrokey Jul 27, 2023
c784b0c
Add SE050 free memory reporting
sosthene-nitrokey Jul 28, 2023
a44adb0
Add PBKDF2 tests
sosthene-nitrokey Aug 11, 2023
8ab34bf
Add import-export tests
sosthene-nitrokey Aug 16, 2023
2ddb1ad
Use renamed se05x crate
sosthene-nitrokey Aug 16, 2023
9d60607
Fix typo
sosthene-nitrokey Aug 22, 2023
210af59
Move se050-specific features to its own module to reduce the need for…
sosthene-nitrokey Aug 23, 2023
fca96b5
Merge pull request #5 from Nitrokey/test-se050
sosthene-nitrokey Aug 24, 2023
f58f759
Move tests to a custom backend
sosthene-nitrokey Sep 14, 2023
299fd5f
Remove default SE050 feature
sosthene-nitrokey Sep 14, 2023
1877e3d
Add back `new` method
sosthene-nitrokey Sep 14, 2023
add3214
Merge pull request #8 from Nitrokey/tests-backend
sosthene-nitrokey Sep 19, 2023
5a8aedd
Add generic config mechanism
robin-nitrokey Sep 12, 2023
83863e5
Remove outdated run_tests.rs file
sosthene-nitrokey Sep 28, 2023
9fcaa35
Merge pull request #11 from Nitrokey/rm-run-tests
sosthene-nitrokey Sep 29, 2023
e1179ef
Return UnsuportedCommand (INVALID_COMMAND) instead of NotAvailable (I…
sosthene-nitrokey Oct 2, 2023
6896447
Merge pull request #12 from Nitrokey/se050-test-disable
sosthene-nitrokey Oct 2, 2023
6c88a4b
Update apdu-dispatch
sosthene-nitrokey Nov 8, 2023
b67c364
Merge pull request #14 from Nitrokey/apdu-dispatch-020
sosthene-nitrokey Nov 8, 2023
f72eccb
Implement factory reset command
sosthene-nitrokey Nov 10, 2023
4be67cf
Implement factory-reset of clients on config change
sosthene-nitrokey Nov 10, 2023
d326489
Reboot after a full-device factory reset
sosthene-nitrokey Nov 10, 2023
26a8466
Make Config trait update backward compatible
sosthene-nitrokey Nov 13, 2023
c011a3a
Require user confirmation for factory reset
sosthene-nitrokey Nov 13, 2023
8a9270d
Add per-app factory reset mechansim
sosthene-nitrokey Nov 13, 2023
dcc1467
Fix factory reset ack
sosthene-nitrokey Nov 14, 2023
76d9a1e
Add constructor for ResetSignalAllocation
sosthene-nitrokey Nov 14, 2023
4e9e7bd
Fix typo
sosthene-nitrokey Nov 14, 2023
8dd9fec
Fix clearing ConfigChanged
sosthene-nitrokey Nov 14, 2023
6537f77
Fix compilation with se050 feature enabled
sosthene-nitrokey Nov 14, 2023
4108993
Use improved config trait
sosthene-nitrokey Nov 17, 2023
084ad3b
Merge pull request #15 from Nitrokey/factory-reset-staging
sosthene-nitrokey Nov 17, 2023
6ce6b9d
Add feature-flag for factory-reset
sosthene-nitrokey Nov 21, 2023
c83c8a2
Merge pull request #16 from Nitrokey/factory-reset-flag
sosthene-nitrokey Nov 21, 2023
c49c596
Add App::without_config constructor
robin-nitrokey Nov 29, 2023
8d4aa58
Merge pull request #17 from Nitrokey/config
robin-nitrokey Nov 29, 2023
c15d435
Make App::load fallible
robin-nitrokey Dec 1, 2023
c25f80e
Refactor constructors
robin-nitrokey Dec 1, 2023
7ecc984
Return client on failure in App::load_config
robin-nitrokey Dec 1, 2023
75c7c96
Merge pull request #18 from Nitrokey/config-error
robin-nitrokey Dec 1, 2023
c6c87cf
Update dependencies
robin-nitrokey Mar 4, 2024
0ba0e76
Use extension crates instead of backends
robin-nitrokey Mar 13, 2024
9f832f3
Add migration mechanism
sosthene-nitrokey Mar 25, 2024
dc8f91b
Add migration testing utils
sosthene-nitrokey Mar 25, 2024
5c0f101
Fix compilation with log-error
sosthene-nitrokey Mar 26, 2024
8b35250
Add access to status
sosthene-nitrokey Mar 26, 2024
6db11c6
Use clientfilestore to store config after migration (migrations run b…
sosthene-nitrokey Mar 26, 2024
c134517
Merge pull request #23 from Nitrokey/migrations-owned
sosthene-nitrokey Apr 2, 2024
da6ccda
Allow mutable access to the config
sosthene-nitrokey Apr 4, 2024
054536c
Reset the config on application factory-reset
sosthene-nitrokey Apr 5, 2024
779f6cb
Implement saving the config after mutating it
sosthene-nitrokey Apr 9, 2024
c257432
Save config after factory-reset-app
sosthene-nitrokey Apr 9, 2024
4dd16c0
Merge pull request #25 from Nitrokey/config-mut
sosthene-nitrokey Apr 12, 2024
914da07
Add trait for StatusBytes and allow lazyly configuring the initializa…
sosthene-nitrokey Jul 29, 2024
c241491
Merge pull request #26 from Nitrokey/test-rng
sosthene-nitrokey Jul 31, 2024
37d5437
Increase timeout for reboot to bootloader
robin-nitrokey Aug 1, 2024
29a48fe
Revert "Increase timeout for reboot to bootloader"
robin-nitrokey Oct 10, 2024
c5bddba
Add command to list configuration options
sosthene-nitrokey Oct 3, 2024
21ddbf1
Use apdu-app instead of apdu-dispatch
robin-nitrokey Oct 17, 2024
f66f526
Update cbor-smol to v0.5.0
robin-nitrokey Oct 21, 2024
599d205
Update littlefs2 to v0.5.0
robin-nitrokey Oct 14, 2024
541d97a
Update dependencies for trussed-core and ctaphid-app
robin-nitrokey Dec 19, 2024
d5f1c6d
Use released dependencies
robin-nitrokey Jan 8, 2025
ff574d8
Update trussed
robin-nitrokey Jan 24, 2025
8693599
Update to heapless 0.9
sosthene-nitrokey Sep 1, 2025
2b3f758
Fix clippy warnings
sosthene-nitrokey Oct 6, 2025
261c47d
Update to trussed-core v0.2
robin-nitrokey Mar 23, 2026
70086d9
Update to trussed v0.2.0-rc.1
robin-nitrokey Jun 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,39 @@ edition = "2021"
license = "Apache-2.0 OR MIT"
description = "Administrative Trussed app for SoloKeys Solo 2 security keys"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
apdu-dispatch = "0.1"
ctaphid-dispatch = "0.1"
apdu-app = "0.2"
cbor-smol = { version = "0.5.0", features = ["heapless-v0-9", "heapless-bytes-v0-5"] }
ctaphid-app = "0.2"
delog = "0.1"
iso7816 = "0.1"
trussed = "0.1"
heapless = "0.9"
heapless-bytes = { version = "0.5", features = ["heapless-0.9"] }
iso7816 = "0.2"
littlefs2 = { version = "0.7", optional = true }
littlefs2-core = { version = "0.1", features = ["heapless-bytes05"] }
serde = { version = "1.0.180", default-features = false }
strum_macros = "0.25.2"
trussed = { version = "=0.2.0-rc.1", default-features = false }
trussed-core = { version = "0.2", features = ["crypto-client", "filesystem-client", "management-client", "ui-client"] }

embedded-hal = { version = "0.2.7", optional = true }
hex-literal = "0.4.1"
rand_chacha = { version = "0.3.1", optional = true, default-features = false }
trussed-manage = { version = "0.3" }
trussed-se050-manage = { version = "0.3.0", optional = true }

[features]
default = []
se050 = ["trussed-se050-manage"]

factory-reset = []
log-all = []
log-trace = []
log-none = []
log-info = []
log-debug = []
log-warn = []
log-error = []

# Utils to test migration
migration-tests = ["dep:littlefs2"]
Loading