vzborg icon indicating copy to clipboard operation
vzborg copied to clipboard

VZBORG_PASSPHRASE from command

Open redmop opened this issue 3 years ago • 1 comments

Is it possible to add the ability to have the output of a command be the password?

Something like: VZBORG_PASSPHRASE=$(getpassword vaultname)

Where 'getpassword vaultname' outputs a password?

redmop avatar Jun 06 '21 03:06 redmop

Hi, I don't see any problem if you assign the value in this way in the configuration file. If it is valid bash, it will be executed and asigned to VZBORG_PASSPHRASE with each execution of vzborg. Just test it, and let me know if you have problems.

g3492 avatar Jun 06 '21 21:06 g3492