Bug 327184

Summary: Two-Step Verification does not work.
Product: [Unmaintained] telepathy Reporter: Jeb Eldridge <jebeld17>
Component: accounts-kcmAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: Future   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jeb Eldridge 2013-11-05 18:10:30 UTC
Telepathy will not let me login to any account that has dual-verification setup for security purposes. I would really much rather use Telepathy instead of the annoying Google Hangouts webapp for Chrome, and Telepathy is open source anyways, so if we can fix this issue it would help the community out as a whole. Below is the crash report:


Application: Telepathy Authentication Handler (ktp-auth-handler), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffa2978f880 (LWP 959))]

Thread 2 (Thread 0x7ffa10ed0700 (LWP 1678)):
#0  0x00007ffa235a3fbd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffa224f81dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffa224f8304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffa28359036 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffa2832938f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ffa28329618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffa2822b410 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffa2830aedf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ffa2822dbec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007ffa2305ef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007ffa235b0a0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7ffa2978f880 (LWP 959)):
[KCrash Handler]
#5  QCA::Certificate::fromDER (a=..., result=result@entry=0x0, provider=...) at qca_cert.cpp:1608
#6  0x0000000000414f08 in TlsCertVerifierOp::gotProperties (this=0x1e786d0, op=<optimized out>) at /build/buildd/ktp-auth-handler-0.6.3/tls-cert-verifier-op.cpp:98
#7  0x00007ffa2833f0ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ffa25a9fe8f in Tp::PendingOperation::finished(Tp::PendingOperation*) () from /usr/lib/x86_64-linux-gnu/libtelepathy-qt4.so.2
#9  0x00007ffa25a9ff71 in ?? () from /usr/lib/x86_64-linux-gnu/libtelepathy-qt4.so.2
#10 0x00007ffa283445be in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffa288548ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffa2885725b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007ffa24cc71a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007ffa2832a63e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007ffa2832e171 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007ffa28358e83 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ffa224f7f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffa224f8248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffa224f8304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffa28359016 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffa288fa13e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffa2832938f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007ffa28329618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007ffa2832ecf6 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x000000000040bd55 in main (argc=<optimized out>, argv=0x7fff408cc5b8) at /build/buildd/ktp-auth-handler-0.6.3/main.cpp:90


Reproducible: Always

Steps to Reproduce:
1. Open Telepathy for the First Time
2. Set up a Google account which has 2-step verification
3. Attempt login.
Actual Results:  
My Hangouts lists do not open, my contacts do not show up... It's as if I never put any account information into the app in the first place, yet five minutes later I will get a notification message from KDE stating that I may have put in the wrong password and please try again.

Expected Results:  
A window to pop up stating me to log in manually from a minimalistic web browser tied to Telepathy, similar to how GNOME handles this situation with the new GNOME accounts manager, put in my username and password in that way and verify the computer via that same window with the auto-generated code Google sends me.

Application: Telepathy Authentication Handler (ktp-auth-handler), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffa2978f880 (LWP 959))]

Thread 2 (Thread 0x7ffa10ed0700 (LWP 1678)):
#0  0x00007ffa235a3fbd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffa224f81dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffa224f8304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffa28359036 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffa2832938f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ffa28329618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffa2822b410 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffa2830aedf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ffa2822dbec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007ffa2305ef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007ffa235b0a0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7ffa2978f880 (LWP 959)):
[KCrash Handler]
#5  QCA::Certificate::fromDER (a=..., result=result@entry=0x0, provider=...) at qca_cert.cpp:1608
#6  0x0000000000414f08 in TlsCertVerifierOp::gotProperties (this=0x1e786d0, op=<optimized out>) at /build/buildd/ktp-auth-handler-0.6.3/tls-cert-verifier-op.cpp:98
#7  0x00007ffa2833f0ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ffa25a9fe8f in Tp::PendingOperation::finished(Tp::PendingOperation*) () from /usr/lib/x86_64-linux-gnu/libtelepathy-qt4.so.2
#9  0x00007ffa25a9ff71 in ?? () from /usr/lib/x86_64-linux-gnu/libtelepathy-qt4.so.2
#10 0x00007ffa283445be in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffa288548ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffa2885725b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007ffa24cc71a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007ffa2832a63e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007ffa2832e171 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007ffa28358e83 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ffa224f7f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffa224f8248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffa224f8304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffa28359016 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffa288fa13e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffa2832938f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007ffa28329618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007ffa2832ecf6 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x000000000040bd55 in main (argc=<optimized out>, argv=0x7fff408cc5b8) at /build/buildd/ktp-auth-handler-0.6.3/main.cpp:90
Comment 1 David Edmundson 2013-11-05 18:17:59 UTC
install qca-ossl.

*** This bug has been marked as a duplicate of bug 283135 ***