Re: [ovirt-users] Vm console creation using noVNC
Hi Seven, Thanks for the update. -- Regards Shanil On Wed, Jul 9, 2014 at 5:07 PM, Sven Kieske s.kie...@mittwald.de wrote: Am 09.07.2014 13:30, schrieb Shanil S: Hi Michal, Okay.. Thanks.. But still i am not sure how can i create the encrypted ticket details. When i decoded i got validFrom,validTo,data,signature and salt and this is dynamic and each time we open a console it will be regenerated but i didn't find out any doc about how we can encode these details. Is there any special method to encrypt the ticket details for console ? you just pass the necessary information from the ticket to the console? you might need to alter some of the html5 stuff in novnc to achieve that. Did you even took a look at the novnc source shipped with ovirt? I know this is possible with just a few tweaks, because I've seen people do it already, but I can't guide you step-by-step, after all, you're the developer. :) -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Vm console creation using noVNC
Hi Michal, Okay.. Thanks.. But still i am not sure how can i create the encrypted ticket details. When i decoded i got validFrom,validTo,data,signature and salt and this is dynamic and each time we open a console it will be regenerated but i didn't find out any doc about how we can encode these details. Is there any special method to encrypt the ticket details for console ? -- Regards Shanil On Tue, Jul 8, 2014 at 7:28 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Jul 8, 2014, at 09:37 , Shanil S xielessha...@gmail.com wrote: Hi, I am creating console using api, for this i created a ticket using the rest api and used the ticket value as password and i am able to connect it using these details using vnc client. I am planning to use the console from the browser using the novnc console ( http://kanaka.github.io/noVNC/ ) as like the same way which used in the ovirt panel. When i checked the novnc-main.html it is found that the ticket information details are passing in the encrypted format and passing the signature and salt and ticket details as an array, Could you please tell me how can i create these details in the encoded format and create a console using noVnc and rest api ? Hi, you'd have to do it the same way as the backend java code does that. There's no special shortcut/API. depending on what are you specifically doing, you may not even need to do that. If you bypass ovirt's websocket-proxy and e.g. connect to hosts directly (and run/setup websocket proxy your own way) then you can also implement the security of client-proxy in some other way. Thanks, michal -- Regards Shanil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Vm console creation using noVNC
Am 09.07.2014 13:30, schrieb Shanil S: Hi Michal, Okay.. Thanks.. But still i am not sure how can i create the encrypted ticket details. When i decoded i got validFrom,validTo,data,signature and salt and this is dynamic and each time we open a console it will be regenerated but i didn't find out any doc about how we can encode these details. Is there any special method to encrypt the ticket details for console ? you just pass the necessary information from the ticket to the console? you might need to alter some of the html5 stuff in novnc to achieve that. Did you even took a look at the novnc source shipped with ovirt? I know this is possible with just a few tweaks, because I've seen people do it already, but I can't guide you step-by-step, after all, you're the developer. :) -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Vm console creation using noVNC
Hi, I am creating console using api, for this i created a ticket using the rest api and used the ticket value as password and i am able to connect it using these details using vnc client. I am planning to use the console from the browser using the novnc console ( http://kanaka.github.io/noVNC/ ) as like the same way which used in the ovirt panel. When i checked the novnc-main.html it is found that the ticket information details are passing in the encrypted format and passing the signature and salt and ticket details as an array, Could you please tell me how can i create these details in the encoded format and create a console using noVnc and rest api ? -- Regards Shanil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Vm console creation using noVNC
On Jul 8, 2014, at 09:37 , Shanil S xielessha...@gmail.com wrote: Hi, I am creating console using api, for this i created a ticket using the rest api and used the ticket value as password and i am able to connect it using these details using vnc client. I am planning to use the console from the browser using the novnc console ( http://kanaka.github.io/noVNC/ ) as like the same way which used in the ovirt panel. When i checked the novnc-main.html it is found that the ticket information details are passing in the encrypted format and passing the signature and salt and ticket details as an array, Could you please tell me how can i create these details in the encoded format and create a console using noVnc and rest api ? Hi, you'd have to do it the same way as the backend java code does that. There's no special shortcut/API. depending on what are you specifically doing, you may not even need to do that. If you bypass ovirt's websocket-proxy and e.g. connect to hosts directly (and run/setup websocket proxy your own way) then you can also implement the security of client-proxy in some other way. Thanks, michal -- Regards Shanil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users