aws-vault icon indicating copy to clipboard operation
aws-vault copied to clipboard

Passphrase not functioning as expected

Open christhomas opened this issue 4 years ago • 1 comments

  • [x] I am using the latest release of AWS Vault
  • [ ] I have provided my .aws/config (redacted if necessary)
  • [ ] I have provided the debug output using aws-vault --debug (redacted if necessary)

If I try to add a profile, but with an empty passphrase (lets say I don't want one), then I try to exec a profile, it'll ask me for a passphrase. If I just hit enter, it'll execute it correctly and I see the data that should be in AWS.

So when the passphrase is empty, it shouldn't prompt me for it.

But when I add a passphrase, lets say 123, it'll work when I enter 123 and hit enter, I'll get the same data I expect back from AWS

If I set this env var AWS_VAULT_FILE_PASSPHRASE=123

then I do an env command, I can see the env var clearly.

When I rerun the exec command, it'll STILL prompt me for the password, when I enter 123, it'll execute correctly.

So there seems to be two problems here

  1. empty passphrases are still prompting for input, despite there being no passphrase set
  2. the AWS_VAULT_FILE_PASSPHRASE env parameter doesn't appear to work at all.

christhomas avatar Dec 01 '21 18:12 christhomas

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 12 '22 18:06 stale[bot]