Commit 11f48058 authored by Johan Pascal's avatar Johan Pascal

Fix test server package

+add copyright message on it
parent 25b5e51e
"name": "x3dh_server",
"version": "1.0.0",
"description": "A key management server for X3DH",
"description": "A key management server for X3DH. This server is for testing purpose only and is intended to work with Lime client, an implementation of the signal protocol for linphone.",
"main": "x3dh.js",
"dependencies": {
"rwlock": "^5.0.0",
"sqlite3": "^3.1.13",
"yargs": "^9.0.1"
"yargs": "^9.0.1",
"http-auth": "^3.2.3"
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"author": "Belledonne Communications",
"license": "GNU GPL"
"license": "GPL-3.0"
x3dh node server
author Johan Pascal
copyright Copyright (C) 2017 Belledonne Communications SARL
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <>.
// parse arguments to find port to listen and path to DB
// db path is mandatory
// port default to 25519
......@@ -56,7 +75,7 @@ const yargs = require('yargs')
const https = require('https');
var auth = require('http-auth');
const auth = require('http-auth');
var digest = auth.digest({
realm: "limeTester",
file: yargs.resource_dir+"/"+yargs.passwords
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment