An open API service indexing awesome lists of open source software.

https://github.com/kaplanmaxe/slack-pgp

Send PGP encrypted messages from Slack!
https://github.com/kaplanmaxe/slack-pgp

Last synced: about 1 year ago
JSON representation

Send PGP encrypted messages from Slack!

Awesome Lists containing this project

README

          

# 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.