Skip to content

Client certificate not displayed in SMTP settings #8642

@pboguslawski

Description

@pboguslawski

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.

App

K-9 Mail

App version

8.1

Where did you get the app from?

Google Play

Android version

14 (LineageOS), 15 (original Google)

Device model

No response

Steps to reproduce

Android 14 (LineageOS):

  1. Replace expired client certificate (configured in K-9 Mail for IMAP and SMTP) using Android settings (same cert subject) with new valid user certificate.
  2. Go to K-9 Mail settings and choose new client cert in account IMAP settings, see connection test passing ok and new cert is saved in IMAP settings fine. Mail fetching from IMAP server works ok.
  3. Go to K-9 Mail settings and choose new client cert (same as for IMAP above) in account SMTP settings, see connection test passing ok and new cert is NOT displayed in SMTP settings (empty field with client cert name) . Mail sending using SMTP does not work (expired cert message) for some time (even after K-9 Mail restart) and then starts to work (checked after about 1h).

Android 15 (Google ROM):
Renewed client cert started to work in IMAP and SMTP but client cert name is empty in SMTP settings (no such problem in IMAP settings - cert name is presented ok there after renewal).

Expected behavior

New client cert selected in SMTP settings is saved correctly after successful connection and its name is displayed correctly in SMTP settings. No SMTP connection problems in Android 14 (LineageOS) just after renewal.

Actual behavior

New client cert is saved correctly only in IMAP settings and not in SMTP settings (empty field with cert name) and user cannot send mail using this account in Android 14 (LineageOS) just after renewal (starts to work after about 1h).

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIdeal for newcomers to start contributingtype: bugSomething is causing incorrect behavior or errors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions