psitransfer icon indicating copy to clipboard operation
psitransfer copied to clipboard

[#329] Password supports unicode

Open Parthiee opened this issue 8 months ago • 4 comments

Hello @psi-4ward , I added base64 encoding of password which addresses the issue #329 . Please look into this and let me know if it needs any change.

Parthiee avatar Apr 19 '25 16:04 Parthiee

Nice idea but this would break all pwd-buckets with plaintext passwords

psi-4ward avatar Apr 23 '25 09:04 psi-4ward

Could you explain why it would break?

If at all this breaks, would it work if I encode the password only if it is non ASCII? That way, there wouldn't be any changes made to plain text

Parthiee avatar Apr 23 '25 11:04 Parthiee

So you post a base64 pwd to the endpoint which validates it against the meta-data password wich is plaintext for existing buckets.

The bucket files are utf8 iirc so we could base64 only on the transport layer

psi-4ward avatar Apr 25 '25 08:04 psi-4ward

an easy solution may be a check if the server password is already encoded.

Maytrok avatar Jul 19 '25 13:07 Maytrok