Skip to content
Snippets Groups Projects
Commit da7c790d authored by Nicolas80's avatar Nicolas80
Browse files

* Added some logic between arguments of `vault import`; can't provide both...

* Added some logic between arguments of `vault import`; can't provide both `password` and `no-password`
** Added extra validation of non-interactive `name` argument value (same validation as when interactive: no '<', '>', '/' characters)
* Added possibility to make a non-interactive derivation (given proper arguments are given and there is no issue found during the process)
** Added same validation for non-interactive `derivation_path` argument as when interactive
** If the same resulting address is already in the vault; interaction is still mandatory to make a choice
* Had to change the name of argument AddressOrVaultNameGroup.name => vault_name to avoid conflict in `vault derive`
** Not changing the `-v` shortcut so no impact on existing commands
* Allowing to pass "" empty string as non-interactive `name` argument and considering it as None (does a trim before checking empty; so only spaces will be considered as None as well)
parent 44073020
No related branches found
No related tags found
1 merge request!44feat: Can choose between ed25519 ans sr25519
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment