You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "kayx23 (via GitHub)" <gi...@apache.org> on 2024/02/01 04:19:25 UTC

Re: [PR] docs: jwe-decrypt secret length must be 32 chars [apisix]

kayx23 commented on PR #10883:
URL: https://github.com/apache/apisix/pull/10883#issuecomment-1920476092

   > > @Vacant2333 you must also update the schema, shouldn't you? And is there any spec/rfc that supports your claim?
   > 
   > no, we cant limit the schemea, if use set `is_base64_encoded` to `true`, the secret will longger than 32 chars. u can check this testcase, the secret after base64_encode will be longer than 32chars https://github.com/apache/apisix/blob/master/t/plugin/jwe-decrypt.t#L348
   
   @Vacant2333 In that case, why is this PR still saying the secret must be 32 chars, instead of explaining more of what you explain above?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org