Commits

Trammell Hudson  committed 58021b6 Merge

merge

  • Participants
  • Parent commits 39910a7, f71a20c

Comments (0)

Files changed (1)

File auth/src/secret2otp

+#!/usr/bin/python
+import sys
+import base64
+
+raw = base64.b32decode(sys.argv[1].upper())
+bytes = [hex(ord(i)) for i in raw]
+
+print '/* DO NOT CHECK IN THIS GENERATED FILE */'
+print ', '.join(bytes)