1. Fielding Warren
  2. 3 Timezones

Commits

Trammell Hudson  committed 58021b6 Merge

merge

  • Participants
  • Parent commits 39910a7, f71a20c
  • Branches default

Comments (0)

Files changed (1)

File auth/src/secret2otp

View file
  • Ignore whitespace
+#!/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)