-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Introduce support for key password (not store password!) in KeyStoreOptions #3970
Comments
|
In perhaps we should align the naming conventions to avoid confusion with the API. |
does it do the same ?
in this case, when the alias is selected then only one entry is used and it
makes sense to have a single password instead of a map in your case
…On Wed, Jun 16, 2021 at 10:30 AM Paulo Lopes ***@***.***> wrote:
In vertx-auth we also have this:
https://github.com/vert-x3/vertx-auth/blob/master/vertx-auth-common/src/main/java/io/vertx/ext/auth/KeyStoreOptions.java#L112
perhaps we should align the naming conventions to avoid confusion with the
API.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3970 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABXDCTGA7MX62JHXTATAULTTBOJLANCNFSM46X73FNA>
.
|
@vietj yes. in |
Fixes eclipse-vertx#3970 In eclipse-vertx#3933 we added an alias property to keystore options that allows to choose a keystore entry when there are several instead of letting the JVM selecting the first one. This is a follow-up change that allows to specify a password for the alias when it is different than the store's password. Signed-off-by: Thomas Segismont <[email protected]>
FWIW: while integrating this feature via quarkusio/quarkus#18387 I realized that the name |
Describe the feature
There is
io.vertx.core.net.KeyStoreOptions.setPassword(String)
for the store and.setAlias(String)
to select a specific key from the store, but there is nothing to set the password for a specific key.#3452 seems closely related.
Use cases
In "enterprisy setups"™, more often than not you have multipe key pairs in a single key store and each of it is protected by an individual password. In such cases, just having a keystore password is not sufficient.
FWIW: Spring and WildFly both have something like
key-password
in config.Btw, something like
.setKeyPassword(String)
would make sense to me.In that context, maybe
.setAlias(String)
should be renamed to.setKeyAlias(String)
to make things clearer.See also this discussion over at Quarkus: quarkusio/quarkus#17884 (comment)
The text was updated successfully, but these errors were encountered: