I am trying to use a Google Gemini AI model using Google’s API via the MSTY AI app.
After the kwallet update today, I get an error message: as follows:
An error occurred. Please try again. Error while decrypting the ciphertext provided to safeStorage.decryptString. Decryption is not available.
So I figured the kwallet update dumped all my API keys (I also had to login again to all my open Web sites, etc.). So I thought I would re-enter my API keys in the MSTY interface as was done when I set them up.
However, I now get this error message from the MSTY app interface which relfects the message returned above, but with more detail:
TRPCClinetError: Error while encrypting text provided to safeStorage.encryptString Encryption is not available.```
Does anyone have any idea what this is about and how I can recover from it?
No, no VSCode involved. It’s the MSTY AI app which is Electron based.
As it turns out, the MSTY app has a setting to disable storing API keys securely. I just unchecked that box and now I can add my API keys again.
I couldn’t care less if they’re stored insecurely. The odds of anyone breaking in, finding my keys and running up a bill on ChatGPT are vanishingly small.
There’s no point in filing a bug report with KDE, they’ll just pass it off onto Electron as not KDE’s problem, and Electron will shrug and say wait until the next release - which MSTY might not even use until their next release.
This whole Kwallet thing is a disaster all around. I tried to disable it again, but MSTY absolutely wants that wallet if the keys are to be stored securelly. So I re-enabled it. Should be harmless now I’m not using it for the keys, just for Chrome and whatever other app is dumb enough to use it.
I use KeepassXC password manager.
I have also tried to disable Kwallet - with little success.
Indeed, after the last update, Chromium started to start very slowly and the error logs below appeared.
raija@localhost:~> chromium
[13742:13742:0516/221244.249603:ERROR:s/object_proxy.cc:590] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[13742:13742:0516/221244.249677:ERROR:ponents/os_crypt/sync/kwallet_dbus.cc:117] Error contacting kwalletd6 (isEnabled)
[13742:13742:0516/221244.250126:ERROR:s/object_proxy.cc:590] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
[13742:13742:0516/221244.250144:ERROR:ponents/os_crypt/sync/kwallet_dbus.cc:86] Error contacting Klauncher to start kwalletd6
[13742:13742:0516/221309.259412:ERROR:s/object_proxy.cc:590] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[13742:13742:0516/221309.259465:ERROR:ponents/os_crypt/sync/kwallet_dbus.cc:412] Error contacting kwalletd6 (close)
[13742:13742:0516/221309.461464:ERROR:tent/browser/network_service_instance_impl.cc:586] Network service crashed, restarting service.
[13742:13742:0516/221309.511519:ERROR:ponents/dbus/xdg/request.cc:169] Request ended (non-user canceled).
[13742:13742:0516/221309.532199:ERROR:ensions/browser/service_worker/service_worker_task_queue.cc:197] DidStartWorkerFail jlgkpaicikihijadgifklkbpdajbkhjo:3
[13742:13742:0516/221309.560216:ERROR:ensions/browser/service_worker/service_worker_task_queue.cc:197] DidStartWorkerFail oboonakemofpalcgghocfoadofidjkkkk:3
[13742:13742:0516/221309.614411:ERROR:ensions/browser/service_worker/service_worker_task_queue.cc:197] DidStartWorkerFail cfhdojbkjhnklbpkdaibdccddilifddb: 3
[13742:13768:0516/221312.619348:ERROR:gle_apis/gcm/engine/registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
[13742:13742:0516/221319.919240:ERROR:ome/browser/ui/webui/new_tab_page/new_tab_page_handler.cc:1353] NewTabPage loaded into a non-browser-tab context
[13742:13773:0516/221320.010520:ERROR:tent/browser/browser_main_loop.cc:278] GLib: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
raija@localhost:~>
I would like to get rid of kwallet once and for all, but I haven’t found the right way.