CLI: display `cesium` available authentication method
I would call this method v1
since it’s harming other v1 clients implementations.
I won’t make this change since I am not Ğcli maintainer.
This would also change the interface already advertised a lot on the forum.
I red the implementation, and found curious to find the hiden cesium
command on which this option is based on
Merge request reports
Activity
requested review from @HugoTrentesaux
assigned to @moul
I did not call this v1 since nothing prevents from using a mnemonic in a v1 client (or pass the seed directly). It is scrypt with fixed params to generate the seed and then nacl to generate the keys. So I could have called this scrypt-nacl, but this "cesium" simplification makes it easy to understand. But sure, we could add an other option with correct name, keep "cesium" for compatibility and deprecate it. But we could also break things, we are not at a point where we would like to stabilize a well defined API.
The secret types are here: https://git.duniter.org/clients/rust/gcli-v2s/-/blob/a39465e68b20be8d7975318488c4c56bda2553f4/src/keys.rs#L11