-
Notifications
You must be signed in to change notification settings - Fork 17
Human message regarding minimum client_secret lenght #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
38c23a0
to
a942aed
Compare
a942aed
to
f8cfa89
Compare
Codecov Report
@@ Coverage Diff @@
## develop #72 +/- ##
========================================
Coverage 78.39% 78.39%
========================================
Files 41 41
Lines 4193 4193
Branches 808 808
========================================
Hits 3287 3287
Misses 648 648
Partials 258 258
Continue to review full report at Codecov.
|
By the way, we/I should tell Henri about this ! |
I'm working on a concise Paper with some general warnings about Shib CSCfi OIDC configuration. That's something to submit for revision of collegues that develops shibboleth,I will notify you on this before that happens |
I'm sure Henri will very much approve of this. |
Good news. |
Access token signature validation ? You must mean identity token signature validation. |
Tracelog on slack #oidc |
Well, the error is slightly of target. If you look a bit further up on the trace you see |
Right, I have to to do something for that, really don't know how to handle this exception |
The CSCfitutorial they made shows us how to create some JWKs.
|
A simple commit that wants to focus on an error message reported to users.
Standing on CSCfi shib oidc op guide the example client_secret is
topsecret
. That's something that users tends to use as it is for test setups.cryptojwt instead, have a default minimum length secret, as a policy, it seems quite hardcoded here:
JWTConnect-Python-CryptoJWT/src/cryptojwt/jwk/hmac.py
Line 59 in 030b1c6
I purpose a human readable message in this PR, to drive the users in a correct configuration (just to understand how thing should be done to get it to work). At the same time I'd think also to a global configuration parameters that could set that minimum value, an approch like:
This is a WiP, probably I'd add others stuffs here.
that's also a footprint on the test I made: