Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AES256GCM, Base64 decod of key file failed... #376

Open
mingcz0301 opened this issue Oct 19, 2023 · 0 comments
Open

AES256GCM, Base64 decod of key file failed... #376

mingcz0301 opened this issue Oct 19, 2023 · 0 comments

Comments

@mingcz0301
Copy link

mingcz0301 commented Oct 19, 2023

Created under windows but key.b64 does not add 0A at the end of the line. The key.b64 file created under macos linux will add 0A at the end, causing base64 decoding to fail.
Unless you use Vim to manually delete 0A, it won't work properly. Even using echo "base64" > key.b64 still has 0A.
Especially when changing keys in stages, it becomes very troublesome
Dear developers, can you use string trim after reading the key.b64 file content to increase compatibility?

image image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant