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

How to specify passphrase with an automated script #201

Closed
nodesocket opened this issue Sep 17, 2019 · 1 comment
Closed

How to specify passphrase with an automated script #201

nodesocket opened this issue Sep 17, 2019 · 1 comment

Comments

@nodesocket
Copy link

nodesocket commented Sep 17, 2019

How can I specify the passphrase with an automated script? Assume I have an ENVAR set $SCRYPT_PASSPHRASE.

Tried:

scrypt enc -P foo.tar foo.tar.scrypt | echo $SCRYPT_PASSPHRASE
@nodesocket
Copy link
Author

Oops.

echo $SCRYPT_PASSPHRASE | scrypt enc -P foo.tar foo.tar.scrypt

Would be awesome to update the man page with an example of passing the passphrase like this.

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

No branches or pull requests

1 participant