-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support validating tokens without an outbound network connection #97
Comments
Unlike X.509 CA signing keys, which IGTF updates once per month via RPMs, the SciTokens signing keys need to be updated more frequently, because there are no CRLs in the SciTokens world. Assuming the cluster head node (or management node) has external connectivity, then the head node could update the SciTokens key cache once per hour / once per day and distribute the key cache to the cluster nodes. We'd need a tool that takes a set of trusted issuers and updates the key cache for all the issuers, rather than letting the library do it on demand. This would also require fixing caching lifetimes (#80 & #86). In scitokens-cpp, the key cache is in In Python, the SciTokens key cache is in Seems to me we should try to use the same cache for both C++ and Python. |
@duncanmmacleod - I don't know if it's helpful, but manipulating the keycache is something I was working on earlier this week: With that, potentially a nightly cronjob to preload the public keys would suffice? Beyond that, Brian |
Currently one cannot validate a bearer token without an outbound network connection:
Is this feasible? It would enable using tokens for jobs on cluster nodes that are not exposed to the network (e.g. on LIGO/Hawk in Cardiff).
The text was updated successfully, but these errors were encountered: