2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-13 14:22:23 +00:00
restic/cmd
Pauline Middelink d9b9bbd4a8 Force restic to ask the password when adding a key.
As `restic key add` uses the same `ReadPasswordTwice()` as the
rest of restic, it is sensitive to the environment variable
RESTIC_PASSWORD or --password-file= override.

When asking for the new key, temporary remove these 2 overrides, forcing
the password to be asked.
2017-07-24 22:00:44 +02:00
..
restic Force restic to ask the password when adding a key. 2017-07-24 22:00:44 +02:00