One Time Passwords via an SMS Gateway with BIG-IP Access Policy Manager
One time passwords, or OTP, are used (as the name indicates) for a single session or transaction. The plus side is a more secure deployment, the downside is two-fold—first, most solutions involve a ...
Published Feb 08, 2011
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
AJ_6093
Nov 13, 2012Nimbostratus
Hi,
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.