resticpy icon indicating copy to clipboard operation
resticpy copied to clipboard

Feature request: support for restic password command

Open jessebot opened this issue 1 year ago • 2 comments

Thanks for maintaining this!

I wanted to request support for a password command. From restic --help:

--password-command command   shell command to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)

Either that, or perhaps taking the password directly via the restic class with restic.password. In my case, I have the password in memory temporarily, but don't want to save it to a file.

jessebot avatar Apr 27 '24 20:04 jessebot

Thanks for the suggestion!

This isn't something I use, so I wouldn't take on implementation, but I'd accept it if someone else wants to implement it.

mtlynch avatar Apr 27 '24 20:04 mtlynch

Sure, I can try and work on this in a week or two. If anyone gets the time ahead of me in the coming week or so, please feel free to cut me in line and submit a PR :)

jessebot avatar Apr 28 '24 14:04 jessebot