Page MenuHomeVyOS Platform

OpenConnect: “show openconnect-server user <name> otp” crashes for hotp-event token type
Closed, ResolvedPublicBUG

Description

show_openconnect_otp raises UnboundLocalError for users whose OTP token type is hotp-event.

Location

src/op_mode/show_openconnect_otp.py:65-69
interface-definitions/vpn_openconnect.xml.in:230

Problem

token_type_acrn is only assigned for hotp-time.

Details

Version
rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)