gajim hangs assigning key from the big keyring
gajim hangs assigning key from the big keyring
Bug description
Attempting to assign the key to contact with relatively big keyring (3.6Mb) cause gagim hangs forever. gpg2 called by it is not ended but waited for something. Attempting to kill gpg2 after waiting a lot unhangs gajim bug cause this error:
Traceback (most recent call last):
File "src\roster_window.py", line 3199, in on_assign_pgp_key
File "src\common\connection.py", line 682, in ask_gpg_keys
File "src\common\gpg.py", line 116, in get_keys
File "src\common\gnupg.py", line 1124, in list_keys
File "src\common\gnupg.py", line 1095, in _get_list_output
File "src\common\gnupg.py", line 423, in uid
IndexError: list index out of range
gpg2 with the same command line as gajim calls it, called by hand, ended successfully, printing keyring as supposed.
Steps to reproduce
Just attempt to assign key to contact and see hang. BTW, in the same time gajim assigns the key for account normally, without any hangs (probably because it is secret key and their number is very small in the keyring).
Software versions
OS version: Win10
gpg4win 2.3.0