Mode de cryptage des mots de passe sur OWNCLOUD
Résolu/Fermé
A voir également:
- Mode de cryptage des mots de passe sur OWNCLOUD
- Trousseau mot de passe iphone - Guide
- Voir mot de passe wifi android - Guide
- Mot de passe - Guide
- Mot de passe administrateur - Guide
- Identifiant et mot de passe - Guide
1 réponse
Zerrax_Dev
Messages postés
25
Date d'inscription
dimanche 12 avril 2015
Statut
Membre
Dernière intervention
12 avril 2015
8
12 avril 2015 à 21:27
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.
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.
12 avril 2015 à 21:41