mirror of
https://github.com/restic/restic.git
synced 2024-12-23 00:07:25 +00:00
c55665be2c
Just use the exact some function for load a password from a file everywhere.
8 lines
326 B
Text
8 lines
326 B
Text
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
|