Page 1 of 1

Can you change $g_crypto_master_salt

Posted: 25 Nov 2020, 10:28
by pregrcl
Hello all

I am taking over an exsiting Mantis Installation from a different server and i wonder if it is ok to set a new value for $g_crypto_master_salt
The current value is known to the old admin and i'd like to change it, if possible.

If i change it, will something no longer work?

Best Regards

Re: Can you change $g_crypto_master_salt

Posted: 25 Nov 2020, 11:33
by cas
Think you can but try it out(after backing up current value). :mrgreen:

Re: Can you change $g_crypto_master_salt

Posted: 25 Nov 2020, 12:28
by pregrcl
i tried on a fresh installation and was still able to log in. however it's a bit spooky, i do not know what it is used for in detail and find no info if it can be changed. The Docs just say it's "very important and must be kept in a safe place".

I don't want to wind up in a bad situation, so for the moment i will keep the existing value

Re: Can you change $g_crypto_master_salt

Posted: 30 Nov 2020, 16:04
by dregad
$g_crypto_master_salt is used internally to generate strings such as passwords, API keys, confirmation hashes, etc.

You can safely change it.