jhipsterjhipster-registry

Cant encrypt using JHipster Registry UI


Seems pretty simple, I setup the REGISTRY_KEY using environment variables and am running JHister Registry from the generated jhipster_registry.yml.

enter image description here

Then, I login and navigate over to the encryption UI, enter my secret and hit 'encrypt'...

enter image description here

Where am I going wrong, or is the JHipsterRegistry wrong?


Solution

  • The request to encrypt/decrypt succeeds, but the Angular client throws an error when trying to parse the response as JSON, since the response is actually a string.

    This was reported in this issue, and fixed in this commit.

    You can build the master branch of JHipster Registry, or wait for a new release to use the UI to encrypt/decrypt.