Files
Mingshen SunandClaude Opus 5 60ec70ffce handle malformed PGP keys without crashing (fix #715)
ObjectivePGP raises an Objective-C exception when reading an armored block
without a body. Swift cannot catch it, so the app terminated as soon as a key
ID was requested, e.g. when opening the settings screen. As the keys live in the
keychain, they survive reinstalling the app and the crash persisted.

Route the calls into ObjectivePGP through an Objective-C exception catcher which
turns exceptions into regular errors. Additionally, offer the removal of PGP
keys whenever keys are stored, not only when a key source is set. The key source
is gone after a reinstall while the keys are not, which left no way to get rid
of unusable keys.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-01 17:25:23 -07:00
..
2024-12-23 18:35:26 -08:00
2025-02-07 20:09:17 -08:00
2022-05-23 10:54:11 -07:00
2025-01-25 15:40:12 -08:00
2023-03-13 21:11:21 -07:00