mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
hash password
This commit is contained in:
parent
ef17057f85
commit
715913d564
2 changed files with 42 additions and 0 deletions
21
doc/ADMIN.md
21
doc/ADMIN.md
|
@ -12,6 +12,27 @@ To create a new group, you need to create a `GroupNameExample.json` file and res
|
||||||
|
|
||||||
When Galène is removed, the data directory (`__DATA_DIR__`) is preserved. If you want to remove it along with Galène app, use the `--purge` option: `sudo yunohost app remove galene --purge`.
|
When Galène is removed, the data directory (`__DATA_DIR__`) is preserved. If you want to remove it along with Galène app, use the `--purge` option: `sudo yunohost app remove galene --purge`.
|
||||||
|
|
||||||
|
#### Hashed passwords
|
||||||
|
|
||||||
|
If you don’t wish to store cleartext passwords on the server, you may generate hashed passwords with the galene-password-generator utility:
|
||||||
|
|
||||||
|
`./__INSTALL_DIR__/galene-password-generator your_password`
|
||||||
|
|
||||||
|
|
||||||
|
A user entry with a hashed password looks like this:
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"username": "jch",
|
||||||
|
"password": {
|
||||||
|
"type": "pbkdf2",
|
||||||
|
"hash": "sha-256",
|
||||||
|
"key": "f591c35604e6aef572851d9c3543c812566b032b6dc083c81edd15cc24449913",
|
||||||
|
"salt": "92bff2ace56fe38f",
|
||||||
|
"iterations": 4096
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Configuring your TURN server
|
### Configuring your TURN server
|
||||||
|
|
||||||
#### Using *Galène*'s internal TURN server
|
#### Using *Galène*'s internal TURN server
|
||||||
|
|
|
@ -12,6 +12,27 @@ Pour créer un nouveau groupe, vous devez créer un fichier `GroupNameExample.js
|
||||||
|
|
||||||
Lorsque Galène est supprimé, le répertoire de données (`__DATA_DIR__`) est conservé. Si vous souhaitez le supprimer avec l'application Galène, utilisez l'option `--purge` : `sudo yunohost app remove galene --purge`.
|
Lorsque Galène est supprimé, le répertoire de données (`__DATA_DIR__`) est conservé. Si vous souhaitez le supprimer avec l'application Galène, utilisez l'option `--purge` : `sudo yunohost app remove galene --purge`.
|
||||||
|
|
||||||
|
#### Mots de passe hachés
|
||||||
|
|
||||||
|
Si vous ne souhaitez pas stocker les mots de passe en clair sur le serveur, vous pouvez générer des mots de passe hachés avec l'utilitaire galene-password-generator :
|
||||||
|
|
||||||
|
`./__INSTALL_DIR__/galene-password-generator votre_mot_de_passe`
|
||||||
|
|
||||||
|
Une entrée utilisateur avec un mot de passe haché ressemble à ceci :
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"username": "jch",
|
||||||
|
"password": {
|
||||||
|
"type": "pbkdf2",
|
||||||
|
"hash": "sha-256",
|
||||||
|
"key": "f591c35604e6aef572851d9c3543c812566b032b6dc083c81edd15cc24449913",
|
||||||
|
"salt": "92bff2ace56fe38f",
|
||||||
|
"iterations": 4096
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Configurer votre serveur TURN
|
### Configurer votre serveur TURN
|
||||||
|
|
||||||
#### Utilisation du serveur TURN de *Galène*
|
#### Utilisation du serveur TURN de *Galène*
|
||||||
|
|
Loading…
Add table
Reference in a new issue