aalemayhu / pastedrop

secure clipboard across devices for sharing URLs, password, NSFW, etc.
http://pastedrop.co
Apache License 2.0
0 stars 0 forks source link

[server]: setup a signal server #7

Open aalemayhu opened 5 years ago

aalemayhu commented 5 years ago

It should handle all of the bits required by the signal protocol.

Related-to: #6

aalemayhu commented 5 years ago

Can we reuse the code from Signal-Server ?

chan18 commented 5 years ago

what do we need?

minimum requirement for server setup. signal-community-thread-on-minimal-requirement API

to run Signal server you need to create accounts at Twilio, AWS S3, Google Developer and Apple Developer.

edited Twilio - for sms broadcasting no need. alternative we configure first installation through emails. AWS - for documents alternative RDBMS. Google developer - for GCM push notifications no need, based on the signal server implementation we might use push notification. Apple Developer - for APN push notifications

After then you need to install: JRE, Maven, Postgresql, Redis

reference

aalemayhu commented 5 years ago

Is there a way to run the signal server without all of those extra services? Like we don't need the SMS broadcasting stuff, since we will likely be using email for initial setup / account verification. Also no need for AWS since we will be using a separate database probably PostgreSQL. Also no need for push notifications since we can use a pull scheme to generate local notifications that actually look the same for the user.

aalemayhu commented 5 years ago

Are these services pluggable?

aalemayhu commented 5 years ago

Hmm, so rereading the API docs. Signal is using push notifications to send the encrypted message. We need to solve this. My original suggestion above with generating local ones will not work. Misunderstood it earlier.