You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/29 08:40:59 UTC

[GitHub] [apisix] Marco-Zheng opened a new issue #4158: bug: public key decode failed

Marco-Zheng opened a new issue #4158:
URL: https://github.com/apache/apisix/issues/4158


   ### Issue description
   ![image](https://user-images.githubusercontent.com/52538259/116523878-4c030c00-a909-11eb-93c6-2c34308761a4.png)
   i use the public key, but also show `OIDC introspection failed: jwt signature verification failed: Decode secret is not a valid cert/public key: ASN1 lib: nested asn1 error: wrong tag`
   i try to decode it locally, and it was successed
   
   


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

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



[GitHub] [apisix] Yiyiyimu closed issue #4158: bug: public key decode failed

Posted by GitBox <gi...@apache.org>.
Yiyiyimu closed issue #4158:
URL: https://github.com/apache/apisix/issues/4158


   


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

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



[GitHub] [apisix] Marco-Zheng commented on issue #4158: bug: public key decode failed

Posted by GitBox <gi...@apache.org>.
Marco-Zheng commented on issue #4158:
URL: https://github.com/apache/apisix/issues/4158#issuecomment-829069716


   > OK, I'll check later.
   
   I found the problem, per tag was wrong, it must be `-----BEGIN PUBLIC KEY-----` not `-----BEGIN CERTIFICATE----`
   you can have a try, if  it's a problem cause, i just give a little advice that the doc can be update to prevent such situation~
   ![image](https://user-images.githubusercontent.com/52538259/116527553-5fb07180-a90d-11eb-9e2c-f219b286c2b0.png)
   
   


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

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



[GitHub] [apisix] Marco-Zheng commented on issue #4158: bug: public key decode failed

Posted by GitBox <gi...@apache.org>.
Marco-Zheng commented on issue #4158:
URL: https://github.com/apache/apisix/issues/4158#issuecomment-829062250


   > What is the version of APISIX?
   
   It's 2.4


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

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



[GitHub] [apisix] Firstsawyou commented on issue #4158: bug: public key decode failed

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #4158:
URL: https://github.com/apache/apisix/issues/4158#issuecomment-829064627


   OK, I'll check later.


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

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



[GitHub] [apisix] Firstsawyou commented on issue #4158: bug: public key decode failed

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #4158:
URL: https://github.com/apache/apisix/issues/4158#issuecomment-829057471


   What is the version of APISIX?


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

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



[GitHub] [apisix] Firstsawyou commented on issue #4158: bug: public key decode failed

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #4158:
URL: https://github.com/apache/apisix/issues/4158#issuecomment-829874742


   > I found the problem, per tag was wrong, it must be `-----BEGIN PUBLIC KEY-----` not `-----BEGIN CERTIFICATE----`
   
   Yes, welcome to fix it.
   
   https://github.com/apache/apisix/blob/master/t/plugin/openid-connect.t#L892


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

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