Forum Discussion
Harold_Deadman_
Apr 26, 2007Nimbostratus
There are a couple wiki entries and a blog entry on this site that appear to be doing what my simple test i-rule is doing on init. F5 tech support wasn't able to give me any information beyond verifying my syntax so I am asking this forum again if anyone can verify that they have successfully encrypted and base 64 encoded cookies in 9.4 (and then decoded and decrypted the original value). When I have tried to decrypt AES encryption in other languages I get errors related to "padding". Might that be happening here?
Is the AES::decrypt method silently failing and returning an empty string on error? Is there any way to know what the error might be?
These are the other examples of people encrypting and decrypting cookies.
http://devcentral.f5.com/weblogs/Joe/archive/2005/11/09/1541.aspx
http://devcentral.f5.com/wiki/default.aspx/iRules/EncryptingCookie.html
http://devcentral.f5.com/wiki/default.aspx/iRules/ReverseProxyWithBasicSSO.html
Thanks, Hal