2014-10-29 16:31 GMT+01:00 Eric Cassette <[email protected]>:

>  Clement,
>
> Thanks for the answer.
>
> But the key file that is randomly generated by the java method
> "org.lsc.utils.security.SymmetricEncryption" has a size of 24 bytes. Is
> this size mandatory ? Does it mean that I must choose a passphrase with a
> length of 24 characters ? Or does it mean that, in the "lsc.key", only the
> first 16 bytes are useful and that the 8 other bytes are padding ?
>
>

Well, I don't know the answer, maybe another LSC dev can give you the
information.




> I ask this, because I thought that the length of the passphrase for an AES
> 128bits symmetrical encryption was 16 bytes, and because I tried your
> suggestion before asking to the mail-list (with a 16 bytes lsc.key file),
> and that the result of the encryption by the LSC task has not be the same
> as the result obtained by the OpenLDAP people with a Perl script and some
> CPAN Crypt add-ons.
>
> To resume, let's say that before saying to the OpenLDAP people that they
> probably have made a mistake, I must be certain that the mistake does not
> come from me ;-)))
>
>

You can find here a Perl script that can be used with LSC encrypted values
:
http://tools.lsc-project.org/projects/lsc/repository/entry/lsc/trunk/bin/passwordhk.pl


Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to