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

https://github.com/neomutt/contrib-keybase

Keybase Integration
https://github.com/neomutt/contrib-keybase

Last synced: 10 months ago
JSON representation

Keybase Integration

Awesome Lists containing this project

README

          

# KeybaseMutt

A work in progress. KeybaseMutt exists to let its users utilize Keybase within
NeoMutt. (Unfortunately, not natively (yet).)

## Quick start

Run the install script. It will set up the directory's and paths for you. Do
what it says or suffer the consequences!

Then just throw these into your .muttrc

`set editor = 'echo %s > ~/.neomutt/keybaseMutt/.tmp; vim %s'`

`macro compose K "unset wait_keypython ~/.neomutt/keybaseMutt/keybase.pyset wait_key`

Done!

## How to use KeybaseMutt

Write an email. In the screen right before you send your email (called the pager mode), press "K".

![](pagerMode.png)
(Press 'K' when you're here)

You can now use four Keybase commands in this "shell". (I thought it best to limit the user to four commands for security reasons. Running unusual commands would overwrite the email, forcing the user to rewrite the email again.)

The commands are:
- `keybase encrypt [user]`
- `keybase pgp encrypt [user]`
- `keybase sign`
- `keybase pgp sign`

## Decrypting and verifying messages

Unfortunately, there isn't an easy way to decrypt or verify messages through a macro. Instead, you'll need to use the pipe feature of neomutt.

Opening the email, you'll need to navigate to the actual attachment. (Press "V" when you're reading the email.)

![](attachmentView.png)

Then pipe ("|") it through the one of the scripts. (like "pgpverify.sh" or "decrypt.sh")

Please note, using an attachment is very important when decrypting emails that include html. The scripts are unable to separate html and text.

Make sure that the attachment is "text/plain" rather than "text/html".