Skip to content
This repository was archived by the owner on Mar 3, 2018. It is now read-only.

soteriapass/server

Repository files navigation

Dependencies

Installation

  • Install all of the dependencies (documentation to come in the future)

gRpc and Protocol Buffers

 $ git clone -b $(curl -L http://grpc.io/release) https://github.com/grpc/grpc
 $ cd grpc
 $ git submodule update --init
 $ make
 $ [sudo] make install

Soteria Pass server

Build from sources

The first part is to build from sources

 $ git clone https://github.com/soteriapass/server
 $ git submodule update --init --recursive
 $ cd src/
 $ make
 $ [sudo] make install

Key and certificate creation using easy-rsa

After this, we will need to configure the server. We will need to generate encryption keys and server certificates. We will accompish this using easy-rsa.

 $ git clone -b release/2.x https://github.com/soteriapass/easy-rsa
 $ cd easy-rsa/easy-rsa/2.0/

Variable configuration (optional)

!No longer valid with easy-rsa 3

This step is optional, but it does allow you to configure the default values for the certificate creation to ensure that they are consistent.

 $ cp ./easyrsa3/vars.example ./easyrsa3/vars
 $ vim ./easyrsa3/vars

We want to modify all of the "KEY_" variables, which should be located at the bottom of the file. The variables names are easy enough to understand. Once the "vars" are all completed, you should have something resembling this:

export KEY_COUNTRY="US"
export KEY_PROVINCE="NY"
export KEY_CITY="New York"
export KEY_ORG="Organization Name"
export KEY_EMAIL="administrator@example.com"
export KEY_CN=droplet.example.com
export KEY_NAME=server
export KEY_OU=server

Easy-RSA basic setup

 $ cd ./easyrsa3
 $ ./easyrsa init-pki
 $ ./easyrsa build-ca

Certificate Authority setup

We can now build our certificate authority (CA for short), based on the information provided in the vars file

 $ source ./vars
 $ ./clean-all
 $ ./build-ca

Supported platforms

The current supported OS is Linux. Window support planned for the future.

Cryptography Notice

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

License

The main license for this project is the GPLv3 - https://github.com/devgeeks/Encryptr/blob/master/LICENSE

Certain parts of this distribution is licensed under the Apache License http://www.apache.org/licenses/LICENSE-2.0

About

The core server for the backend of the system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published