You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2009/11/10 12:14:37 UTC

Encrypting password

Hi,

I looked for a service to encrypt some passwords. I guess there is nothing OOTB. Have someone something ready ? Else I may create 
something crude, or maybe enhance import data to allow encrypting password...

Thanks

Jacques 



Re: Encrypting password

Posted by Jacques Le Roux <ja...@les7arts.com>.
Done at r882892

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
> Sorry I was not clear, inline...
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>> Hi,
>>
>> I move this thread from user ML.
>>
>> I found EncryptPassword class in debian, but finally decided to generalize from my need.
>> So I introduced a EncryptedString type Record.setString() as there is already NullTerminatedString.
>
> So I introduced a "EncryptedString" type in Record.setString() as there is already NullTerminatedString.
>
>> But then I wondered if I should not better introduce a format="EncryptedString" than a type="EncryptedString" since it's actually 
>> a plain string that I pass and I get and encrypted string outside
>> Then I would use rater type='String" format="EncryptedString"
>
> Then I would use rater type='String" format="EncryptedString" in the "Definition Filename" at 
> https://localhost:8443/webtools/control/viewdatafile
>
> So the question is: Should I better introdure the type="EncryptedString" or format="EncryptedString" for the type='String"  in 
> datafiles.xsd
>
> Hope it's more clear.
>
> Jacques
>
>> What to you think ?
>>
>> Thanks
>>
>> Jacques
>>
>> From: "Jacques Le Roux" <ja...@les7arts.com>
>> To: <us...@ofbiz.apache.org>
>>> Hi,
>>>
>>> I looked for a service to encrypt some passwords. I guess there is nothing OOTB. Have someone something ready ? Else I may 
>>> create something crude, or maybe enhance import data to allow encrypting password...
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>
>>
>
> 



Re: Encrypting password

Posted by Jacques Le Roux <ja...@les7arts.com>.
Sorry I was not clear, inline...

From: "Jacques Le Roux" <ja...@les7arts.com>
> Hi,
>
> I move this thread from user ML.
>
> I found EncryptPassword class in debian, but finally decided to generalize from my need.
> So I introduced a EncryptedString type Record.setString() as there is already NullTerminatedString.

So I introduced a "EncryptedString" type in Record.setString() as there is already NullTerminatedString.

> But then I wondered if I should not better introduce a format="EncryptedString" than a type="EncryptedString" since it's actually 
> a plain string that I pass and I get and encrypted string outside
> Then I would use rater type='String" format="EncryptedString"

Then I would use rater type='String" format="EncryptedString" in the "Definition Filename" at 
https://localhost:8443/webtools/control/viewdatafile

So the question is: Should I better introdure the type="EncryptedString" or format="EncryptedString" for the type='String"  in 
datafiles.xsd

Hope it's more clear.

Jacques

> What to you think ?
>
> Thanks
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
> To: <us...@ofbiz.apache.org>
>> Hi,
>>
>> I looked for a service to encrypt some passwords. I guess there is nothing OOTB. Have someone something ready ? Else I may create 
>> something crude, or maybe enhance import data to allow encrypting password...
>>
>> Thanks
>>
>> Jacques
>>
>
> 



Re: Encrypting password

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi,

I move this thread from user ML.

I found EncryptPassword class in debian, but finally decided to generalize from my need.
So I introduced a EncryptedString type Record.setString() as there is already NullTerminatedString.
But then I wondered if I should not better introduce a format="EncryptedString" than a type="EncryptedString" since it's actually a 
plain string that I pass and I get and encrypted string outside
Then I would use rater type='String" format="EncryptedString"

What to you think ?

Thanks

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
To: <us...@ofbiz.apache.org>
> Hi,
>
> I looked for a service to encrypt some passwords. I guess there is nothing OOTB. Have someone something ready ? Else I may create 
> something crude, or maybe enhance import data to allow encrypting password...
>
> Thanks
>
> Jacques
>