remove these bounds checks
This commit is contained in:
parent
fd3f86c8a5
commit
2873351496
|
@ -9,9 +9,6 @@ name in the secret store.
|
|||
"""
|
||||
|
||||
proc code*(root: string, args: seq[string]) =
|
||||
if args.len != 1:
|
||||
quit "I need a machine name"
|
||||
|
||||
try:
|
||||
var
|
||||
keyFileName = args[0]
|
||||
|
|
|
@ -17,9 +17,6 @@ available for `totptool code` instantly.
|
|||
"""
|
||||
|
||||
proc newSecret*(root: string, args: seq[string]) =
|
||||
if args.len != 1:
|
||||
quit "I need a machine name"
|
||||
|
||||
var
|
||||
res = generateUUID()[0 .. 19]
|
||||
body: string
|
||||
|
|
Loading…
Reference in New Issue