<?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[Batch Importing product keys]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Loving Fog thus far, but I’d like to batch import a few hundred Windows product keys… I found the entry in the database, but it seems to be encrypted. Is there anyone who could shed some light on that matter, so I could just import them straight into the database, since the csv import format doesn’t seem to support importing them?</p>
<p dir="auto">P.S. if I leave the group product key empty and have keys entered for each individual host, will imaging by group use the individual ones or not perform activation at all?</p>
]]></description><link>http://forums.fogproject.org/topic/4349/batch-importing-product-keys</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 20:40:39 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/4349.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Jan 2015 11:33:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Batch Importing product keys on Mon, 19 Jan 2015 16:41:27 GMT]]></title><description><![CDATA[<p dir="auto">Thanks again!</p>
<p dir="auto">However I noticed there’s = replacing the last character of every base64 encoded product key in Fog database (which I had inserted manually via web interface thus far).<br />
When writing the script to encode all the keys I have, I got a similar result with two ==s appended in the end, but because the file was created in windows. Replacing Windows newlines with Unix’s by dos2unix gave a clean result, of course.<br />
Now I’m just wondering if this is a oversight in the php portion and I should replace the last character of they keys with it as when writing all the keys straight to the Fog database, or is there something going on beyond the initial php input form on web interface that would change data already in the database even if I’d append cleanly encoded keys?</p>
<p dir="auto">Couldn’t find anything relevant in the files, I’m not too php/java savvy.</p>
<p dir="auto">Thanks for your time, yet once again…</p>
]]></description><link>http://forums.fogproject.org/post/33545</link><guid isPermaLink="true">http://forums.fogproject.org/post/33545</guid><dc:creator><![CDATA[Valmar Kuristik]]></dc:creator><pubDate>Mon, 19 Jan 2015 16:41:27 GMT</pubDate></item><item><title><![CDATA[Reply to Batch Importing product keys on Mon, 19 Jan 2015 13:46:53 GMT]]></title><description><![CDATA[<p dir="auto">The value is not Encrypted, but base64 encoded as a simplistic form of obfuscation.</p>
<p dir="auto">Your script would just need to read the value and base64 encode it which can be done easily on linux.  I don’t know how easily it can be done on Windows, but shouldn’t be overly hard.</p>
]]></description><link>http://forums.fogproject.org/post/33542</link><guid isPermaLink="true">http://forums.fogproject.org/post/33542</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Mon, 19 Jan 2015 13:46:53 GMT</pubDate></item></channel></rss>