[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-20 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #33 from Maik Qualmann  ---
In my system are 2 libopenssl versions, openssh still needs libopenssl-1.0.2n.
Otherwise libopenssl-1.1.0g is used and with the native digiKam version no
problem, not even with the AppImage. I have 2 Ubuntu versions in the VM, with
one I can confirm the problem, with the other I look again.

> Just to be sure that problem is located with OpenSSL...

Good question, we only have the error message. QNetworkManager does it all.
There are some entries on the web about this problem. Maybe we can disable the
certificate check ... but if that is such a good idea?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #32 from [email protected] ---
Maik,

Do you confirm that native digiKam using OpenSSL 1.0.2 can to be connected to
Google service ? Just to be sure that problem is located with OpenSSL...

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #31 from [email protected] ---
I respond to my comment 28.

As Centos 6.9 still to use openssl 1.0.1 and do not switch to 1.0.2 for
security update (strange rule i must admit), i must include last openssl stable
in AppImage compilation rule.

Planned to 5.9.0 release

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-15 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #30 from Maik Qualmann  ---
Are you already authorized in Ubuntu 16.04? If so, does it work if you change
your account and log back into the browser?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #29 from [email protected] ---
I checked ssl version. Output looks similar for Unbuntu 16.04.3 and 17.04:

(Ubuntu 17.04) 
$ openssl version -a
OpenSSL 1.0.2g  1 Mar 2016
built on: reproducible build, date unspecified
platform: debian-amd64
options:  bn(64,64) rc4(16x,int) des(idx,cisc,16,int) blowfish(idx) 
compiler: cc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack
-Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM
-DGHASH_ASM -DECP_NISTZ256_ASM
OPENSSLDIR: "/usr/lib/ssl"

(Ubuntu 16.04.3)
$ openssl version -a
OpenSSL 1.0.2g  1 Mar 2016
built on: reproducible build, date unspecified
platform: debian-amd64
options:  bn(64,64) rc4(16x,int) des(idx,cisc,16,int) blowfish(idx)
compiler: cc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -g -O2
-fdebug-prefix-map=/build/openssl-w1gRN6/openssl-1.0.2g=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack
-Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM
-DGHASH_ASM -DECP_NISTZ256_ASM
OPENSSLDIR: "/usr/lib/ssl"

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #28 from [email protected] ---
Well the solution is to not copy the ssl version from CentoS6 into the AppImage
bundle and let's the system wide library alone. A line to add somewhere here :

https://cgit.kde.org/digikam-software-compilation.git/tree/project/bundles/appimage/04-build-appimage.sh#n264

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-15 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #27 from Maik Qualmann  ---
My theory is that Google recognizes 2 different versions of SSL and therefore
rejects it. Once natively from the browser login to start the authorization and
once from the AppImage. As I said, just one theory, because one Ubuntu goes,
the other not.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #26 from [email protected] ---
After a full update of Centos6, nothing has changed about the Openssl version
installed.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #25 from [email protected] ---
On Centos6, openSSL is at 1.0.1e-57.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #24 from [email protected] ---
Probably the openssl from Centos6 is not updated since a while to build
AppImage.

As 5.8.0 is out, i will rebuild the whole Centos6 VM from scratch and update
all as well before to recompile all Qt5/KF5/DK.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-15 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #23 from Maik Qualmann  ---
This problem only occurs with the AppImage. I have a theory. Which SSL version
use Ubuntu 17.04 4.10.0-42 generic and which Ubuntu 16.04.03 4.10.0-42 generic?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2018-01-14 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

[email protected] changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #22 from [email protected] ---
Same issue here with "An authentication error occurred: SSL handshake failed
(6)". I use digikam-5.8.0-01-x86-64.appimage (Ubuntu Linux 17.04
4.10.0-42-generic #46-Ubuntu SMP Mon Dec 4 14:38:01 UTC 2017 x86_64 x86_64
x86_64 GNU/Linux).

Strange is that I don't get this error with another laptop with Ubuntu Linux
16.04.03 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux...

I tried with deleting all cifing file under .local or .config, but the issue is
the same.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-12-29 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #21 from Maik Qualmann  ---
I just tested it on Windows7 and Windows10. I can not reproduce the problem
under Windows.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-12-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

[email protected] changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #20 from [email protected] ---
Created attachment 109566
  --> https://bugs.kde.org/attachment.cgi?id=109566&action=edit
google drive authentication  error SSL handshake failed (6)

I face the same issue on windows 7 64 bits using 
digiKam-5.8.0-20171227T203904-Win64.exe

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-28 Thread Karl F
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #19 from Karl F  ---
using the 5.8.0 appimage, it does not crash anymore, instead I get a popup with
an error message: "An authentication error occurred: SSL handshake failed (6)"

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-28 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #18 from Maik Qualmann  ---
Please test the pre-release digiKam-5.8.0 AppImage from here:

https://files.kde.org/digikam/

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-28 Thread Karl F
https://bugs.kde.org/show_bug.cgi?id=385363

Karl F  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #17 from Karl F  ---
same problem on Ubuntu 16.04.3 using the digikam 5.7 appimage.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-14 Thread Pablo Cano
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #16 from Pablo Cano  ---
Hi Maik

I use ubuntu + Digikam on a real machine.

Pablo


En 14 de noviembre de 2017 5:35:48 AM Maik Qualmann 
 escribió:

> https://bugs.kde.org/show_bug.cgi?id=385363
>
> --- Comment #15 from Maik Qualmann  ---
> Pablo, do you use Ubuntu on a real machine or in a virtual?
>
> Maik
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-14 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #15 from Maik Qualmann  ---
Pablo, do you use Ubuntu on a real machine or in a virtual?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #14 from [email protected] ---
I don't have idea why Ubuntu don't work as expected.

Here, under Mageia5 or 6, Google Service tool work fine.

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #13 from [email protected] ---
The AppImage is build on CentOS 6.9 with all recent updates

libopenssl come from the system and the version is 1.0.1e-57:

https://centos.pkgs.org/6/centos-x86_64/openssl-1.0.1e-57.el6.x86_64.rpm.html

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-13 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #12 from Maik Qualmann  ---
AppImage works under my openSUSE Tumbleweed, but with Ubuntu 17.04 in the
virtual machine comes an SSL handshake error. Gilles, I think we're using an
internal libssl in AppImage? Maybe too old? But why only under Ubuntu?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-12 Thread Pablo Cano
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #11 from Pablo Cano  ---
Created attachment 108820
  --> https://bugs.kde.org/attachment.cgi?id=108820&action=edit
Pop up error SSH Handshake failed


I don't mention this earlier but my Google accout whas already authorized with
an earlier version of Digikam appimage.

With this 5.7.0 version I get a SSH Hadshake error as soon as I enter the
Import from Google option.

I'm attaching the screen shot on this comment.

Pablo

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-12 Thread Pablo Cano
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #10 from Pablo Cano  ---
Created attachment 108817
  --> https://bugs.kde.org/attachment.cgi?id=108817&action=edit
appimage with debug comman line argument



I'm using this command line:

pablo@pablo-ThinkCentre:/usr/bin$ ./digikam-5.7.0-01-x86-64.appimage debug

After the crash there is no stack:



[Inferior 1 (process 13132) exited with code 0213]
(gdb) bt
No stack.
(gdb) bt
No stack.
(gdb)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #9 from [email protected] ---
yes sure, tomorrow morning...

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-12 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #8 from Maik Qualmann  ---
The crash is now clear. But why does the authorization fail under the AppImage
in Ubuntu? Gilles, can you please create a new AppImage?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-12 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #7 from Maik Qualmann  ---
Git commit 8bd0ce861e1ff11daf062f9bfa95bbd7fb42e1b9 by Maik Qualmann.
Committed on 12/11/2017 at 21:09.
Pushed by mqualmann into branch 'master'.

fix crash if Google services authorization fails

M  +1-1googleservices/authorize.cpp

https://commits.kde.org/kipi-plugins/8bd0ce861e1ff11daf062f9bfa95bbd7fb42e1b9

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-12 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #6 from Maik Qualmann  ---
How did you use gdb? With the AppImage the internal gdb must be used, it is
called with the option "debug".

./digikam-5.8.0-01-x86-64.appimage debug

After the crash, call the backtrace with "bt".

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-11-12 Thread Pablo Cano
https://bugs.kde.org/show_bug.cgi?id=385363

Pablo Cano  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #5 from Pablo Cano  ---
Created attachment 108809
  --> https://bugs.kde.org/attachment.cgi?id=108809&action=edit
GDB trace

(In reply to Maik Qualmann from comment #1)
> I can not reproduce the crash here. Can you create a GDB backtrace?
> 
> Maik

I'm having the same problem as PaulK with a very similar system, Following the
link posted by Christoph I'm attachig a file with the text I got using gdb.

I hope it helps

Thanks

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-10-25 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #4 from Christoph Feck  ---
If you can provide the information requested in comment #3, please add it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-10-17 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=385363

--- Comment #3 from Christoph Feck  ---
If this is still reproducible, please add the backtrace for the crash. For more
information, please see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-10-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=385363

[email protected] changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #2 from [email protected] ---
No crash from here too, under Mageia Linux 6 and from France. Code is
git/master.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[kipiplugins] [Bug 385363] Digikam crashes when authorizing access to Google photo

2017-10-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=385363

Maik Qualmann  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from Maik Qualmann  ---
I can not reproduce the crash here. Can you create a GDB backtrace?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.