Skip to content

WIP: port to rpgp +1 while keeping the same decryption behavior for SEIPDv1#8266

Draft
hko-s wants to merge 1 commit into
chatmail:mainfrom
hko-s:heiko/rpgp-port
Draft

WIP: port to rpgp +1 while keeping the same decryption behavior for SEIPDv1#8266
hko-s wants to merge 1 commit into
chatmail:mainfrom
hko-s:heiko/rpgp-port

Conversation

@hko-s
Copy link
Copy Markdown
Contributor

@hko-s hko-s commented May 22, 2026

rPGP's default behavior while decrypting SEIPDv1 messages has changed from streaming to buffering the full plaintext in memory first: rpgp/rpgp#662

This is more defensive, but may cause OOM problems for applications (which I believe has been a problem for Delta Chat in the past). When applications are able to safely deal with early release of unauthenticated plaintext during decryption, then (re-)opting in to streaming SEIPDv1 decryption is attractive.

The diff in PR shows how to keep the same rPGP decryption characteristics as before when using the (still unfinished) next release.

@hko-s hko-s marked this pull request as draft May 22, 2026 10:37
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.

1 participant