Skip to content

Support header protection for Autocrypt header #6171

@link2xt

Description

@link2xt

We want to eventually support Header Protection for as many headers as possible. Code is already restructured to allow easy modification of the header confidentiality policy in #5715 so protecting Autocrypt should be as easy as removing these two lines:
https://github.com/deltachat/deltachat-core-rust/blob/429c14ae0bad035fae3fac6bfa3add63fa94d70a/src/mimefactory.rs#L746-L747

However, receiver currently handles Autocrypt header even before decrypting the message, so existing Delta Chat releases ignore Autocrypt headers received anywhere other than in the unprotected part.

As a first step for Autocrypt header protection we need receivers to be able to handle protected Autocrypt headers. Not handling received protected Autocrypt headers is a bug. Sending Autocrypt header is outside of the scope of this issue, we need releases supporting reception first.

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions