From owner-freebsd-ports-bugs@freebsd.org Mon Dec 4 22:52:05 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 226B7E6D3C5 for ; Mon, 4 Dec 2017 22:52:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E64C37D186 for ; Mon, 4 Dec 2017 22:52:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB4Mq3LV024461 for ; Mon, 4 Dec 2017 22:52:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 224098] security/pam_google_authenticator: Google Authenticator no longer displays QR codes Date: Mon, 04 Dec 2017 22:52:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsdbugs@zofrex.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 22:52:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224098 Bug ID: 224098 Summary: security/pam_google_authenticator: Google Authenticator no longer displays QR codes Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: freebsdbugs@zofrex.com CC: jnlin@freebsd.cs.nctu.edu.tw Flags: maintainer-feedback?(jnlin@freebsd.cs.nctu.edu.tw) CC: jnlin@freebsd.cs.nctu.edu.tw Overview: The Google Authenticator command-line utility no longer displays QR codes w= hen generating new secrets. Steps to reproduce: Install both "libqrencode" and "pam_google_authenticator". Run "google-authenticator" and answer the questions until it tells you your sec= ret. Expected: To see a QR code displayed on the terminal. Actual: The secret is printed in text but no QR code is displayed. Versions: Tested on FreeBSD 10.3 and 11.1 using both ports and pkg-ng. I first encountered this yesterday. The last time I'm reasonably confident this wor= ked was April this year. Other notes: Looking in my /usr/local/lib I see: libqrencode.so libqrencode.so.4 libqrencode.so.4.0.0 But looking at the source code for google-authenticator [1] (at the revision specified in the Makefile, 195ddc1) I only see attempts to load: libqrencode.so.2 libqrencode.so.3 libqrencode.dylib.3 So it looks like libqrencode has gotten ahead of what google-authenticator expects. Looking at the latest version of google-authenticator [2] I see it also loads .so.4, so I think this issue may be resolved to updating to the latest version... but I have not tested if that works. [1]: https://github.com/google/google-authenticator/blob/195ddc135f8360254c459d0= 37083ff46054df94f/libpam/google-authenticator.c#L206 [2]: https://github.com/google/google-authenticator-libpam/blob/7365ed10d54393fb= 4c100cac063ae8edb744eac6/src/google-authenticator.c#L206 (at the time of writing) --=20 You are receiving this mail because: You are the assignee for the bug.=