steep-balloon-41261
12/05/2022, 3:13 PMbest-parrot-43500
12/05/2022, 3:15 PMapiKey="key"
apiSecret="4mAAqFyEfsm5Q7"
This works for API calls (creating a room) and the livekit-cli load-test also works.
However when trying to generate an access token for the call on the server I get this error:
Error joining call, abort call io.jsonwebtoken.security.WeakKeyException: The signing key's size is 112 bits which is not secure enough for the HS256 algorithm. The JWT JWA Specification (RFC 7518, Section 3.2) states that keys used with HS256 MUST have a size >= 256 bits (the key size must be greater than or equal to the hash output size). Consider using the io.jsonwebtoken.security.Keys class's 'secretKeyFor(SignatureAlgorithm.HS256)' method to create a key guaranteed to be secure enough for HS256. See <https://tools.ietf.org/html/rfc7518#section-3.2> for more information.best-parrot-43500
12/05/2022, 3:16 PMmagnificent-art-43333
12/05/2022, 6:48 PMdry-elephant-14928
12/05/2022, 8:48 PMlivekit-server generate-keys generates is 44 chars long, or 352 bits)dry-elephant-14928
12/05/2022, 8:52 PMbest-parrot-43500
12/05/2022, 9:49 PMbest-parrot-43500
12/05/2022, 9:50 PMeager-raincoat-52616
12/07/2022, 1:52 PMdry-elephant-14928
12/07/2022, 5:11 PMdry-elephant-14928
12/08/2022, 1:01 AMbest-parrot-43500
12/08/2022, 9:51 AMeager-raincoat-52616
12/08/2022, 9:55 AM