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

[Feature Request] Add option to allow non-interactive usage #45

Open
benempson opened this issue May 20, 2013 · 2 comments
Open

[Feature Request] Add option to allow non-interactive usage #45

benempson opened this issue May 20, 2013 · 2 comments

Comments

@benempson
Copy link

I'm working on automating our duplicity solution using duplicity-backup, however the script is not non-interactive compliant at the moment. It would be great if there was an option to automatically answer yes to any questions and stop the script asking for user input.

Obviously needs some thought around how to do that for the encryption password - see my other issue!

@zertrin
Copy link
Owner

zertrin commented May 20, 2013

Ahah! I didn't see this issue while responding to the other, but was thinking at exactly the same problem.

So, yes that would be an interesting improvement of the script.

About the encryption password difficulty, things come down to this:

  • If user is concerned by the security of the encryption password and doesn't want it to appear somewhere in cleartext, he'll be using the 2 different GPG keys scheme, and I think there would be no solution to enable the script to be aware of the encryption password without the user giving it interactively (which is the purpose of this scheme).
  • If the user really wants the script to be 100% autonomous, then the encryption password need to be provided somewhere in cleartext. But in this case it's not needed anymore to stick to the 2 different GPG key scheme, and the solutions are: either using the same GPG key for signing and encryption, or using the symmetric encryption.

@benempson
Copy link
Author

Agreed with that, if you want automated operation then you must either use the same key for signing and encryption or use symmetric. I'm happy to downgrade to 1 key for both purposes if it gets me automated operation :)

@zertrin zertrin changed the title Add option to allow non-interactive usage [Feature Request] Add option to allow non-interactive usage Jul 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants