Closed mzagrabe closed 1 year ago
I'm running:
$ /usr/bin/eyaml --version Welcome to eyaml 3.3.0
$ /usr/bin/eyaml encrypt --pkcs7-public-key public_key.pkcs7.pem --output block --string "--" Error: option '--string' needs a parameter. Try --help for help.
In particular I would like to pass an SSH private key as the argument to --string:
$ /usr/bin/eyaml encrypt --pkcs7-public-key public_key.pkcs7.pem --output block --string "-----BEGIN OPENSSH PRIVATE KEY----- etc etc etc" Error: option '--string' needs a parameter. Try --help for help.
I know I can:
$ cat /path/to/file | /usr/bin/eyaml encrypt --stdin --pkcs7-public-key public_key.pkcs7.pem --output block
...but was hoping to pass the contents on the CLI.
Put an =:
=
/usr/bin/eyaml encrypt --pkcs7-public-key public_key.pkcs7.pem --output block --string="--"
I'm running:
In particular I would like to pass an SSH private key as the argument to --string:
I know I can:
...but was hoping to pass the contents on the CLI.