Merge pull request #4851 from MichaelEischer/fix-utf-16-key

key add/passwd: handle UTF-16 encoding correctly
This commit is contained in:
Michael Eischer authored and GitHub committed 2024-06-09 11:27:58 +02:00
commit fc3841e7cc
3 files changed
+19 -15

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
Bugfix: correctly handle UTF-16 password files in `key add/passwd`
`key add` and `key passwd` did not properly decode UTF-16 encoded password read
from a password file. This has been fix to match the decoding when opening a
repository.
https://github.com/restic/restic/issues/4850
https://github.com/restic/restic/pull/4851