mirror of
https://github.com/restic/restic.git
synced 2025-10-09 18:02:28 +00:00
key add/passwd: handle UTF-16 encoding correctly
Just use the exact some function for load a password from a file everywhere.
This commit is contained in:
8
changelog/unreleased/issue-4850
Normal file
8
changelog/unreleased/issue-4850
Normal 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
|
Reference in New Issue
Block a user