nokia / kong-oidc

OIDC plugin for Kong
Apache License 2.0
454 stars 320 forks source link

Use a higher version of lua-resty-openidc to support 4096 bit keys #111

Closed mstg closed 5 years ago

mstg commented 5 years ago

Hello!

Currently when using 4096 bit keys (with specifically hydra oauth2 server) lua-resty-openidc returns the following error: public key decode error: RSA lib: nested asn1 error: bad object header: too long

Upgrading to the latest version of lua-resty-openidc fixes this.

If you need more information, please advice.

EDIT: This initially upgraded to 1.7.1 but it broke some tests (missing "resty.random") I tried using a lower version (1.6.1-1) and it seems to have fixed the issue and didn't break any tests. I have force pushed and rebased now to present it as one commit.

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 127


Totals Coverage Status
Change from base Build 121: 0.0%
Covered Lines: 130
Relevant Lines: 135

💛 - Coveralls