Fedora 44 KDE: Mailspring not properly interfacing with key storage after update

Description

This morning I updated some KDE services, I believe including kwallet, and now all of the sudden Mailspring doesn’t properly connect to kwallet for secret storage. Running with debug, I get this output:

$ ELECTRON_ENABLE_LOGGING=1 mailspring 2>&1 | grep -iE 'keychain|password|secret|kwallet|safe.?storage'
[29673:0911/094753.451199:INFO:CONSOLE:84] "Mailspring encountered an error reading passwords from the keychain.", source: /usr/share/mailspring/resources/app.asar/src/key-manager.js (84)
[29673:0911/094753.451228:INFO:CONSOLE:85] "Error: Could not call remote method 'decryptString'. Check that the method signature is correct. Underlying error: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.Underlying stack: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.
[29673:0911/094753.589874:INFO:CONSOLE:84] "Mailspring encountered an error reading passwords from the keychain.", source: /usr/share/mailspring/resources/app.asar/src/key-manager.js (84)
[29673:0911/094753.589980:INFO:CONSOLE:85] "Error: Could not call remote method 'decryptString'. Check that the method signature is correct. Underlying error: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.Underlying stack: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.
[29673:0911/094753.689644:INFO:CONSOLE:84] "Mailspring encountered an error reading passwords from the keychain.", source: /usr/share/mailspring/resources/app.asar/src/key-manager.js (84)
[29673:0911/094753.689687:INFO:CONSOLE:85] "Error: Could not call remote method 'decryptString'. Check that the method signature is correct. Underlying error: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.Underlying stack: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.
[29673:0911/094753.789732:INFO:CONSOLE:84] "Mailspring encountered an error reading passwords from the keychain.", source: /usr/share/mailspring/resources/app.asar/src/key-manager.js (84)
[29673:0911/094753.789759:INFO:CONSOLE:85] "Error: Could not call remote method 'decryptString'. Check that the method signature is correct. Underlying error: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.Underlying stack: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.
[29673:0911/094753.890162:INFO:CONSOLE:84] "Mailspring encountered an error reading passwords from the keychain.", source: /usr/share/mailspring/resources/app.asar/src/key-manager.js (84)
[29673:0911/094753.890182:INFO:CONSOLE:85] "Error: Could not call remote method 'decryptString'. Check that the method signature is correct. Underlying error: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.Underlying stack: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.
[29673:0911/094753.989807:INFO:CONSOLE:84] "Mailspring encountered an error reading passwords from the keychain.", source: /usr/share/mailspring/resources/app.asar/src/key-manager.js (84)
[29673:0911/094753.989864:INFO:CONSOLE:85] "Error: Could not call remote method 'decryptString'. Check that the method signature is correct. Underlying error: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.Underlying stack: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.
[29673:0911/094754.089836:INFO:CONSOLE:84] "Mailspring encountered an error reading passwords from the keychain.", source: /usr/share/mailspring/resources/app.asar/src/key-manager.js (84)
[29673:0911/094754.089884:INFO:CONSOLE:85] "Error: Could not call remote method 'decryptString'. Check that the method signature is correct. Underlying error: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.Underlying stack: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.

My other electron apps that use kwallet still work, so I’m not quite sure why Mailspring in particular is having issues.

To Reproduce…

Steps to reproduce the behavior:

  1. Open Mailspring. In the bottom-left corner it has a red box saying that several of your accounts are having issues.

  2. Trying to re-connect accounts gives an error that my device does not have an encryption service available.

Expected Behavior

It should work how it did yesterday, properly connecting to kwallet to get my account credentials.

Screenshots

Setup

Fedora Linux 44, KDE Plasma Desktop Edition
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
Kernel Version: 7.2.4-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland

Mailspring is installed via rpm, version mailspring-1.23.0-0.1.x86_64
Here are the versions of kwallet I have:

$ rpm -qa | rg kwallet
kf6-kwallet-6.29.0-1.fc44.x86_64
kf6-kwallet-libs-6.29.0-1.fc44.x86_64
kf5-kwallet-libs-5.116.0-5.fc44.x86_64
kf5-kwallet-5.116.0-5.fc44.x86_64
kwalletmanager5-26.08.0-1.fc44.x86_64
signon-kwallet-extension-26.08.0-1.fc44.x86_64
pam-kwallet-6.7.5-1.fc44.x86_64

If anyone has an idea of what might be going on, I’d really appreciate it!

Later today after restarting, Mailspring seems to have fixed itself… not sure what happened, but at least it’s working again!