Bug 338650 - [RFE] [Openconnect] Add support for HOTP to OpenConnect VPN authenticator
Summary: [RFE] [Openconnect] Add support for HOTP to OpenConnect VPN authenticator
Status: REPORTED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
: 365807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-29 11:24 UTC by David Woodhouse
Modified: 2018-05-28 11:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Woodhouse 2014-08-29 11:24:35 UTC
OpenConnect 6.00 adds proper support for HOTP tokens. We've had HOTP support for a while but it's been kind of unusable until now. HOTP is counter-based and you need to increment the counter each time you use a tokencode. But we had no way to *store* the updated counter. Now we do... you call the new openconnect_set_token_callbacks() function and give it a callback function it can call when it's updated the token. And we store it in the NM secrets — which means we have to migrate it from the configuration 'data' section to the 'secrets' section.

See https://git.gnome.org/browse/network-manager-openconnect/commit/?id=b3815e96
and https://git.gnome.org/browse/network-manager-openconnect/commit/?id=5e899ec0
Comment 1 Jan Grulich 2014-08-29 11:27:22 UTC
Just adding some documentation:

http://www.infradead.org/openconnect/token.html
Comment 2 Jan Grulich 2016-07-19 13:42:58 UTC
*** Bug 365807 has been marked as a duplicate of this bug. ***