GithubHelp home page GithubHelp logo

msgdrop's Introduction

Name

msgdrop - use ntfy.sh to send encrypted messages

Synopsis

msgdrop send [OPTION] [KEYPAIR] [FILE]...
msgdrop recv [OPTION]
msgdrop genkey [OPTION]

Description

Use ntfy.sh to send and receive encrypted messages using a "random" topic ID.

The topic ID is generated by taking the md5sum of the recipient's public key.

msgdrop send will join all provided FILEs using cat(1) prior to encryption. If no files are provided, standard input is read instead. The message will be broken into chunks in order to keep the individual message within the limits imposed by ntfy.sh.

msgdrop recv reads all unread messages in the topic, decrypts them using your public key, and sends them to standard output.

Options

-d Directory to save keypairs (default: $XDG_CONFIG/msgdrop)

-h Print a help message and exit.

-v Display version information.

send command

-d [DELAY] seconds to delay between successive message chunks (Default = 1).

-l [LENGTH] maximum length of a message chunk. Must be between 50 and 900 (Default = 140).

recv command

-a Read all messages

-k [KEYPAIR] Use a different keypair name than the default. (Default = msgdrop).

genkey command

-k [KEYPAIR] Use a different keypair name than the default. (Default = msgdrop).

Examples

msgdrop send recipient file1 file2

Encrypt the concatenated contents of file and file2 using recipient as the encryption key and topic ID.

echo "Hello world" | msgdrop send recipient

Encrypt the string "Hello world" using recipient as the encryption key and topic ID.

msgdrop recv

Read unread messages, decrypting with your default key.

msgdrop recv -a

Read all messages, using your default key to decrypt.

msgdrop recv -k foo

Read unread messages sent to foo, decrypting with your the foo key.

Encryption

msgdrop requires age and an age(1) keypair to perform the encryption and decryption.

Creating Keypairs

msgdrop genkey [-k KEYPAIR]

Creates a keypair using the default name msgdrop or KEYPAIR.

See Also

age(1), age-keygen(1)

msgdrop's People

Contributors

jbrubake avatar

Stargazers

Philipp C. Heckel avatar

msgdrop's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.