Simple command line program to post and fetch messages from / to a deaddrop server
Go to file
belong c6cfa34b11 Initial commit 2021-03-08 18:17:57 +00:00
source Initial commit 2021-03-06 19:46:35 +00:00
.gitignore Initial commit 2021-03-06 19:46:35 +00:00
README.md Initial commit 2021-03-06 19:46:35 +00:00
dub.sdl Initial commit 2021-03-08 18:17:57 +00:00
dub.selections.json Initial commit 2021-03-06 19:46:35 +00:00

README.md

Dropper

The dropper is part the of the deaddrop project.

It is used to post / fetch encrypted messages to / from the drop server.

Required software:

  • dmd
  • dub
  • libsodium

Building

$ git clone http://repourl/dropper.git dropper
$ cd dropper
$ dub build --build=release

Simple usage:

Key generation:

$ ./dropper -w ./key_dir/alice

Sending a message

  • specify the base64 encoded publickey of the recipient with -r
  • load the previously generated keys from disk with -c
  • specify the message to send with -m
  • specify the url of the drop server with -u
$ ./dropper -c ./key_dir/alice -m "Hello Bob" -r "3e51N4....pHI=" -u "http://dropperserver.url"

Getting all messages for a public key:

  • specify that we want to fetch messages with -f
  • load the previously generated keys from disk with -c
$ ./dropper -f -c ./key_dir/bob -u "http://dropperserver.url"