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

Non-interactive functionality? #44

Open
egoipse opened this issue Aug 23, 2020 · 3 comments
Open

Non-interactive functionality? #44

egoipse opened this issue Aug 23, 2020 · 3 comments
Labels
feature a feature request or enhancement help wanted ❤️ we'd love your help!

Comments

@egoipse
Copy link

egoipse commented Aug 23, 2020

Is it possible to decrypt the secret in non-interactive sessions (i.e., Rscript SomeFile.R from UNIX-based OS terminal)?

The get_secret() function requieres the passphrase for privatekey. So, when running the Rscript from CMD, it stops with the error Access denied to secret ‘somesecret’

@egoipse egoipse changed the title Non-interactive functionallity? Non-interactive functionality? Aug 23, 2020
@gaborcsardi
Copy link
Owner

I think it should already work for private keys without a password.

For private keys with passwords, we would need to pass the password down to openssl:::read_key. Would you like to support a PR for this?

@gaborcsardi gaborcsardi added feature a feature request or enhancement help wanted ❤️ we'd love your help! labels Aug 23, 2020
@egoipse
Copy link
Author

egoipse commented Aug 23, 2020

I'd like to support, but my coding capacity is rather poor. Anyway, I'll do the research and if I find a solution, I'll pull it.

@gaborcsardi
Copy link
Owner

gaborcsardi commented Aug 23, 2020

Thanks! No pressure, and no rush.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement help wanted ❤️ we'd love your help!
Projects
None yet
Development

No branches or pull requests

2 participants