Bug 259936 - net-im/gajim 1.3.3 does not save password, keyring or locally
Summary: net-im/gajim 1.3.3 does not save password, keyring or locally
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 14:12 UTC by Marko Cupać
Modified: 2024-06-08 17:49 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (rm)


Attachments
gajim features screen (40.52 KB, image/png)
2021-11-19 14:12 UTC, Marko Cupać
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2021-11-19 14:12:09 UTC
Created attachment 229594 [details]
gajim features screen

Hi,

gajim won't save my account password. I guess it should save password in gnome-keyring, the same as e.g nextcloudclient and chromium (those two are saving passwords in gnome-keyring just fine).

When started from console I get those messages:

19.11.2021 14:40:33 (W) nbxmpp.auth                GSSAPI not available: No module named 'gssapi'
19.11.2021 14:40:44 (W) gajim.password             No recommended keyring backend available.Passwords cannot be stored.
19.11.2021 14:40:46 (W) gajim.c.m.bookmarks        (example.org) Error from user@example.org: item-not-found - Node not found

As I said, I have gnome-keyring installed, and it works fine for nextcloudclient and chromium:

me@mybox:~ % pkg info -x keyring
gnome-keyring-40.0
py38-keyring-18.0.1,1
py38-keyrings.alt-3.1.1


Gajim features screen (accessed from Preferences -> Audio/Video -> Show Features) shows "Secure Password Storage" as unavailable (see attached screenshot).

If I understand correctly gajim should fall back to saving account in clear text, but this is (luckily) not done either.

Any advice on how to make account password saved? I would be glad to test any configurations or patches.

Thank you in advance,
Comment 1 tom+fbsdbugzilla 2024-05-15 07:26:28 UTC
I'm also expericing this issue.
Comment 2 tom+fbsdbugzilla 2024-05-15 07:28:24 UTC
The package is also severely out of date compared to upstream.
Comment 3 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2024-06-06 12:11:43 UTC
Update to 1.8.4 just landed in ports tree and I can't reproduce this problem with new version. Please test with 1.8.4 and reopen this PR if the issue persists.
Comment 4 tom+fbsdbugzilla 2024-06-08 17:49:28 UTC
now it doen't launch at all

% gajim
No translations found
Dirs searched: [PosixPath('/home/tom/.local/share'), PosixPath('/usr/local/share'), PosixPath('/usr/share')]
06/08/24 12:46:33 (W) gajim.c.storage.cache      Execution time for _load_caps_data: 311 ms
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/gajim/application.py", line 232, in _startup
    from gajim.gui_interface import Interface
  File "/usr/local/lib/python3.11/site-packages/gajim/gui_interface.py", line 61, in <module>
    from gajim.chat_control_base import ChatControlBase
  File "/usr/local/lib/python3.11/site-packages/gajim/chat_control_base.py", line 67, in <module>
    from gajim.command_system.implementation.middleware import ChatCommandProcessor
  File "/usr/local/lib/python3.11/site-packages/gajim/command_system/implementation/middleware.py", line 41, in <module>
    from gajim.command_system.framework import CommandProcessor
  File "/usr/local/lib/python3.11/site-packages/gajim/command_system/framework.py", line 23, in <module>
    from inspect import getargspec, getdoc
ImportError: cannot import name 'getargspec' from 'inspect' (/usr/local/lib/python3.11/inspect.py)