From c7c5e94f1e3d90e6ce85a7c6adb7fdbc31a29645 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 25 Sep 2020 02:09:18 +0200 Subject: Support Librem Key This patch adds the librem device model for the Librem Key. Note that we cannot run any tests for the new model until nitrokey-test is updated. --- src/tests/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tests') diff --git a/src/tests/mod.rs b/src/tests/mod.rs index 23eecc5..65983bb 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -76,6 +76,7 @@ impl Nitrocli { fn model_to_arg(model: nitrokey::Model) -> &'static str { match model { + nitrokey::Model::Librem => "--model=librem", nitrokey::Model::Pro => "--model=pro", nitrokey::Model::Storage => "--model=storage", _ => panic!("Unexpected model in test suite: {}", model), -- cgit v1.2.3