npm

slack-gpg

1.0.0 • Public • Published

slack-gpg

Installation

Add to Slack

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.

Readme

Keywords

none

Package Sidebar

Install

npm i slack-gpg

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • kaplanmaxe