thunderbird / thunderbird/thunderbird-android

Add GPG per recipient rules

Open
#4,120 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Alice and Bob want to have encrypted communication and already have each other's public GPG keys.
Alice is using Thunderbird with Enigmail and has a rule to always encrypt messages to Bob.

When Bob replies to the message using K9, or starts a new thread to Alice, he has to remember each time to enable encryption on each message, which is error prone.

K9 mail should have an option to say that for a specific e-mail address, to default to enabling encryption with that key. That way, Bob's messages would be encrypted, unless otherwise specified. There are also complications for how to handle e-mails will multiple recipients, but those are less common.

Related:
https://github.com/k9mail/k-9/issues/3451

Expected behavior

Bob adds a per-recipient rule, and messages to Alice are encrypted.

Actual behavior

Bob has to click encrypt for every new message composed, leading to some messages not being encrypted.

Steps to reproduce
  1. Alice and Bob exchange GPG public keys
  2. (Optional) Alice sends encrypted message to Bob
  3. Bob composes e-mail to Alice
Environment

(Not available)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not identify files, tests, or an entry point. First clarify how per-recipient rules should interact with multiple recipients and existing encryption behavior, then define tests for default encryption when composing messages to a matching recipient.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.