Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: check outgoing messages in has_verified_encryption #5329

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Mar 8, 2024

Also remove outdated comment about split groups
introduced in C core commit
deltachat/deltachat-core@49136ae

Also remove outdated comment about split groups
introduced in C core commit
<deltachat/deltachat-core@49136ae>
@link2xt link2xt requested review from r10s and iequidoo March 8, 2024 15:54
.copied()
.filter(|id| *id != ContactId::SELF)
.collect::<Vec<ContactId>>();

if !mimeparser.was_encrypted() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But they are already checked here in fact. was_encrypted() returns false if there are no valid signatures. Moreover, signatures are checked with all self keys (returned by key::load_self_public_keyring()) which looks more correct, i.e. all the self keys are verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants