OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: bennebartsch on March 30, 2020, 02:43:39 pm

Title: TOTP QR Code Bulk Export
Post by: bennebartsch on March 30, 2020, 02:43:39 pm
Is there any option for exporting multiple QR Codes/TOTP Tokens at once?
Thanks for your help!
Title: Re: TOTP QR Code Bulk Export
Post by: fabian on March 30, 2020, 06:35:30 pm
No and in general this sounds like a bad idea (only the user of the account should have this seed, otherwise it is not secure).

BTW: The QR-Code is generated in the browser so there is no backend code for that (I implemented that some years ago, because the original implementation used Google charts which means that Google may had access to that seed).

It would be possible to generate more than one in the browser but then an API is needed since user management is still legacy code.
Title: Re: TOTP QR Code Bulk Export
Post by: bennebartsch on March 30, 2020, 07:01:07 pm
I imported about 200 Users via LDAP for VPN Access. I don't want to go to every User Page and download the QR Code manually. The users should not have access to the Web Interface either.