- Feb 08, 2025
-
-
Nicolas80 authored
* Now checking if GcliError Input message was for doing "ctrl+c" or "Esc" key in a prompt; in wich case we terminate the execution with the message. * Small correction in vault_account::compute_suri_account_tree_node where it's better to return GcliError instead of panic using unwrap if the password was incorrect. * Renamed `clap` arguments "value_name" in different places where it wasn't clear what kind of value was expected. * Using "ADDRESS" everytime we expect an AccountId * Using "USERNAME" everytime we expect a Username (most were requesting "TARGET") * Small corrections in `clap` help messages for `vault derive` * Added print of selected Vault item when using vault::try_fetch_key_pair method; just before requesting it's associated password (whenever we will try to sign for an action mostly)
-
- Jan 04, 2025
-
-
Nicolas80 authored
* Cleaned-up code in several places * Now retrieving secret value in "substrate uri" format from the different prompt_xxx_and_compute_keypair methods
-
- Dec 28, 2024
-
-
Nicolas80 authored
* Added "/.idea" exclusion in .gitignore (for when using JetBrains IDEs) * Added dialoguer dependency for easier user input handling (see in inputs.rs) * Added sea-orm dependency to allow having DB entity mappings and use a local sqlite file database * Added rstest test dependency for parameterized tests support * Added derivation tests for each SecretFormat (including cesium v1 key derivation, using sp_core::ed25519::Pair) * Made a lot of changes to add vault_account and vault_derivation db tables to persist vault keys & derivations * Added support for KeyPair::Ed25519 linking to sp_core::ed25519::Pair which can be created from secret seed retrieved from nacl::sign::Keypair (which is created from cesium id + secret) ** This was necessary to allow deriving keys from "cesium v1" keys (to be reviewed - it might be a bad idea to permit that from a security point of view) * Only kept original (substrate) keyfiles support for migration (use "vault list-files" and "vault migrate") * Added possibility to give either "-a" Address or "-v" Vault Name as general option * Added extra commands in Vault ** list-files: (deprecated)List available key files (needs to be migrated with command "vault migrate" in order to use them) ** migrate: (deprecated)Migrate old key files into db (will have to provide password for each key) ** 'list' now has sub-commands 'all' or 'root' to show all keys or only root keys (without derivation path) ** use: "Use specific vault key (changes the config address)", which will have the same behaviour as `gcli <-a <Address>|-v <VaultName>> config save` (left a FIXME in there to review) ** derivation: Add a derivation to an existing (root) vault key ** rename: Give a meaningful vault name to a vault key or derivation ** remove: Remove a vault key (and potential derivations if it's a root key) * Had to bubble up "await" and "async" in a lot of places * ...
-
- Oct 10, 2024
-
-
Hugo Trentesaux authored
on runtime 802 changed crypto types
-
- Oct 07, 2024
-
-
Hugo Trentesaux authored
closes #35
-
- Oct 04, 2024
-
-
Hugo Trentesaux authored
-
- Oct 03, 2024
-
-
Hugo Trentesaux authored
-
Hugo Trentesaux authored
-
- Sep 24, 2024
-
-
Hugo Trentesaux authored
-
- May 21, 2024
-
-
Hugo Trentesaux authored
* working dockerfile * wip dockerfile TODO make duniter-polkadot-sdk repo lighter to avoid long download time in docker build (cherry picked from commit 5f4b716f) * update subxt and polkadot sdk
-
- Apr 18, 2024
-
- Mar 15, 2024
-
-
Hugo Trentesaux authored
* also for smith cert * get cert count from cert meta
-
- Mar 10, 2024
-
-
* update schema for enums * update to hasura endpoint * more macro * Ignore non_camel_case_types in vscode stage Are we carring about conventions ? * 2 macros to rule them all * example on how to deserialize * adapt graphql request to Hasura engine
-
- Feb 22, 2024
-
-
Hugo Trentesaux authored
* improve online smith command * start indexer refac
-
- Feb 14, 2024
-
-
Hugo Trentesaux authored
* revert use try_get_idty_index_by_name review txels * add renew cert and change arg to name
-
- Feb 12, 2024
-
-
Hugo Trentesaux authored
* v0.2.6 * add smith info to idty show * update schema and improve error handling * wip json + more info on idty show * create gitlab issues instead of readme todos
-
- Jan 31, 2024
-
-
Hugo Trentesaux authored
* add info on identity command * cli schema update
-
Hugo Trentesaux authored
-
Hugo Trentesaux authored
-
- Nov 24, 2023
-
-
Hugo Trentesaux authored
-
- Nov 16, 2023
-
-
Hugo Trentesaux authored
-
- Oct 25, 2023
-
-
Hugo Trentesaux authored
-
- Oct 23, 2023
-
-
Hugo Trentesaux authored
-
- Jun 08, 2023
-
-
- Jun 02, 2023
-
-
Hugo Trentesaux authored
-
- Add GetBalance + Revoke Identity - Refactor revocation refac get balance get token decimals and symbol fmt + clippy
-
Hugo Trentesaux authored
WIP add tracking progress WIP refac progress tracking WIP generic runtime wip needing runtime name wip refac smith cert
-
Hugo Trentesaux authored
-
- Mar 27, 2023
-
-
Pascal Engélibert authored
-
- Mar 16, 2023
-
-
Pascal Engélibert authored
-
- Feb 17, 2023
-
-
Pascal Engélibert authored
-