Bug 1217745

Summary: libcotp: otpclient stops working after libcotp2 was updated
Product: [openSUSE] openSUSE Tumbleweed Reporter: David Kerkhof <dutchkind>
Component: SecurityAssignee: Paolo Stivanin <pstivanin>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: matthias.gerstner, security-team
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Kerkhof 2023-12-01 20:17:55 UTC
I used otpclient today to login into which worked. Then the tumbleweed was updated and when it finished I had to login again because I had to do something else on the same site but now it failed, and in the error message it shows an error code and the timestamp of the MFA token, which is oddly 1 hour off (don't know if that is the reason.

I checked the zypper logs and saw libcotp2 was updated so I suspect that library is causing the problem. I tried to generate a new MFA token but that also fails. Logging in with freeOTP from my phone still works so it is only otpclient that fails.
Comment 1 Matthias Gerstner 2023-12-04 11:35:49 UTC
I am assigning this to the maintainer of libcotp2 which is also the person
that updated the library recently.
Comment 2 Paolo Stivanin 2023-12-04 12:20:55 UTC
issue is now fixed. OTPClient was recompiled against libcotp 2.1.0 and it's now working fine. Please update Tumbleweed to the latest snapshot, thanks.
Comment 3 David Kerkhof 2023-12-05 08:10:59 UTC
Thanks, that works