1.0.0 • Published 7 years ago

slack-gpg v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

slack-gpg

Installation

About

Send PGP encrypted messages via Slack!

This is a proof-of-concept right now. The slack commands will encrypt your message for you. Once the encrypted message is sent back to you, you will then need to copy and paste the text to the recipient.

In this code base, the plain text message from the command is never stored in a database.

Usage

The key must be imported before attempting to encrypt with it.

/gpg-import [key-id] (Pulls from pgpkeys.mit.edu)
/gpg-encrypt [message] [key-id]

Examples

/gpg-import 12345678
/gpg-encrypt "this is an encrypted message" 12345678

Decryption

To decrypt a message, copy the encrypted text. On your local computer run:

echo "PGP_ENCRYPTED_TEXT" | gpg --decrypt

What's next?

  • Encrypt with multiple keys
  • Pass slack username and match key to username.
  • Figure out a way to send the message via the slack command to the current open chat window.