Support configure via the Vendor interface (#524)
* Support configure via the Vendor interface * Adjust tests now that GetInfo is supported on vendor_hid * Add test for vendor_hid not supporting FIDO command
This commit is contained in:
@@ -755,6 +755,7 @@ class OpenSKInstaller:
|
||||
certificate=self.args.config_cert,
|
||||
priv_key=self.args.config_pkey,
|
||||
lock=self.args.lock_device,
|
||||
use_vendor_hid="vendor_hid" in self.args.features,
|
||||
))
|
||||
if not configure_response:
|
||||
return None
|
||||
@@ -875,11 +876,6 @@ class OpenSKInstaller:
|
||||
"configured yet.")
|
||||
return 0
|
||||
|
||||
if "vendor_hid" in self.args.features:
|
||||
# vendor_hid as a work in progress and is not compatible with configure
|
||||
# mode.
|
||||
return 0
|
||||
|
||||
# Perform checks if OpenSK was flashed.
|
||||
if self.args.application != "ctap2":
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user