<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional?]]></title><description><![CDATA[<p dir="auto">Hi. I've been using XCP-ng Center to manage my homelab for a while, but recently decided to give Xen Orchestra a go (mostly due to the fantastic backup options which are provided with the Premium package or built from source option). I'm enjoying using it so far (apart from an issue with some mouse and keyboard input lag, which I'm going to look more into myself to see if I can improve), but when I exported the Xen Orchestra configuration (from Settings -&gt; Config -&gt; Export/Download Current Config), I noticed that the resulting .json file contains the passwords for the two hosts in my homelab in plaintext.</p>
<p dir="auto">Is this an intentional decision or an oversight? Shouldn't the password hashes be stored in the .json file (as they appear to be for the users)? Does Xen Orchestra need to store plaintext versions to connect to the hosts? Maybe I'm missing something, but would appreciate some clarification, thanks.</p>
]]></description><link>https://xcp-ng.org/forum/topic/2866/exported-xen-orchestra-config-contains-plaintext-host-passwords-is-this-intentional</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 23:50:01 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/2866.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Apr 2020 17:19:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Sun, 21 Jun 2020 20:32:10 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://github.com/vatesfr/xen-orchestra/issues/4472" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/vatesfr/xen-orchestra/issues/4472</a></p>
<div class="row github-embeds-container">

<div class="col-md-6">
<div class="github-embed card">
<div class="card-body">

<div class="meta">
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/20043789?v=4" title="akurzawa" />
<a href="https://github.com/akurzawa"><span class="username">akurzawa</span></a> created this issue <span class="timeago" title="2019-09-03T06:39:23Z"></span> in <a href="//github.com/vatesfr/xen-orchestra">vatesfr/xen-orchestra</a>
</div>
<h3>
<span class="badge closed float-end">closed</span>
<a href="https://github.com/vatesfr/xen-orchestra/issues/4472">encrypt xcp-ng root user password in config file</a>
<span class="number">#4472</span>
</h3>



</div>
</div>
</div>

</div>]]></description><link>https://xcp-ng.org/forum/post/28028</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/28028</guid><dc:creator><![CDATA[akurzawa]]></dc:creator><pubDate>Sun, 21 Jun 2020 20:32:10 GMT</pubDate></item><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Sat, 20 Jun 2020 10:38:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/andre" aria-label="Profile: Andre">@<bdi>Andre</bdi></a> said in <a href="/forum/post/27540">Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional?</a>:</p>
<blockquote>
<p dir="auto">Would it be "stupid" to use the hash of the user's (asking for the export) password to encrypt "by default" the export?</p>
</blockquote>
<p dir="auto">No, because:</p>
<ol>
<li>XO does not the password of the user, just a hash</li>
<li>The hash cannot be used because it can be regenerated for various reasons (e.g. a change of security settings such as the used algo)</li>
</ol>
]]></description><link>https://xcp-ng.org/forum/post/27965</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/27965</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Sat, 20 Jun 2020 10:38:04 GMT</pubDate></item><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Sat, 20 Jun 2020 10:18:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> said in <a href="/forum/post/27535">Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional?</a>:</p>
<blockquote>
<p dir="auto">FYI, this feature <a href="https://xen-orchestra.com/blog/xen-orchestra-5-47/#configencryption" target="_blank" rel="noopener noreferrer nofollow ugc">has been released</a> <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ab1daa29750" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
</blockquote>
<p dir="auto">Great, and thanks for letting me know <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ab1daa29750" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/27964</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/27964</guid><dc:creator><![CDATA[amp88]]></dc:creator><pubDate>Sat, 20 Jun 2020 10:18:32 GMT</pubDate></item><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Wed, 10 Jun 2020 21:33:14 GMT]]></title><description><![CDATA[<p dir="auto">Would it be "stupid" to use the hash of the user's (asking for the export) password to encrypt "by default" the export?</p>
]]></description><link>https://xcp-ng.org/forum/post/27540</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/27540</guid><dc:creator><![CDATA[Andre]]></dc:creator><pubDate>Wed, 10 Jun 2020 21:33:14 GMT</pubDate></item><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Wed, 10 Jun 2020 16:19:57 GMT]]></title><description><![CDATA[<p dir="auto">FYI, this feature <a href="https://xen-orchestra.com/blog/xen-orchestra-5-47/#configencryption" target="_blank" rel="noopener noreferrer nofollow ugc">has been released</a> <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ab1daa29750" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/27535</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/27535</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Wed, 10 Jun 2020 16:19:57 GMT</pubDate></item><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Sun, 12 Apr 2020 11:04:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> said in <a href="/forum/post/25162">Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/amp88" aria-label="Profile: amp88">@<bdi>amp88</bdi></a> said in <a href="/forum/post/25058">Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional?</a>:</p>
<blockquote>
<p dir="auto">Shouldn't the password hashes be stored in the .json file (as they appear to be for the users)? Does Xen Orchestra need to store plaintext versions to connect to the hosts?</p>
</blockquote>
<p dir="auto">No, server passwords cannot be saved as hashes like we do for users, the use cases are completely different:</p>
<ol>
<li>for users, the password cannot be retrieved from the hashes. However that's <strong>not an issue</strong> because, when a user logs in, its password is hashed and compared to the stored hash</li>
<li>for servers, we need to send the password itself, not a derived hash to the XCP-ng/XenServer host</li>
</ol>
<p dir="auto">There is no way to securely hide these password except from encrypting them with a password provided by an external source, like a passphrase from the user, which may not be bad idea <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ab1daa29750" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
</blockquote>
<p dir="auto">OK, thanks for the explanation. Allowing the user the option to secure the exported configuration with a password would be a welcome addition <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ab1daa29750" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/25163</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/25163</guid><dc:creator><![CDATA[amp88]]></dc:creator><pubDate>Sun, 12 Apr 2020 11:04:19 GMT</pubDate></item><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Sun, 12 Apr 2020 10:32:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/amp88" aria-label="Profile: amp88">@<bdi>amp88</bdi></a> said in <a href="/forum/post/25058">Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional?</a>:</p>
<blockquote>
<p dir="auto">Shouldn't the password hashes be stored in the .json file (as they appear to be for the users)? Does Xen Orchestra need to store plaintext versions to connect to the hosts?</p>
</blockquote>
<p dir="auto">No, server passwords cannot be saved as hashes like we do for users, the use cases are completely different:</p>
<ol>
<li>for users, the password cannot be retrieved from the hashes. However that's <strong>not an issue</strong> because, when a user logs in, its password is hashed and compared to the stored hash</li>
<li>for servers, we need to send the password itself, not a derived hash to the XCP-ng/XenServer host</li>
</ol>
<p dir="auto">There is no way to securely hide these password except from encrypting them with a password provided by an external source, like a passphrase from the user, which may not be bad idea <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ab1daa29750" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/25162</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/25162</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Sun, 12 Apr 2020 10:32:34 GMT</pubDate></item><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Sat, 11 Apr 2020 07:47:48 GMT]]></title><description><![CDATA[<p dir="auto">The easiest route would be to create a password on the archive itself, yes. Ping <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> that can answer all questions and put some context <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ab1daa29750" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/25105</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/25105</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 11 Apr 2020 07:47:48 GMT</pubDate></item><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Fri, 10 Apr 2020 21:13:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a> said in <a href="/forum/post/25069">Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/amp88" aria-label="Profile: amp88">@<bdi>amp88</bdi></a> FWIW, there's an <a href="https://github.com/vatesfr/xen-orchestra/issues/4472" target="_blank" rel="noopener noreferrer nofollow ugc">open issue</a> on GH dealing with this.</p>
</blockquote>
<p dir="auto">Ah, thanks for letting me know.</p>
]]></description><link>https://xcp-ng.org/forum/post/25079</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/25079</guid><dc:creator><![CDATA[amp88]]></dc:creator><pubDate>Fri, 10 Apr 2020 21:13:11 GMT</pubDate></item><item><title><![CDATA[Reply to Exported Xen Orchestra Config Contains Plaintext Host Passwords - Is This Intentional? on Fri, 10 Apr 2020 20:44:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/amp88" aria-label="Profile: amp88">@<bdi>amp88</bdi></a> FWIW, there's an <a href="https://github.com/vatesfr/xen-orchestra/issues/4472" target="_blank" rel="noopener noreferrer nofollow ugc">open issue</a> on GH dealing with this.</p>
]]></description><link>https://xcp-ng.org/forum/post/25069</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/25069</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Fri, 10 Apr 2020 20:44:48 GMT</pubDate></item></channel></rss>