You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/10/09 01:32:32 UTC

[GitHub] [servicecomb-java-chassis] include1911 opened a new issue #2604: 使用rsa认证时,单独重启consumer端,导致验签失败

include1911 opened a new issue #2604:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2604


   每次重启时会生成新的私钥:
   ![image](https://user-images.githubusercontent.com/9030264/136639176-242ad29f-afc6-40ca-a353-32dc23b6aa0e.png)
   
   使用新私钥进行加密:
   ![image](https://user-images.githubusercontent.com/9030264/136639078-63eb2974-50b6-470c-a6b1-655ce00a7fc4.png)
   验签时:
   ![image](https://user-images.githubusercontent.com/9030264/136639131-ead14589-3d58-4808-9974-8e1398d99e59.png)
   获取了缓存的微服务实例,并使用老的公钥验签导致失败
   ![image](https://user-images.githubusercontent.com/9030264/136639159-c50686bd-4c35-402a-9783-83cd3fb87ec7.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.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

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



[GitHub] [servicecomb-java-chassis] include1911 edited a comment on issue #2604: 使用rsa认证时,单独重启consumer端,导致验签失败

Posted by GitBox <gi...@apache.org>.
include1911 edited a comment on issue #2604:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2604#issuecomment-939640733


   ![image](https://user-images.githubusercontent.com/9030264/136727863-c57216a7-a2b3-40d2-a17e-9cf7ded99ca1.png)
   看日志这里重启之后注册的也是一样的,估计是这里用了别的注册中心实现。那这种情况下就不能用rsa鉴权了。


-- 
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: commits-unsubscribe@servicecomb.apache.org

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



[GitHub] [servicecomb-java-chassis] include1911 commented on issue #2604: 使用rsa认证时,单独重启consumer端,导致验签失败

Posted by GitBox <gi...@apache.org>.
include1911 commented on issue #2604:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2604#issuecomment-939640733


   > “获取了缓存的微服务实例,并使用老的公钥验签导致失败”,这个描述看起来不合理。 微服务重启后,实例ID会变化,那么本地缓存是不存在这个实例ID的,因此不存在获取到老的公钥的情况。
   
   ![image](https://user-images.githubusercontent.com/9030264/136727863-c57216a7-a2b3-40d2-a17e-9cf7ded99ca1.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.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

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



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2604: 使用rsa认证时,单独重启consumer端,导致验签失败

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2604:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2604#issuecomment-939256804


   “获取了缓存的微服务实例,并使用老的公钥验签导致失败”,这个描述看起来不合理。 微服务重启后,实例ID会变化,那么本地缓存是不存在这个实例ID的。


-- 
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: commits-unsubscribe@servicecomb.apache.org

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



[GitHub] [servicecomb-java-chassis] include1911 closed issue #2604: 使用rsa认证时,单独重启consumer端,导致验签失败

Posted by GitBox <gi...@apache.org>.
include1911 closed issue #2604:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2604


   


-- 
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: commits-unsubscribe@servicecomb.apache.org

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



[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #2604: 使用rsa认证时,单独重启consumer端,导致验签失败

Posted by GitBox <gi...@apache.org>.
liubao68 edited a comment on issue #2604:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2604#issuecomment-939256804


   “获取了缓存的微服务实例,并使用老的公钥验签导致失败”,这个描述看起来不合理。 微服务重启后,实例ID会变化,那么本地缓存是不存在这个实例ID的,因此不存在获取到老的公钥的情况。 


-- 
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: commits-unsubscribe@servicecomb.apache.org

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