Can you change $g_crypto_master_salt

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
pregrcl
Posts: 2
Joined: 25 Nov 2020, 10:23

Can you change $g_crypto_master_salt

Post 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
cas
Posts: 1028
Joined: 11 Mar 2006, 16:08
Contact:

Re: Can you change $g_crypto_master_salt

Post by cas »

Think you can but try it out(after backing up current value). :mrgreen:
pregrcl
Posts: 2
Joined: 25 Nov 2020, 10:23

Re: Can you change $g_crypto_master_salt

Post 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
dregad
Developer
Posts: 56
Joined: 26 Jul 2010, 14:24

Re: Can you change $g_crypto_master_salt

Post 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.
Post Reply