Mode de cryptage des mots de passe sur OWNCLOUD

Résolu/Fermé
TJ_ - 12 avril 2015 à 21:24
 TJ_ - 12 avril 2015 à 21:41
Bonjour,
Je suis en train de créer un système de cloud base sur ownCloud.
Je dois faire une page d'inscription! Mais il me faut savoir comment les mots de passes son crypter sous ownCloud.
vous etez mes sauveurs !?
Si vous avez des questions je suis là !
Merci d'avance.
A voir également:

1 réponse

Zerrax_Dev Messages postés 24 Date d'inscription dimanche 12 avril 2015 Statut Membre Dernière intervention 12 avril 2015 8
12 avril 2015 à 21:27
salut
https://forum.owncloud.org/viewtopic.php?f=3&t=2858
Hi,

I tried a similar solution. I have a Java program to manage users.
Therefore I had the same problem. OwnCloud uses a third party framework called phpass to encrypt/hash the password.
My attempt to implement this code in Java failed so far.
I think previous version used SHA-1 hashing so there are still code that accept this.

You can hash your password with SHA-1 and when you log in the first time the password will be automatically converted in phpass format with a salted blowfish encryption.

I hope this is not wrong. There are probably better solutions but it works for me.

Nevertheless I will appreciate If someone can give a hint to implement the phpass code directly.
1
Merci ça fonctionne !
0