I created a strong passphrase with special characters for
This is bad, because setting it in the environment variable throws the error that it failed to decrypt the imported key for the repository. Instead using the passphrase with the special characters in the normal bash input successfully imports.
So my question would be, what are my options? I want to use the passphrase via environment variable to automate my process.
Steps to reproduce:
- Follow https://docs.docker.com/engine/security/trust/trust_automation/
- Create passphrase with any special character
Edit: figured it out: single quotes for the environment variable works.