You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "bzp2010 (via GitHub)" <gi...@apache.org> on 2025/11/13 17:02:30 UTC

Re: [I] bug: Create The apisix ApisixConsumer jwtAuth authentication type algorithm as HS256, and prompt the ApisixConsumer "apisix-jwtauth" is invalid: spec.authParameter.jwtAuth.value.private_key: Required value [apisix-ingress-controller]

bzp2010 commented on issue #2599:
URL: https://github.com/apache/apisix-ingress-controller/issues/2599#issuecomment-3528801536

   @sunwenbo @JanEgner @Frederickl78 
   
   We defined this CRD in AIC 1.x. To facilitate straightforward migration, we reimplemented it in 2.0. Consequently, most of the original structure has been retained for compatibility reasons. Before APISIX 3.11, the private_key in asymmetric mode was mandatory. Relaxing restrictions may cause disruption to existing users, so some of them may still be using older versions of APISIX. We need to take this into account.
   
   In https://github.com/apache/apisix/pull/11597 (starting from APISIX version 3.11), we have removed this private_key field. Consequently, the private key no longer requires any input whatsoever.
   For compatibility reasons, we are reluctant to directly mark it as non-mandatory. However, in your scenario, you may configure an arbitrary value for it; it will have no effect whatsoever.
   
   
   
   
   


-- 
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