Hi,
Was wondering if anyone can shed some light on how OTRS encrypts passwords stored in the database?
And is there a simple way to change this?
Thanks
How are passwords Encrypted?
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How are passwords Encrypted?
http://source.otrs.org/viewvc.cgi/otrs/ ... iew=markup (start at around line 72)
$Self->{ConfigObject}->Get('AuthModule::DB::CryptType') (md5, sha1, sha2, plain?) (Default? md5...?)
http://source.otrs.org/viewvc.cgi/otrs/ ... iew=markup
since this isn't actually *assigned* here, it's likely to also be in the SysConfig:
Customer::AuthModule::DB::CryptType
Default value: MD5-Crypt
If "DB" was selected for Customer::AuthModule, the crypt type of passwords must be specified. I don't know why we can't change the admin authmodule the same way, but if you put the uncommented line in Config.pm, ...
$Self->{ConfigObject}->Get('AuthModule::DB::CryptType') (md5, sha1, sha2, plain?) (Default? md5...?)
http://source.otrs.org/viewvc.cgi/otrs/ ... iew=markup
Code: Select all
342 # This is the auth. module againt the otrs db
343 $Self->{AuthModule} = 'Kernel::System::Auth::DB';
344
345 # password crypt type (sha2|sha1|md5|crypt|plain)
346 # $Self->{'AuthModule::DB::CryptType'} = 'md5';
Customer::AuthModule::DB::CryptType
Default value: MD5-Crypt
If "DB" was selected for Customer::AuthModule, the crypt type of passwords must be specified. I don't know why we can't change the admin authmodule the same way, but if you put the uncommented line in Config.pm, ...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: How are passwords Encrypted?
Thanks for that... its helped no end with my integration.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How are passwords Encrypted?
If you have specific questions that might help someone reply with something that can help you, please post.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask