2024-07-11
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
1. Set a key. The user selects a key by himself. The following takes the key EAZAYOKNGETBOPC5 as an example.
2. Configure the otp key on the usb server. There is no UI interface to enable it yet. Subsequent versions will support enabling it from the management interface.
curl -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -i 'http://localhost/api7001/set_options' --data '{"key":"otp_key","value":"EAZAYOKNGETBOPC5"}'
3. Generate a QR code for the verifier to scan and import
otpauth://totp/snxxx@usbserver?issuer=linuxce