Closed difflib closed 1 year ago
@difflib have you tried with HS256
with capitalized characters: .putPasswordProtection("HS256","secret")
?
@gaol indeed, they should use the HS256
key instead of hs256
.
However, the implementation does not take into account the possibility that the map does not contain an entry for a given alias. I've sent #668 to address this
NPE Fixed by 292eb2a1
Version
vertx 4.4.6
Context
When I use the code from this:
The JWTAuth creation is OK. However when I try to use a putPasswordProtection (or setPasswordProtection) to build KeyStoreOptions, like this:
This exception is raised
Extra
OS version:
Ubuntu 22.04.3 LTS
JVM version:17.0.6
Kotlin version:232-1.9.20-release-507-IJ10072.27