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!
- Host: GitHub
- URL: https://github.com/kaplanmaxe/slack-pgp
- Owner: kaplanmaxe
- Created: 2017-10-07T13:59:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T07:29:33.000Z (over 3 years ago)
- Last Synced: 2025-03-24T11:07:36.381Z (about 1 year ago)
- Language: JavaScript
- Size: 327 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.