<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 29, 2016 at 3:40 AM, Konstantin Shalygin <span dir="ltr"><<a href="mailto:k0ste@k0ste.ru" target="_blank">k0ste@k0ste.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ovirt-shell will be deprecated and not supported or some functions on ovirt-shell (or all package ovirt-engine-cli)?<br>
<br>
We use ovirt-shell on client desktops who connected to SPICE consoles and work (users provided by LDAP on ovirt-engine), like via RDP. For this I wrote very fast-hack patch for ovirt-shell and GUI for enter password (<a href="https://github.com/k0ste/ovirt-pygtk" rel="noreferrer" target="_blank">https://github.com/k0ste/ovir<wbr>t-pygtk</a>). Very simple, but via Internet people use SPICE without negative about packet loss and disconnects, instead RDP.</blockquote><div><br></div><div>Can you further explain the use case? I assume the user portal is not good enough for some reason?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
BTW, the ovirt-shell is something we deprecated. It is working on top of<br>
the v3 api, which we plan to remove in 4.2.<br>
So better not use it.<br>
</blockquote>
<br>
<br></span>
You can start maintain. For example I maintain packes for Arch Linux: ovirt-engine-cli (<a href="https://aur.archlinux.org/packages/ovirt-engine-cli" rel="noreferrer" target="_blank">https://aur.archlinux.org/pac<wbr>kages/ovirt-engine-cli</a>) and ovirt-engine-sdk-python (<a href="https://aur.archlinux.org/packages/ovirt-engine-sdk-python" rel="noreferrer" target="_blank">https://aur.archlinux.org/pac<wbr>kages/ovirt-engine-sdk-python</a>)<wbr>.</blockquote><div><br></div><div>Hi,</div><div><br></div><div>It somehow looks like a fork of the CLI (due to the added patch[1]). </div><div>I'm not sure how happy I am about it, considering the patch is adding a feature with security issues (there is a reason we do not support password passed via the command line - it's somewhat less secure).</div><div>Since you are already checking for the CLI rc file[2], just add the password to it and launch with it (in a temp file in the temp directory with the right permissions, etc...)</div><div><br></div><div>BTW, note that the attempt to delete the password from memory[3] may or may not work. After all, it's a copy of what you got from entry.get_text() few lines before.</div><div>And Python GC is not really to be relied upon to delete things ASAP anyway. There are some lovely discussions on the Internet about it. For example[4].</div><div>Y.</div><div><br></div><div>[1] <a href="https://github.com/k0ste/ovirt-pygtk/blob/master/add_password_option.patch">https://github.com/k0ste/ovirt-pygtk/blob/master/add_password_option.patch</a></div><div>[2] <a href="https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L81">https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L81</a></div><div>[3] <a href="https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L71">https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L71</a></div><div>[4] <a href="http://stackoverflow.com/questions/728164/securely-erasing-password-in-memory-python">http://stackoverflow.com/questions/728164/securely-erasing-password-in-memory-python</a></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-im gmail-HOEnZb"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.<br>
</blockquote>
<br></span><span class="gmail-HOEnZb"><font color="#888888">
-- <br>
Best regards,<br>
Konstantin Shalygin</font></span><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>