1
0
secret-sender/instances/default/config.json
2024-10-27 04:43:07 +01:00

67 lines
981 B
JSON

{
"servers": [
{
"features": {
"api": false,
"client": true,
"create": true,
"createPath": "/"
},
"http": {
"port": 3080
},
"https": {
"cert": "./cert.crt",
"key": "./cert.key",
"port": 3443
}
},
{
"features": {
"api": true,
"client": false,
"create": true
},
"http": {
"port": 3081
},
"https": {
"cert": "./cert.crt",
"key": "./cert.key",
"port": 3444
}
}
],
"vault": {
"db": {
"type": "file",
"filename": "./vault.json"
},
"crypto": {
"method": "aes-256-gcm",
"key": "Djblt6b8RQ+mQC6/ilpjC6y9bkfUEzkt",
"iv": "dsfnuo3"
},
"publicID": {
"minLength": 37,
"maxLength": 45
},
"otLinkID": {
"minLength": 37,
"maxLength": 45,
"timeout": 360
}
},
"mailer": {
"sender": "Secret Sender <me@domain>",
"server": {
"host": "127.0.0.1",
"port": 25,
"secure": false,
"tls": {
"rejectUnauthorized": false
}
}
}
}