Adding disable secure key.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -141,7 +141,6 @@ class VendorConfig(Config):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
subparser = parser.add_subparsers(title="commands", dest="command")
|
subparser = parser.add_subparsers(title="commands", dest="command")
|
||||||
@@ -157,7 +156,8 @@ def secure(dev, args):
|
|||||||
vcfg.enable_device_aut()
|
vcfg.enable_device_aut()
|
||||||
elif (args.subcommand == 'unlock'):
|
elif (args.subcommand == 'unlock'):
|
||||||
vcfg.unlock_device()
|
vcfg.unlock_device()
|
||||||
|
elif (args.subcommand == 'disable'):
|
||||||
|
vcfg.disable_device_aut()
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
print('Pico Fido Tool v1.0')
|
print('Pico Fido Tool v1.0')
|
||||||
|
|||||||
Reference in New Issue
Block a user