JWA spec says that a key of size 2048 bits or larger MUST be used with "RS256", "RS384", and "RS512" algorithms.
Created attachment 217158 [details] proposed patch
Committed <http://trac.webkit.org/r159393>.