[8.2] Decrypt string encrypterd via VI.Config.Encryptor.exe

Hi,

is there any option to decrypt string encrypted via VI.Config.Encryptor.exe ?

One Identity 8.2 

Thanks.

  • Hi Pawel,

    When an attribute is encrypted, the only thing that can decrypt is the Job Server service.

    I have done this in the past using a simple process that runs SQLComponent - Execute SQL with result.

    In the parameters you mark the OutValueName as Encrypted.

    In the next step I run ScriptComponent - ScriptExec where I run the script VID_Write2Log passing the second parameter as a reference to the OUT parameter from the first step, also marked as encrypted.  The script will write the decrypted value to the specified log file.

    Of course it depends on what you want to use the decrypted value for.

    If you want to decrypt the value in a DPRSystemVariable in a sync project then you will need to do it slightly differently - I have a script for that.

    HTH, Barry.

  • We have many instances of OI Manager on different hosts. On one host we created Global.cfg file with encrypted value:

    <configuration>
        <category name="connections">
            <value name="database display 1">[B]asdfasdfsadfsad......[B]</value>
        </category>
    </configuration>

    to share DB connection without creating it manually on each host. So we copy it to different hosts and this connection appear as default when we run Manager on each host.

    So my question is if it is safe to keep this connection string, Global.cfg file on SHP or somenone can decrypt it.

    Thanks.

  • Hi Pawel,

    Sorry I misunderstood your question.

    Well, looking at the tool you certainly can't use that to decrypt it as it has no decrypt option.

    I tried using my process to decrypt the value generated by the encryptor and it didn't work.

    I can't say for sure that it's not possible to decrypt the value (whoever wrote the encryptor would need to say) but it doesn't look to be something that can easily be done.

    HTH, Barry.