feat: updates

This commit is contained in:
2025-03-31 00:32:29 +08:00
parent 4dac890200
commit dc56f2df77
4 changed files with 11 additions and 9 deletions

View File

@@ -41,9 +41,7 @@ impl Command for CommandImpl {
fn run(&self, _arg_matches: &ArgMatches, sub_arg_matches: &ArgMatches) -> CommandError {
let json_output = cmdutil::check_json_output(sub_arg_matches);
if !seutil::is_support_se() {
return simple_error!("Secure Enclave is NOT supported.");
}
seutil::check_se_supported()?;
let key = sub_arg_matches.value_of("key").unwrap();
let input_bytes = match sub_arg_matches.value_of("input") {
None => match sub_arg_matches.value_of("input-base64") {