Correct docs - for JWS generate, key is only optional for alg=none