All Projects → etesync → Server

etesync / Server

Licence: agpl-3.0
The Etebase server (so you can run your own)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Server

Android
EteSync - Secure, end-to-end encrypted, and privacy respecting sync for your contacts, calendars and tasks.
Stars: ✭ 184 (-77.72%)
Mutual labels:  synchronization, encryption, end-to-end-encryption
Etebase Js
Etebase TypeScript API for the web, node and react-native!
Stars: ✭ 100 (-87.89%)
Mutual labels:  synchronization, encryption, end-to-end-encryption
Megasync
Easy automated syncing between your computers and your MEGA Cloud Drive
Stars: ✭ 975 (+18.04%)
Mutual labels:  synchronization, end-to-end-encryption
Etesync Web
An EteSync web client
Stars: ✭ 183 (-77.85%)
Mutual labels:  synchronization, encryption
SilentNotes
SilentNotes is a simple note taking app which respects your privacy.
Stars: ✭ 98 (-88.14%)
Mutual labels:  synchronization, end-to-end-encryption
Peertransfer
📦 • Send a file p2p and e2e encrypted in your browser using WebRTC.
Stars: ✭ 238 (-71.19%)
Mutual labels:  encryption, end-to-end-encryption
Seven23 server
Fully manual budget app to track your expenses. Opensource, with privacy by design.
Stars: ✭ 20 (-97.58%)
Mutual labels:  django, end-to-end-encryption
ios
EteSync - Secure, end-to-end encrypted, and privacy respecting sync for your contacts, calendars and tasks.
Stars: ✭ 40 (-95.16%)
Mutual labels:  synchronization, end-to-end-encryption
Brandis
Brandis: End-to-end encryption for everyone
Stars: ✭ 77 (-90.68%)
Mutual labels:  encryption, end-to-end-encryption
virgil-sdk-cpp
Virgil Core SDK allows developers to get up and running with Virgil Cards Service API quickly and add end-to-end security to their new or existing digital solutions to become HIPAA and GDPR compliant and more.
Stars: ✭ 18 (-97.82%)
Mutual labels:  encryption, end-to-end-encryption
wormhole-william-mobile
End-to-end encrypted file transfer for Android. An Android Magic Wormhole client.
Stars: ✭ 57 (-93.1%)
Mutual labels:  encryption, end-to-end-encryption
etesync-notes
An EteSync backed note taking app
Stars: ✭ 64 (-92.25%)
Mutual labels:  encryption, end-to-end-encryption
End to end encryption
🔐 Server API to support End-to-End Encryption
Stars: ✭ 155 (-81.23%)
Mutual labels:  encryption, end-to-end-encryption
Demo Twilio Backend Nodejs
A sample backend that demonstrates how to generate a Virgil JWT and Twilio token used for authentication with the Virgil and Twilio services
Stars: ✭ 128 (-84.5%)
Mutual labels:  encryption, end-to-end-encryption
Etebase Rs
A Rust client library for Etebase
Stars: ✭ 78 (-90.56%)
Mutual labels:  encryption, end-to-end-encryption
Darkwire.io
End-to-end encrypted instant web chat
Stars: ✭ 594 (-28.09%)
Mutual labels:  encryption, end-to-end-encryption
Virgil Crypto Php
Virgil PHP Crypto Library is a high-level cryptographic library that allows you to perform all necessary operations for secure storing and transferring data and everything required to become HIPAA and GDPR compliant.
Stars: ✭ 22 (-97.34%)
Mutual labels:  encryption, end-to-end-encryption
virgil-sdk-net
Virgil Core SDK allows developers to get up and running with Virgil Cards Service API quickly and add end-to-end security to their new or existing digital solutions to become HIPAA and GDPR compliant and more.
Stars: ✭ 16 (-98.06%)
Mutual labels:  encryption, end-to-end-encryption
Wormhole William
End-to-end encrypted file transfer. A magic wormhole CLI and API in Go (golang).
Stars: ✭ 256 (-69.01%)
Mutual labels:  encryption, end-to-end-encryption
Acra
Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. Supports client-side and proxy-side ("transparent") encryption. SQL, NoSQL.
Stars: ✭ 726 (-12.11%)
Mutual labels:  django, encryption

Etebase - Encrypt Everything

An Etebase (EteSync 2.0) server so you can run your own.

Chat with us

Installation

Requirements

Etebase requires Python 3.7 or newer and has a few Python dependencies (listed in requirements.in/base.txt).

From source

Before installing the Etebase server make sure you install virtualenv (for Python 3):

  • Arch Linux: pacman -S python-virtualenv
  • Debian/Ubuntu: apt-get install python3-virtualenv
  • Mac/Windows (WSL)/Other Linux: install virtualenv or just skip the instructions mentioning virtualenv.

Then just clone the git repo and set up this app:

git clone https://github.com/etesync/server.git etebase

cd etebase

# Set up the environment and deps
virtualenv -p python3 .venv  # If doesn't work, try: virtualenv3 .venv
source .venv/bin/activate

pip install -r requirements.txt

Configuration

If you are familiar with Django you can just edit the settings file according to the Django deployment checklist. If you are not, we also provide a simple configuration file for easy deployment which you can use. To use the easy configuration file rename it to etebase-server.ini and place it either at the root of this repository or in /etc/etebase-server.

There is also a wikipage detailing this basic setup.

Some particular settings that should be edited are:

  • ALLOWED_HOSTS -- this is the list of host/domain names or addresses on which the app will be served. For example: etebase.example.com
  • DEBUG -- handy for debugging, set to False for production
  • MEDIA_ROOT -- the path to the directory that will hold user data.
  • SECRET_KEY -- an ephemeral secret used for various cryptographic signing and token generation purposes. See below for how default configuration of SECRET_KEY works for this project.

Now you can initialise our django app.

./manage.py migrate

And you are done! You can now run the debug server just to see everything works as expected by running:

uvicorn etebase_server.asgi:application --host 0.0.0.0 --port 8000

Using the debug server in production is not recommended, so please read the following section for a proper deployment.

Production deployment

There are more details about a proper production setup using uvicorn and Nginx in the wiki.

The webserver should also be configured to serve Etebase using TLS. A guide for doing so can be found in the wiki as well.

The Etebase server needs to be aware of the URL it's been served as, so make sure to forward the Host header to the server if using a reverse proxy. For example, you would need to use the following directive in nginx: proxy_set_header Host $host;.

Data locations and backups

The server stores user data in two different locations that need to be backed up:

  1. The database - how to backup depends on which database you use.
  2. The MEDIA_ROOT - the path where user data is stored.

Usage

Create yourself an admin user:

./manage.py createsuperuser

At this stage you need to create accounts to be used with the EteSync apps. To do that, please go to: www.your-etesync-install.com/admin and create a new user to be used with the service. No need to set a password, as Etebase uses a zero-knowledge proof for authentication, so the user will just create a password when creating the account from the apps.

After this user has been created, you can use any of the EteSync apps to signup (or login) with the same username and email in order to set up the account. The password used at that point will be used to setup the account. Don't forget to set your custom server address under "Advanced".

SECRET_KEY and secret.txt

The default configuration creates a file “secret.txt” in the project’s base directory, which is used as the value of the Django SECRET_KEY setting. You can revoke this key by deleting the secret.txt file and the next time the app is run, a new one will be generated. Make sure you keep the secret.txt file secret (don’t accidentally commit it to version control, exclude it from your backups, etc.). If you want to change to a more secure system for storing secrets, edit etesync_server/settings.py and implement your own method for setting SECRET_KEY (remove the line where it uses the get_secret_from_file function). Read the Django docs for more information about the SECRET_KEY and its uses.

Updating

Updating from version 0.5.0 onwards

First, run git pull --rebase to update this repository. Then, inside the virtualenv:

  1. Run pip install -U -r requirements.txt to update the dependencies.
  2. Run python manage.py migrate to perform database migrations.

You can now restart the server.

Updating from version 0.5.0 or before

The 0.5.0 release marks the change to the EteSync 2.0 protocol. EteSync 2.0 accounts are substantially different to 1.0 accounts, and require additional upgrade steps. In addition, the servers are incompatible, so 0.5.0 requires a fresh installation.

Here are the update steps:

  1. Chose any of the the migration tools and make sure the underlying apps are up to date with all of your data. So for example, if you are using the Android client, make sure to sync before commencing.
  2. Install the 0.5.0 version to a new path (you can't reuse the same database).
  3. Run the 0.5.0 account and create the appropriate users as described in the installation/upgrade steps above.
  4. Run the migration tool to migrate all of your data.
  5. Add your new EteSync 2.0 accounts to all of your devices.

License

Etebase is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation. See the LICENSE for more information.

A quick summary can be found on tldrlegal. Though in even simpler terms (not part of the license, and not legal advice): you can use it in however way you want, including self-hosting and commercial offerings as long as you release the code to any modifications you have made to the server software (clients are not affected).

Commercial licensing

For commercial licensing options, contact [email protected]

Financially Supporting Etebase

Please consider registering an account even if you self-host in order to support the development of Etebase, or visit the contribution for more information on how to support the service.

Become a financial contributor and help us sustain our community!

Contributors ($10 / month)

ilovept ryanleesipes

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].