One Time Passwords via an SMS Gateway with BIG-IP Access Policy Manager
Published Feb 08, 2011
Version 1.0Was this article helpful?
I am trying to implement the OTP generation using the iRule but its giving error, could anyone please let me know how I can make it work for 11.1.0 HF4
Errors:
+++++++++++++++++++++++++++++++++++
01070151:3: Rule [/Common/OTP_iRule] error:
line 2: [use curly braces to avoid double substitution] [srand([clock clicks])]
line 3: [wrong args] [set tmpKey [CRYPTO::keygen -alg random -len 128 -passphrase ]AES::key 128[ -rounds 2]]
line 3: [undefined procedure: -rounds] [-rounds 2]
line 4: [wrong args] [set otp [string toupper ]string range [b64encode $tmpKey] 0 5[]]
line 4: [wrong args] [string toupper ]
+++++++++++++++++++++++++++++++
Thanks
Arry.