]
Ilia Vassilev moved ELY-844 to WFLY-7831:
-----------------------------------------
Project: WildFly (was: WildFly Elytron)
Key: WFLY-7831 (was: ELY-844)
Coverity: default platform encoding used in TokenRealmDefinition
(Elytron subsystem)
------------------------------------------------------------------------------------
Key: WFLY-7831
URL:
https://issues.jboss.org/browse/WFLY-7831
Project: WildFly
Issue Type: Bug
Reporter: Josef Cacek
Assignee: Ilia Vassilev
Priority: Minor
Labels: static_analysis
Coverity static-analysis scan found a String to byte conversion with default platform
encoding in the {{TokenRealmDefinition.performRuntime}} method.
https://scan7.coverity.com/reports.htm#v16159/p12663/fileInstanceId=68921...
Following code
{code:java}
jwtValidatorBuilder.publicKey(publicKey.getBytes());
{code}
The encoding should be specified as argument.