2016-01-23 Testing Encrypted Mail Setup

I’ve updated my guide, the Gmail Gnus GPG Guide (GGGG) to incorporate the latest addition to the FSF’s Email Self-Defense guide to free software-powered encryption. They even have a guide on how to help your friends and family, including talking points if want to make your case.

Gmail Gnus GPG Guide

Email Self-Defense guide to free software-powered encryption

guide on how to help your friends and family

Anyway, the thing I added to the guide is how to initiate communication with the bot:

1. send him *your* Public key

2. get *his* public key from a keyserver

3. how to set up a keyserver in order to achieve step ​#2

4. send him an encrypted mail

​#Software ​#Cryptography ​#Gnus ​#Emacs

Comments

(Please contact me if you want to remove your comment.)

The public (not private) key should be sent in point 1. Best regards, A.

– A. 2016-01-23 16:01 UTC

---

Aaaaargh!

– Alex Schroeder 2016-01-23 16:36 UTC

---

Thanks!

By the way, what’s the reason to use `gpg` instead of `gpg2`?

– AlexDaniel 2016-01-23 22:44 UTC

---

Also, it looks like it has to be `~/.gnus.el` instead of `~/.gnus`.

– AlexDaniel 2016-01-24 00:07 UTC

---

Hm, I think `~/.gnus` is fine, according to the manual: “… and `gnus-init-file` (‘`~/.gnus`’ by default)”

according to the manual

As for the GPG version, I am using gpg. Perhaps on Debian version 2 is only available as gpg2?

alex@Megabombus:~$ gpg --version
gpg (GnuPG) 2.0.29
libgcrypt 1.6.4
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA, RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

– Alex Schroeder 2016-01-24 00:15 UTC

---

Interesting. Also it would be great to know how to make `gnus` sort things in the right order by default…

– AlexDaniel 2016-01-24 00:35 UTC

---

Oh well. It seems like the idea is to have only unread messages visible by default. If you keep it this way then there’s no reason to change the order. Hmmmm.

– AlexDaniel 2016-01-24 01:37 UTC

---

I’m not sure if this approach is really useful. Gmail sorts messages into three tabs – **Primary**, **Social** and **Promotions**. Obviously I never read **Social** and **Promotions**, and I even ignore some messages in **Primary**. That’s the result:

https://files.progarm.org/2016-01-24-033741_154x97_scrot.png

In such case default settings in gnus are so alien. But I thought that it is how all people read their emails? Is there any way to get this **Primary*****Social****Promotions** distinction in gnus?*

– AlexDaniel 2016-01-24 01:40 UTC

---

Not unless Gmail makes the tabs available via IMAP, i.e. via folders (like it does for labels). I don’t think this is happening. Apparently you can search for them but I don’t understand how you would use this from Gnus. ¹

¹

– Alex Schroeder 2016-01-27 20:26 UTC