Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to specify superuser passphrase from STDIN #17

Open
g33kex opened this issue May 27, 2018 · 1 comment
Open

Allow user to specify superuser passphrase from STDIN #17

g33kex opened this issue May 27, 2018 · 1 comment

Comments

@g33kex
Copy link

g33kex commented May 27, 2018

As pass-tomb needs to be run as root, it's almost impossible to automate pass open in a workflow, for instance to ask the root password with gksudo, because there is no way to pass it to pass-tomb which waits from root password from standard input.

There should be an option to send the root password as standard input to pass open

A workaround would be to directly run echo $password | sudo -S pass open but this can't work as the gnupg password prompt can't appear on the screen if it's run as root.

@roddhjav
Copy link
Owner

roddhjav commented Jun 6, 2018

Hi, it could be implemented. I will do it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants