Zenroom icon indicating copy to clipboard operation
Zenroom copied to clipboard

Keyring should have a fix encoding

Open matteo-cristino opened this issue 2 years ago • 1 comments

Some keys in the keyring follow the CONF encoding during the output phase:

https://github.com/dyne/Zenroom/blob/d08d5162facbf3f6bf8d4bdcee5c4c72fff121cd/src/lua/zencode_keyring.lua#L186-L190

while in the input there is only a fixed encoding (for the above is base64). I think that generally it is better if the keyring encoding is fixed, so that we are alsways sure with what type of encoding we have to load the key.

matteo-cristino avatar Mar 14 '24 16:03 matteo-cristino

In cass we fix the encoding then base64 is preferred as requiring less changes, also is the most interoperable from shell scripts.

jaromil avatar Apr 09 '24 01:04 jaromil