This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I'm using the HTML GUI SDK to save persistent password fields. It seems that on the back-end, Alteryx encrypts the values the user enters in when it saves them in its XML format. From the Python SDK, the pi_init() method gets a string representation of this XML file, however I don't seem to see a way on how to decrypt these fields, I'm only able to access their encrypted form but this is not useful to me. Is there an API method that I'm missing?
Good Morning Elatt,
Thank you so much for posting this point - really great find.
I will look into this today and get back to you by tomorrow.
You're not missing the API method--the API method is missing. :) Looks like we forgot to add the method to the SDK that lets you decrypt the passwords that you pull in from the pi_init XML.
Do you have an estimate as to when a solution will be made available?
Thank you again for bringing this to our attention @elatt.
Unfortunately at this time, we do not have an estimated time for releasing a solution - until then, it will be the responsibility of each developer to handle encryption/decryption as they need. Apologies for the delay and any inconvenience this has caused. Thank you for the feedback!
You're on the right track! Though, the encryption by the UISDK actually has a little detail you're missing: It encrypts twice. Have a go at decrypting twice through it, and you should get what you're looking for!
Let me know if that doesn't work, just decrypt the value, then decrypt the result it gives you there, and you should have the original source then.