Socket
Book a DemoInstallSign in
Socket

slack-gpg

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-gpg

### Installation

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 10 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts