-
Notifications
You must be signed in to change notification settings - Fork 17
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
x509 POC React #56
Comments
Initial findings (@maany):
Please assign this to me, thanks! |
So, I was able to recreate the client certificate request in Flask as follows:
code: https://github.com/maany/rucio-vscode-dev-env/blob/50c8e9e99482508a586413e7cd19643f0c0c8b16/utils/rucio_ui_debug.py#L33 To re-create this in the new webui, we would have to get access to the socket connection, which can be done via NextJS. A good article to try out would be this |
Take a look at the socket.io equivalent
|
Let's try to trigger the certificate popup with |
The function we should try to call: |
You would have to generate a x509 certificate and install a x509 certificate to the Apple Keychain |
Thanks for all the info @maany! 👍 |
socketio/socket.io#3567 is resolved please see socketio/socket.io#4511 for fix using io.engine.on(connection where client cert reference is available. Also quick example of setting and using client certificate can be found at https://github.com/Andrewiski/socket.io-certificate-test |
Closing as this is no longer relevant. x509 workflow has been implemented via #128 |
Description
x509 auth workflow requires a selection popup window to appear, which displays any x509 certificate if present, and asks for user to choose.
Motivation
This is an essential step in dealing with the x509 auth workflow.
Change
Being a POC, we would need to survey some libraries which may already do it, or check if react has something to offer natively for this kind of functionality.
The text was updated successfully, but these errors were encountered: