You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a lot of defaults are handled with structopt default_value option but it might not be the best choice everywhere.
For example the provider field of ProviderOpts has that defaulted to zero where it should maybe be an Option and the None case can then be checked statically.
I spotted the following bug because of that:
[hugdev01@machine parsec-tool]$ ./target/debug/parsec-tool list-opcodes
[INFO] Available opcodes for provider MbedCrypto:
* ListProviders
* ListAuthenticators
* ListOpcodes
* ListKeys
* Ping
This is the case for ProviderOpts but let's review all of them.
The text was updated successfully, but these errors were encountered:
Currently a lot of defaults are handled with structopt
default_value
option but it might not be the best choice everywhere.For example the
provider
field ofProviderOpts
has that defaulted to zero where it should maybe be anOption
and theNone
case can then be checked statically.I spotted the following bug because of that:
This is the case for
ProviderOpts
but let's review all of them.The text was updated successfully, but these errors were encountered: