You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Lionel Djeukam <li...@gmail.com> on 2015/03/14 21:28:29 UTC

Add own password encryption algorithm

Hello,

please can you provide me the steps to add my own password encryption class?
Procedure on http://openmeetings.apache.org/CustomCryptMechanism.html to do
so, is not clear for me.

Thanks in advance.

Lionel

--

Re: Add own password encryption algorithm

Posted by Maxim Solodovnik <so...@gmail.com>.
User.java

WBR, Maxim
(from mobile, sorry for the typos)
On Mar 16, 2015 6:41 PM, "Lionel Djeukam" <li...@gmail.com> wrote:

> okay thanks.
> Please which file should i modify if i want to add a new field (or column)
> to the table "om_user" during the installation of AOM?
>
> 2015-03-16 12:23 GMT+01:00 Maxim Solodovnik <so...@gmail.com>:
>
>> will try to check this ASAP
>>
>> On Mon, Mar 16, 2015 at 4:14 PM, Lionel Djeukam <li...@gmail.com>
>> wrote:
>>
>>> Hello Maxim,
>>>
>>> thanks for the information.
>>> I actually have reinstalled Openmeeting and chose MD5CryptImplementation
>>> for the password-storage.
>>> But after successfull installation, i can't logon with the admin account.
>>> I made the test twice, so i think there is a problem with password
>>> verification, when MD5Crypt is used.
>>>
>>> I also check the databse entry and the hash from my password is there.
>>> It's begin with $1$. But somehow my password cannot be validated.
>>>
>>> Lionel
>>>
>>> 2015-03-16 9:08 GMT+01:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> Hello Lionel,
>>>>
>>>> I have updated documentation with "up to date names"
>>>> There are currently 2 ready to use password encryption classes:
>>>> 1) simple MD5: [1]
>>>> 2) salted MD5 [2]
>>>>
>>>> in second case salt is stored in the password field using "$" delimiter
>>>>
>>>> activatehash is being used in case self registering is enabled on
>>>> server and users must verify their email by "activating accounts"
>>>>
>>>>
>>>> [1]
>>>> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
>>>> [2]
>>>> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5CryptImplementation.java
>>>>
>>>> On Sun, Mar 15, 2015 at 4:07 AM, Lionel Djeukam <lio.djomatch@gmail.com
>>>> > wrote:
>>>>
>>>>> In addition to my last question.
>>>>> What is the use of the feld "activatehash" in the databse?
>>>>> I remark that, this countain a value only for the administrator
>>>>> account and for the other users nothing.
>>>>>
>>>>> The think is, i want to store a salt for each user in the database and
>>>>> use it to generate may hash-value.
>>>>>
>>>>>
>>>>> 2015-03-14 21:28 GMT+01:00 Lionel Djeukam <li...@gmail.com>:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> please can you provide me the steps to add my own password encryption
>>>>>> class?
>>>>>> Procedure on http://openmeetings.apache.org/CustomCryptMechanism.html
>>>>>> to do so, is not clear for me.
>>>>>>
>>>>>> Thanks in advance.
>>>>>>
>>>>>> Lionel
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
>
>

Re: Add own password encryption algorithm

Posted by Lionel Djeukam <li...@gmail.com>.
okay thanks.
Please which file should i modify if i want to add a new field (or column)
to the table "om_user" during the installation of AOM?

2015-03-16 12:23 GMT+01:00 Maxim Solodovnik <so...@gmail.com>:

> will try to check this ASAP
>
> On Mon, Mar 16, 2015 at 4:14 PM, Lionel Djeukam <li...@gmail.com>
> wrote:
>
>> Hello Maxim,
>>
>> thanks for the information.
>> I actually have reinstalled Openmeeting and chose MD5CryptImplementation
>> for the password-storage.
>> But after successfull installation, i can't logon with the admin account.
>> I made the test twice, so i think there is a problem with password
>> verification, when MD5Crypt is used.
>>
>> I also check the databse entry and the hash from my password is there.
>> It's begin with $1$. But somehow my password cannot be validated.
>>
>> Lionel
>>
>> 2015-03-16 9:08 GMT+01:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> Hello Lionel,
>>>
>>> I have updated documentation with "up to date names"
>>> There are currently 2 ready to use password encryption classes:
>>> 1) simple MD5: [1]
>>> 2) salted MD5 [2]
>>>
>>> in second case salt is stored in the password field using "$" delimiter
>>>
>>> activatehash is being used in case self registering is enabled on server
>>> and users must verify their email by "activating accounts"
>>>
>>>
>>> [1]
>>> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
>>> [2]
>>> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5CryptImplementation.java
>>>
>>> On Sun, Mar 15, 2015 at 4:07 AM, Lionel Djeukam <li...@gmail.com>
>>> wrote:
>>>
>>>> In addition to my last question.
>>>> What is the use of the feld "activatehash" in the databse?
>>>> I remark that, this countain a value only for the administrator account
>>>> and for the other users nothing.
>>>>
>>>> The think is, i want to store a salt for each user in the database and
>>>> use it to generate may hash-value.
>>>>
>>>>
>>>> 2015-03-14 21:28 GMT+01:00 Lionel Djeukam <li...@gmail.com>:
>>>>
>>>>> Hello,
>>>>>
>>>>> please can you provide me the steps to add my own password encryption
>>>>> class?
>>>>> Procedure on http://openmeetings.apache.org/CustomCryptMechanism.html
>>>>> to do so, is not clear for me.
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> Lionel
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>



--

Re: Add own password encryption algorithm

Posted by Maxim Solodovnik <so...@gmail.com>.
will try to check this ASAP

On Mon, Mar 16, 2015 at 4:14 PM, Lionel Djeukam <li...@gmail.com>
wrote:

> Hello Maxim,
>
> thanks for the information.
> I actually have reinstalled Openmeeting and chose MD5CryptImplementation
> for the password-storage.
> But after successfull installation, i can't logon with the admin account.
> I made the test twice, so i think there is a problem with password
> verification, when MD5Crypt is used.
>
> I also check the databse entry and the hash from my password is there.
> It's begin with $1$. But somehow my password cannot be validated.
>
> Lionel
>
> 2015-03-16 9:08 GMT+01:00 Maxim Solodovnik <so...@gmail.com>:
>
>> Hello Lionel,
>>
>> I have updated documentation with "up to date names"
>> There are currently 2 ready to use password encryption classes:
>> 1) simple MD5: [1]
>> 2) salted MD5 [2]
>>
>> in second case salt is stored in the password field using "$" delimiter
>>
>> activatehash is being used in case self registering is enabled on server
>> and users must verify their email by "activating accounts"
>>
>>
>> [1]
>> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
>> [2]
>> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5CryptImplementation.java
>>
>> On Sun, Mar 15, 2015 at 4:07 AM, Lionel Djeukam <li...@gmail.com>
>> wrote:
>>
>>> In addition to my last question.
>>> What is the use of the feld "activatehash" in the databse?
>>> I remark that, this countain a value only for the administrator account
>>> and for the other users nothing.
>>>
>>> The think is, i want to store a salt for each user in the database and
>>> use it to generate may hash-value.
>>>
>>>
>>> 2015-03-14 21:28 GMT+01:00 Lionel Djeukam <li...@gmail.com>:
>>>
>>>> Hello,
>>>>
>>>> please can you provide me the steps to add my own password encryption
>>>> class?
>>>> Procedure on http://openmeetings.apache.org/CustomCryptMechanism.html
>>>> to do so, is not clear for me.
>>>>
>>>> Thanks in advance.
>>>>
>>>> Lionel
>>>>
>>>> --
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
>
>


-- 
WBR
Maxim aka solomax

Re: Add own password encryption algorithm

Posted by Lionel Djeukam <li...@gmail.com>.
Hello Maxim,

thanks for the information.
I actually have reinstalled Openmeeting and chose MD5CryptImplementation
for the password-storage.
But after successfull installation, i can't logon with the admin account.
I made the test twice, so i think there is a problem with password
verification, when MD5Crypt is used.

I also check the databse entry and the hash from my password is there. It's
begin with $1$. But somehow my password cannot be validated.

Lionel

2015-03-16 9:08 GMT+01:00 Maxim Solodovnik <so...@gmail.com>:

> Hello Lionel,
>
> I have updated documentation with "up to date names"
> There are currently 2 ready to use password encryption classes:
> 1) simple MD5: [1]
> 2) salted MD5 [2]
>
> in second case salt is stored in the password field using "$" delimiter
>
> activatehash is being used in case self registering is enabled on server
> and users must verify their email by "activating accounts"
>
>
> [1]
> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
> [2]
> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5CryptImplementation.java
>
> On Sun, Mar 15, 2015 at 4:07 AM, Lionel Djeukam <li...@gmail.com>
> wrote:
>
>> In addition to my last question.
>> What is the use of the feld "activatehash" in the databse?
>> I remark that, this countain a value only for the administrator account
>> and for the other users nothing.
>>
>> The think is, i want to store a salt for each user in the database and
>> use it to generate may hash-value.
>>
>>
>> 2015-03-14 21:28 GMT+01:00 Lionel Djeukam <li...@gmail.com>:
>>
>>> Hello,
>>>
>>> please can you provide me the steps to add my own password encryption
>>> class?
>>> Procedure on http://openmeetings.apache.org/CustomCryptMechanism.html
>>> to do so, is not clear for me.
>>>
>>> Thanks in advance.
>>>
>>> Lionel
>>>
>>> --
>>>
>>>
>>
>>
>> --
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>



--

Re: Add own password encryption algorithm

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Lionel,

I have updated documentation with "up to date names"
There are currently 2 ready to use password encryption classes:
1) simple MD5: [1]
2) salted MD5 [2]

in second case salt is stored in the password field using "$" delimiter

activatehash is being used in case self registering is enabled on server
and users must verify their email by "activating accounts"


[1]
https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
[2]
https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/src/util/java/org/apache/openmeetings/util/crypt/MD5CryptImplementation.java

On Sun, Mar 15, 2015 at 4:07 AM, Lionel Djeukam <li...@gmail.com>
wrote:

> In addition to my last question.
> What is the use of the feld "activatehash" in the databse?
> I remark that, this countain a value only for the administrator account
> and for the other users nothing.
>
> The think is, i want to store a salt for each user in the database and use
> it to generate may hash-value.
>
>
> 2015-03-14 21:28 GMT+01:00 Lionel Djeukam <li...@gmail.com>:
>
>> Hello,
>>
>> please can you provide me the steps to add my own password encryption
>> class?
>> Procedure on http://openmeetings.apache.org/CustomCryptMechanism.html to
>> do so, is not clear for me.
>>
>> Thanks in advance.
>>
>> Lionel
>>
>> --
>>
>>
>
>
> --
>
>


-- 
WBR
Maxim aka solomax

Re: Add own password encryption algorithm

Posted by Lionel Djeukam <li...@gmail.com>.
In addition to my last question.
What is the use of the feld "activatehash" in the databse?
I remark that, this countain a value only for the administrator account and
for the other users nothing.

The think is, i want to store a salt for each user in the database and use
it to generate may hash-value.


2015-03-14 21:28 GMT+01:00 Lionel Djeukam <li...@gmail.com>:

> Hello,
>
> please can you provide me the steps to add my own password encryption
> class?
> Procedure on http://openmeetings.apache.org/CustomCryptMechanism.html to
> do so, is not clear for me.
>
> Thanks in advance.
>
> Lionel
>
> --
>
>


--