[
https://issues.jboss.org/browse/WFLY-5593?page=com.atlassian.jira.plugin....
]
Hynek Švábek edited comment on WFLY-5593 at 4/25/16 6:59 AM:
-------------------------------------------------------------
Hi,
It works for me for AES 256. But you need OpenJDK or others JDK with Java Cryptography
Extension (JCE).
I noticed one problem there:
I have to use same value for params *"-storepass PASSWORD -keypass PASSWORD"*
otherwise I get same exception as above: PBOX00137: Security Vault does not contain
SecretKey entry under alias (vault)
was (Author: hsvabek):
Hi,
It works for me. But you need OpenJDK or others JDK with Java Cryptography Extension
(JCE).
I noticed one problem there:
I have to use same value for params *"-storepass PASSWORD -keypass PASSWORD"*
otherwise I get same exception as above: PBOX00137: Security Vault does not contain
SecretKey entry under alias (vault)
VaultTool does not support KeySize != 128
-----------------------------------------
Key: WFLY-5593
URL:
https://issues.jboss.org/browse/WFLY-5593
Project: WildFly
Issue Type: Bug
Components: Security
Affects Versions: 10.0.0.CR4
Reporter: Andreas Weise
Assignee: Darran Lofthouse
Priority: Minor
Vault tool (vault.sh) returns exception PBOX00137: Security Vault does not contain
SecretKey entry under alias (vault) when using a JCEKS with AES 256.
It seems only 128 Bit Key Length is supported by the Vault Tool, which is default in
[
org/picketbox/plugins/vault/PicketBoxSecurityVault.java|https://github.co...]
Key length could be parametrized in PicketBoxSecurityVault, but vault tool does not
support this, more specifically
[
org/jboss/as/security/vault/VaultSession.getVaultOptionsMap()|https://git...]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)