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

[OB 3.0.0] Encrypted passwords with the cipher tool are not being decrypted #330

Open
VimukthiRajapaksha opened this issue Feb 20, 2025 · 0 comments
Assignees

Comments

@VimukthiRajapaksha
Copy link
Contributor

Description

When a password in the deployment.toml file is encrypted using the Cipher Tool, the application fails to process it correctly. Specifically, encrypted values are not automatically decrypted when referenced in the configuration at the runtime.

Steps to Reproduce

  • Add a new configuration entry, such as admin_password, as a secret in the deployment.toml file following the cipher tool docs.

  • Run the following command to encrypt the secret:
    ./ciphertool.sh -Dconfigure

  • Once the admin_password value is encrypted, reference it in the file:

[open_banking.consent.api_credentials]
password="$secret{admin_password}"
  • Start the server.

Expected Behavior

  • The application should automatically decrypt the admin_password value and use it accordingly.

Actual Behavior

  • The server does not automatically decrypt the encrypted value, leading to authentication errors.

Related Issues

https://github.com/wso2-enterprise/wso2-ob-internal/issues/980

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

No branches or pull requests

1 participant