encrypting config files

edited February 2011 in Help request
hey,
in the wiki(http://orx-project.org/wiki/en/orx/config/encryption) you write that, when encrypting the main config file you should call orxConfig_SetEncryptionKey before initializing ORX. However this will fail, as soon as ORX tries to allocate memory when duplicating the given password string because ORX was not yet initialized.
so what is the way to encrypt the main config file?

Comments

  • edited February 2011
    Nice find. It's due to a change I made at some point after writing the wiki page. I'll fix that tonight.
  • edited February 2011
    Done! Let me know if it works.
  • edited February 2011
    yep it works, now. thanks!
  • edited February 2011
    Good! I did that change quite some time ago, I guess no one was really using a custom encryption key till now. ;)
  • edited February 2011
    well atleast not the main config file ;)
Sign In or Register to comment.