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

Default storage convertor + Hashicorp Vault - Data not decrypted on read #48

Open
KarlAustin opened this issue Apr 6, 2023 · 1 comment

Comments

@KarlAustin
Copy link

Hi,

Plugin: 1.3.8 (The shipped 1.3.0 is the same).
Rundeck: 4.11

Using the default shipped storage convertor setup of jasypt-encryption we are seeing that data gets encrypted on the way in to the vault, but does not appear to be getting decrypted on the way back out.

We are storing SSH Keys and Passphrases in Vault for use with the SSHJ-SSH NodeExecutor (same issue with OpenSSH one as well) and the keys when fetched back from Vault are not recognised due to be encrypted still.

If we disable the convertor, re-write the keys so they get saved plain then everything works as expected.

It seems we're not the only one seeing this: rundeck/rundeck#8205

Steps to reproduce:

  • Install Rundeck from Deb
  • Install Vault plugin
  • Configure Vault
  • Try to use Private Key & Passphrase from storage

Thanks.

@KarlAustin KarlAustin changed the title Default storage convertor - Data not decrypted on read Default storage convertor + Hashicorp Vault - Data not decrypted on read May 30, 2023
@MegaDrive68k
Copy link

Same here. The plugins doesn´t work with an Storage Converter "extra layer". This could be an enhacement.

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

2 participants