#5047 OTP uri incompatible with Google Authenticator and other TOTP clients
Closed: Fixed None Opened 8 years ago by jijojv.

Fails to scan QR code in Google Authenticator and
https://discussions.agilebits.com/discussion/41962/totp-uri-parsing-issue

Fix is trivial in /ipalib/plugins/otptoken.py
just uppercase the algorithm name

    StrEnum('ipatokenotpalgorithm?',
        cli_name='algo',
        label=_('Algorithm'),
        doc=_('Token hash algorithm'),
        default=u'SHA1',
        autofill=True,
        flags=('no_update'),
        values=(u'SHA1', u'SHA256', u'SHA384', u'SHA512'),

See this "RFC" https://github.com/google/google-authenticator/wiki/Key-Uri-Format


master:

  • 4dfa232 Fix OTP token URI generation

ipa-4-1:

  • de7aed1 Fix OTP token URI generation

Metadata Update from @jijojv:
- Issue assigned to npmccallum
- Issue set to the milestone: FreeIPA 4.1.5

7 years ago

Login to comment on this ticket.

Metadata