Tool fixes (#537)
* private key type is str, some fixes * catches file exceptions for private key * adds exception type * adds exception message
This commit is contained in:
@@ -169,7 +169,7 @@ def main(args):
|
||||
("Failed to configure OpenSK (device is partially programmed but "
|
||||
"the given cert/key don't match the ones currently programmed)."))
|
||||
else:
|
||||
error(f"Failed to configure OpenSK (unknown error: {ex}")
|
||||
error(f"Failed to configure OpenSK (unknown error: {ex})")
|
||||
return responses
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user