Skip to content

Crash when accessing GPG Key Settings after entering an invalid/corrupted GPG key #715

Description

@Synth1105

Description

The app consistently crashes when attempting to access the GPG Key settings menu. This issue started after I previously entered a GPG key that was likely invalid or malformed. Now, the app crashes immediately upon tapping the settings/GPG section, making it impossible to change or overwrite the faulty key.

Steps to Reproduce

  1. Enter/paste a faulty or malformed GPG private key into the app.
  2. Attempt to navigate to Settings -> GPG Key configuration.
  3. The app crashes instantly.
  4. Uninstalling and reinstalling the app, as well as clearing the iOS clipboard, does not resolve the issue; the crash persists at the same screen.

Expected Behavior

The app should handle invalid GPG keys gracefully without crashing, or it should clear the corrupted key data completely upon uninstallation so that users can open the settings menu to configure a new key.

Environment

  • Device: iPhone 11 Pro
  • iOS Version: iOS 26.5
  • App Version: Latest version from App Store

Additional Context

It seems the corrupted GPG key data persists in the iOS Keychain even after deleting the app. Since the app auto-detects or automatically parses this stored/cached data when entering the GPG settings screen, it triggers an unhandled exception and crashes immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions