special characters in OpenPGP key names
gajim gets problems with special chars like umlaute in keynames. if you assign a key to a contact the name is just truncated where the special char appears. if your key has it and you define it to be your key you can't save:
gajim 0.8.2 on save button press:
Traceback (most recent call last):
File "/usr/share/gajim/src/config.py", line 1274, in on_save_button_clicked
config['keyname'] = self.xml.get_widget('gpg_name_label').get_text().decode('utf-8')
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 15-18: invalid data
gajim 0.9.x on choose-key button press:
Session Management support not available (missing gnome.ui module) creating /home/aboehnke/.gajim/vcards directory
Traceback (most recent call last):
File "/usr/local/gajim-0.9/src/config.py", line 1423, in on_gpg_choose_button_clicked
secret_keys = gajim.connections[self.account].ask_gpg_secrete_keys()
File "/usr/local/gajim-0.9/src/common/connection.py", line 2062, in ask_gpg_secrete_keys
keys = self.gpg.get_secret_keys()
File "/usr/local/gajim-0.9/src/common/GnuPG.py", line 180, in get_secret_keys
return self.get_keys(True)
File "/usr/local/gajim-0.9/src/common/GnuPG.py", line 173, in get_keys
keys[sline[4][8:]] = sline[9].decode(
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 15-18: invalid data