You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, I copied the --input parameter from the encrypt.conf file and added it, unchanged, to the command line. This command succeeds. (Overwrite is expected.)
(py) PS C:\ps-test> aws-crypto `@encrypt-no-i.conf --input .\TestCLI\Hello.txt
2017-11-15 08:43:16,765 - MainThread - aws_encryption_sdk_cli - WARNING - Overwriting existing target file because no action was specified otherwise: .TestEnc
I thought it might be a problem with the relative path in Windows, so I created a config file with the fully-qualified input path. I also tried a directory as the input arg + --recursive. That failed, too.
The text was updated successfully, but these errors were encountered:
Interesting. In poking at this offline with @juneb it looks like shlex is squashing \ characters. I'll look into making sure the shlex.escape characters are kept platform-correct.
Verified that Windows paths in the --input, --output, and --metadata-output parameters are being interpreted correctly. The commands that failed before this fix now succeed.
However, environment variables in config files are not being expanded. #89
Is the input parameter permitted in config files?
Using aws-encryption-sdk-cli/1.0.2.3 aws-encryption-sdk/1.3.2 on Windows 10.0.14393.1770, PS 5.1.14393.1770
I have a config file, encrypt.conf, with the following contents:
When I run it, the command fails because it can't parse the input parameter in the file.
I created another config file, encrypt-no-i.conf, with the same content, except that I omitted the input parameter.
Then, I copied the --input parameter from the encrypt.conf file and added it, unchanged, to the command line. This command succeeds. (Overwrite is expected.)
I thought it might be a problem with the relative path in Windows, so I created a config file with the fully-qualified input path. I also tried a directory as the input arg + --recursive. That failed, too.
The text was updated successfully, but these errors were encountered: