Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
export: Base32 needs to be uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzorin committed Jul 13, 2019
1 parent 664637b commit d397f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"encoding/pem"
"errors"
"fmt"
"strings"
)

// ViaMethod represents the methods available for new device registration
Expand Down Expand Up @@ -179,5 +180,5 @@ func (t AuthenticatorToken) Decrypt(passphrase string) (string, error) {
if err != nil {
return "", err
}
return string(buf), nil
return strings.ToUpper(string(buf)), nil
}

0 comments on commit d397f98

Please sign in to comment.