We're updating the issue view to help you get more done. 

Running setup a second time fails to correctly change encryption key

Description

Details from the PR:

(1) Complete a setup;
(2) Change the setup property in the openfire.xml to false and run set up again;
(3) Run auto-setup for multiple times;
(4) After setup (either above 1 or 2), change encryption key in security.xml;
Currently there's no more changes from me.

Problem description (Symptom):
(1) Run setup;
(2) Change the setup property in the openfire.xml to false and run set up again;
(3) Set a different Property Encryption key and go to the next page;
Result:
In the setup-datasource-standard.jsp page, the db username is displayed as gibberish.
You can also see some error messages in the log file, something like "[ERROR] LWCrypto encryp or descrypt failed".

Root cause:
The original logic for encryption key update is far from finished.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Greg Thomas
March 29, 2019, 12:19 PM

Assignee

Greg Thomas

Reporter

Greg Thomas

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure