runrestic icon indicating copy to clipboard operation
runrestic copied to clipboard

add RESTIC_PASSWORD_COMMAND

Open ColCh opened this issue 1 year ago • 2 comments
trafficstars

Hello!

First of all, thank you for this program.

I'm using keyring to store password for restic repo https://pypi.org/project/keyring/

in restic, it's used as RESTIC_PASSWORD_COMMAND env var

but the problem is, in runrestic json schema command is not defined as a valid value

https://github.com/sinnwerkstatt/runrestic/blob/6c10fedc1814e760e8ec41c5d167463d3f9a16e1/runrestic/runrestic/schema.json#L46C1-L49C8

so, I'm forced to specify at least this RESTIC_PASSWORD_FILE=""

ColCh avatar May 08 '24 23:05 ColCh

hi @ColCh , thanks for the report. would you be able to create a PR?

andreasnuesslein avatar May 10 '24 08:05 andreasnuesslein

sure! I think I could do that :)

ColCh avatar May 18 '24 21:05 ColCh