You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default Fernet encodes everything to base64 format.
Some environments (like shells) are more strict.
For now I use base58 for this purposes as the most safe encoder for any various environments.
But there is no way to change behavior of Fernet class.
My proposition is to separate encoding logic from Fernet class to be able to change type of encoder base64/base58/other.
For compatibility base64 will still be used as default encoding.
I can work on PR request, but I want some feedback to understand is there relevant issue or everyone is already satisfied with base64.
Thanks.
The text was updated successfully, but these errors were encountered:
Can you please specify why ability to extend something wouldn't be compatible?
It still will be base64, but with ability to switch to whatever needed without looking for exceptional ways to fork or patch this library.
By default Fernet encodes everything to base64 format.
Some environments (like shells) are more strict.
For now I use base58 for this purposes as the most safe encoder for any various environments.
But there is no way to change behavior of Fernet class.
My proposition is to separate encoding logic from Fernet class to be able to change type of encoder base64/base58/other.
For compatibility base64 will still be used as default encoding.
I can work on PR request, but I want some feedback to understand is there relevant issue or everyone is already satisfied with base64.
Thanks.
The text was updated successfully, but these errors were encountered: