http4s-jwt-auth
http4s-jwt-auth copied to clipboard
JwtSecretKey takes a String
Strings in the JVM can be internalized. For this reason, it has long been the case that storing cryptographic material in a Java String is verboten (forbidden). Please change the signature of JwtSecretKey from taking a String to something more appropriate for cryptographic material.
java.security.PrivateKey would probably be the best choice but others like Array[Byte] or Array[Char] are probably good choices too.