-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.DR13
CS tool generated different MASKED password then vault.sh
When I run oldf vault.sh
./vault.sh --keystore key.store --keystore-password secret_password --alias Vault --vault-block vaultBlock --attribute passDB --sec-attr secretvalue --enc-dir ./vault --iteration 230 --salt 12345678 -t
I can see this MASK-1GhfMaq4jSY0.kFFU3QG4T
Whole output:
<vault> <vault-option name="KEYSTORE_URL" value="key.store"/> <vault-option name="KEYSTORE_PASSWORD" value="MASK-1GhfMaq4jSY0.kFFU3QG4T"/> <vault-option name="KEYSTORE_ALIAS" value="Vault"/> <vault-option name="SALT" value="12345678"/> <vault-option name="ITERATION_COUNT" value="230"/> <vault-option name="ENC_FILE_DIR" value="./vault/"/> </vault><management>
In the other hand when I run new CS tool with params:
java -jar wildfly-elytron-tool.jar credential-store --add myalias --secret secretpassword --location="test.store1" --uri "cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS" --password secret_password --summary --salt 12345678 --iteration 230 --create
I get MASK-KAwLfD1BN8WFhZptWsa17G
Whole output:
Alias "myalias" has been successfully stored Credential store command summary: -------------------------------------- /subsystem=elytron/credential-store=test:add(uri="cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS",relative-to=jboss.server.data.dir,credential-reference={clear-text="MASK-KAwLfD1BN8WFhZptWsa17G==;12345678;230"})
I set these values for both:
password to mask secret_password
iteration 12345678
salt 230
- is cloned by
-
WFCORE-2421 CS tool generated different MASKED password then vault.sh
- Resolved
- is incorporated by
-
JBEAP-9571 (7.1.0) Upgrade to WildFly Core to 3.0.0.Beta13
- Closed
- relates to
-
JBEAP-10253 Credential-store, User isn't able to use masked password from Wildfly-elytron-tool.
- Closed