2024-05-18 17:20:04 +00:00
|
|
|
Enhancement: Support repositories with empty password
|
|
|
|
|
2024-07-22 22:19:22 +00:00
|
|
|
Restic previously required a password to create or operate on repositories.
|
2024-05-18 17:20:04 +00:00
|
|
|
Using the new option `--insecure-no-password` it is now possible to disable
|
2024-07-22 22:19:22 +00:00
|
|
|
this requirement. Restic will not prompt for a password when using this option.
|
2024-05-18 17:20:04 +00:00
|
|
|
|
2024-07-22 22:19:22 +00:00
|
|
|
For security reasons, the option must always be specified when operating on
|
|
|
|
repositories with an empty password, and specifying `--insecure-no-password`
|
|
|
|
while also passing a password to restic via a CLI option or environment
|
|
|
|
variable results in an error.
|
2024-05-18 17:20:04 +00:00
|
|
|
|
2024-07-24 17:28:45 +00:00
|
|
|
The `init` and `copy` commands add the related `--from-insecure-no-password`
|
2024-07-22 22:19:22 +00:00
|
|
|
option, which applies to the source repository. The `key add` and `key passwd`
|
|
|
|
commands add the `--new-insecure-no-password` option to add or set an empty
|
|
|
|
password.
|
2024-05-18 17:20:04 +00:00
|
|
|
|
|
|
|
https://github.com/restic/restic/issues/1786
|
|
|
|
https://github.com/restic/restic/issues/4326
|
|
|
|
https://github.com/restic/restic/pull/4698
|
|
|
|
https://github.com/restic/restic/pull/4808
|