Bug#907214: OMEMO-encrypted file is not unencrypted before saving

2018-08-30 Thread Sven Bartscher
Hi lovetox,

On Sun, 26 Aug 2018 22:08:13 +0200 forenjunkie 
wrote:
> Hi,
> 
> I tried with pix-art and could not reproduce the problem.
> 
> Could you please try starting gajim from console with "-v" switch and 
> provide logs from the point on when you receive the message

I attached the log and hope I actually copied all the relevant parts.

P.S. When asking the submitter of a bug a question, you may want to send
your mail to nnn-submitter@bugs.d.o instead of plain nnn@bugs.d.o, that
way the submitter actually gets your message, even if they are not
subscribed to the bug.

Regards
Sven
30.08.2018 10:21:32 (I) nbxmpp.client_nb raising event from transport: :DATA RECEIVED
_
18296920180830_102132980_109c.jpgMwohBS9+Heej+IDPaT77PQi/mH3bM8Gg1ZlsiHpflPLgVyQKEAwYAiIgiskE/LP/iMI8J4mFb9z2mCEQeBkudPuCv09PEO0ELCp7y5WoOGpasg==MwohBebf9IuZu6eVZlkYNytYJ5efTZ/Hxvksu4aLpYyyJUVMEAUYBiIgpABH/5O520MmWpMuaU4A7EDSAkDIGfFQ0oZnmV1F0rwQoXcCReigdw==Wsn7RJX1Qy99lseopBlAwg==
_

30.08.2018 10:21:32 (D) gajim.c.ged stanza-received Args: (,)
30.08.2018 10:21:32 (D) gajim.c.p.bytestream IBBAllIqHandler called syn_id->CSYQH5dP10oT
30.08.2018 10:21:32 (D) gajim.c.ged raw-iq-received Args: (,)
30.08.2018 10:21:32 (I) nbxmpp.transports_nb Plugging fd 26, W:True, R:True
30.08.2018 10:21:32 (I) gajim.c.jingle_ft transport value: 
30.08.2018 10:21:32 (I) gajim.c.jingle_ft FT request: None
30.08.2018 10:21:32 (I) gajim.c.jingle_ft ourjid: s...@jabber.credativ.com/Laptop
30.08.2018 10:21:32 (D) gajim.c.ged jingle-request-received Args: (,)
30.08.2018 10:21:32 (D) gajim.c.jingle_ft Jingle FT request received
30.08.2018 10:21:32 (D) gajim.c.ged file-request-received Args: (,)
30.08.2018 10:21:33 (I) nbxmpp.transports_nb pollout called, state == CONNECTED
30.08.2018 10:21:33 (I) nbxmpp.transports_nb Plugging fd 26, W:False, R:True
30.08.2018 10:21:33 (I) nbxmpp.client_nb raising event from transport: :DATA SENT
_

_

30.08.2018 10:21:33 (D) gajim.c.ged stanza-sent Args: (,)
30.08.2018 10:21:33 (I) gajim.c.idle Idle time: 18
30.08.2018 10:21:35 (I) gajim.c.idle Idle time: 20
Gtk-Message: 10:21:36.337: GtkDialog mapped without a transient parent. This is discouraged.
30.08.2018 10:21:37 (I) gajim.c.idle Idle time: 0
30.08.2018 10:21:39 (I) gajim.c.idle Idle time: 0
30.08.2018 10:21:40 (I) gajim.c.p.bytestream send_file_approval: jingle session accept
30.08.2018 10:21:40 (I) gajim.c.jingle_transport candidate dict, {'host': '2003:5b:203b:100:6e0b:84ff:feb4:9eaf', 'candidate_id': 'b46af08b-2119-4a60-8c15-c357f13e8245', 'port': 28011, 'type': 'direct', 'jid': 's...@jabber.credativ.com/Laptop', 'priority': 8257536}
30.08.2018 10:21:40 (D) gajim.c.ged jingle-connected-received Args: (,)
30.08.2018 10:21:40 (D) gajim.c.socks5 Start listening for socks5 connection
30.08.2018 10:21:40 (I) nbxmpp.transports_nb Plugging fd 26, W:True, R:True
30.08.2018 10:21:40 (I) nbxmpp.transports_nb pollout called, state == CONNECTED
30.08.2018 10:21:40 (I) nbxmpp.transports_nb Plugging fd 26, W:False, R:True
30.08.2018 10:21:40 (I) nbxmpp.client_nb raising event from transport: :DATA SENT
_
20180830_102132980_109c.jpg182969
_

30.08.2018 10:21:40 (D) gajim.c.ged stanza-sent Args: (,)
30.08.2018 10:21:41 (I) nbxmpp.transports_nb pollin called, state == CONNECTED
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout removed for fd 26
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout set for fd 26 on 55 seconds
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout set for fd 26 on 120 seconds with function >
30.08.2018 10:21:41 (I) nbxmpp.client_nb raising event from transport: :DATA RECEIVED
_

_

30.08.2018 10:21:41 (D) gajim.c.ged stanza-received Args: (,)
30.08.2018 10:21:41 (D) gajim.c.p.bytestream IBBAllIqHandler called syn_id->4b554384-3c2d-4eb0-bf2a-b891f8876484
30.08.2018 10:21:41 (D) gajim.c.ged raw-iq-received Args: (,)
30.08.2018 10:21:41 (I) gajim.c.jingle_ft __on_iq_result
30.08.2018 10:21:41 (D) gajim.c.socks5 Trying to connect as receiver to cid arbuq563ff
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout set for fd 32 on 30 seconds
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout removed for fd 32
30.08.2018 10:21:41 (D) gajim.c.socks5 Connected to cid arbuq563ff
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout removed for fd 32
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout set for fd 32 on 30 seconds
30.08.2018 10:21:41 (I) nbxmpp.transports_nb pollin called, state == CONNECTED
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout removed for fd 26
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout set for fd 26 on 55 seconds
30.08.2018 10:21:41 (I) nbxmpp.idlequeue read timeout set for fd 26 on 120 seconds with function >
30.08.2018 10:21:41 (I) nbxmpp.client_nb raising event from transport: :DATA RECEIVED
_

_

30.08.2018 10:21:41 (D) gajim.c.ged stanza-received 

Bug#907214: OMEMO-encrypted file is not unencrypted before saving

2018-08-26 Thread forenjunkie

Hi,

I tried with pix-art and could not reproduce the problem.

Could you please try starting gajim from console with "-v" switch and 
provide logs from the point on when you receive the message


regards

lovetox



Bug#907214: OMEMO-encrypted file is not unencrypted before saving

2018-08-24 Thread Sven Bartscher
Package: gajim
Version: 1.0.3-1
Severity: normal

Greetings,

I tried to receive a file transferred to me from a Pix Art
Messenger[1] through an OMEMO encryptecd chat. The file was
transferred successfully, but I wasn't able to open it
afterwards. file(1) reported no recognized file type for the file.

[1]: https://jabber.pix-art.de/

When I tried the transfer again, after switching off OMEMO, I was able
to open the file after the transfer. This looks to me as if Gajim
saves the encrypted file as-is without decrypting it, which makes the
received file practically useless.

Please note that I didn't have this problem when sending files from
Gajim to other messengers.

Regards
Sven

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), 
LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gajim depends on:
ii  gir1.2-gtk-3.03.22.30-2
ii  python3   3.6.5-3
ii  python3-gi3.28.3-1
ii  python3-gi-cairo  3.28.3-1
ii  python3-idna  2.6-1
ii  python3-nbxmpp0.6.6-1
ii  python3-openssl   18.0.0-1
ii  python3-pyasn10.4.2-3

Versions of packages gajim recommends:
ii  alsa-utils   1.1.6-1
ii  aspell-de [aspell-dictionary]20161207-5
ii  aspell-de-1901 [aspell-dictionary]   1:2-33
ii  aspell-en [aspell-dictionary]2017.08.24-0-0.1
ii  ca-certificates  20170717
ii  dbus 1.12.10-1
ii  fonts-noto-color-emoji   0~20180424-2
ii  gajim-omemo  2.6.0-1
ii  gajim-pgp1.2.7-1
ii  gir1.2-farstream-0.2 0.2.8-4
ii  gir1.2-geoclue-2.0   2.4.12-1
ii  gir1.2-gspell-1  1.6.1-1
ii  gir1.2-gst-plugins-base-1.0  1.14.2-1
ii  gir1.2-gstreamer-1.0 1.14.2-2
ii  gir1.2-gupnpigd-1.0  0.2.5-2
ii  gir1.2-secret-1  0.18.6-1
pn  gstreamer0.10-plugins-ugly   
ii  notification-daemon  3.20.0-3
ii  pulseaudio-utils 11.1-5
ii  python3-crypto   2.6.1-9+b1
ii  python3-dbus 1.2.8-2+b1
ii  python3-gnupg0.4.3-1
ii  python3-keyring  13.1.0-1
ii  python3-pil  5.2.0-2
ii  python3-precis-i18n  1.0.0-1
ii  sox  14.4.2-3
ii  xfce4-notifyd [notification-daemon]  0.4.2-1

Versions of packages gajim suggests:
ii  avahi-daemon  0.7-4
ii  libxss1   1:1.2.2-1+b2
pn  nautilus-sendto   
pn  python3-avahi 
pn  python3-gconf 
pn  python3-gnome2
pn  python3-kerberos  
ii  python3-pycurl7.43.0.1-0.2+b1

-- no debconf information