Skip to content

Commit

Permalink
Enable factory-reset for stable releases
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Apr 15, 2024
1 parent 8f13f7e commit 37c6402
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components/apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ hex = "0.4"
# - all other optional apps require a Trussed client (+n)

# nk3
nk3 = ["fido-authenticator", "ndef-app", "secrets-app", "opcard", "trussed/clients-4"]
nk3-test = ["nk3", "piv-authenticator", "webcrypt", "factory-reset", "trussed/clients-6"]
nk3 = ["fido-authenticator", "ndef-app", "secrets-app", "opcard", "factory-reset", "trussed/clients-4"]
nk3-test = ["nk3", "piv-authenticator", "webcrypt", "trussed/clients-6"]
nk3-provisioner = ["nk3", "provisioner-app", "trussed/clients-5"]

# nkpk
nkpk = ["fido-authenticator", "trussed/clients-2"]
nkpk = ["fido-authenticator", "factory-reset", "trussed/clients-2"]
nkpk-provisioner = ["nkpk", "provisioner-app", "trussed/clients-3"]

# apps
Expand Down
2 changes: 1 addition & 1 deletion components/apps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use ctaphid_dispatch::app::App as CtaphidApp;
#[cfg(feature = "se050")]
use embedded_hal::blocking::delay::DelayUs;
use heapless::Vec;
#[cfg(all(feature = "opcard", any(feature = "factory-reset", feature = "se050")))]
#[cfg(any(feature = "factory-reset", feature = "se050"))]
use littlefs2::path;

#[cfg(feature = "factory-reset")]
Expand Down

0 comments on commit 37c6402

Please sign in to comment.