#4169 Invalid otpauth uri when digits or algorithm are not specified
Closed: Fixed None Opened 10 years ago by pvoborni.

Use case in $subj is the default.

The uri looks as follows:

otpauth://totp/aa@REALM.COM:a?digits=None&secret=UPHKK3ZNH2DMC52Q&period=30&algorithm=None&issuer=aa%40REALM.COM

The issue is:

digits=None
and
algorithm=None

FreeOTP reports 'ivalid uri' error, when it's used in QR code form. Google authenticator accepts it because it ignores these configuration options.

Expected output:

  • these params should not be present or they should contain proper default value

master:

  • a2ae291 Fix generation of invalid OTP URIs

Metadata Update from @pvoborni:
- Issue assigned to npmccallum
- Issue set to the milestone: FreeIPA 4.0 - 2014/02

7 years ago

Log in to comment on this ticket.

Metadata