Spoons
Spoons copied to clipboard
How to make Token work for multiple secret keys?
From documentation I can't get how to make Token work with multiple secret keys.
This doesn't work and on F8 it produces the OTP for key_2.
Install:andUse('Token', {
hotkeys = { generate = { hyper, "F8" } },
config = { secret_key = "key_1" }
})
Install:andUse('Token', {
hotkeys = { generate = { hyper, "F10" } },
config = { secret_key = "key_2" }
})
Any suggestions @teunvink
Not really, this is so far from what I originally wrote that I have no idea. My own code can be included more than once with different keybinds and different token seeds without any problems, I use that for myself that way.