xbukovsk Posted May 2, 2016 Share Posted May 2, 2016 Hi everyone, first, i would like to apologize for my not-very-good level of english. I created my own Prestashop module. In this module i used hash_hmac function for verify user indentity against our application. I cant change this function to any other, because my employer requires this function in development specification (i must use "hmac(sha256)" for correct user autentification against our application). The problem is, that prestashop validator show me the error "The use of function hash_hmac() is forbidden". Is there any alternative for this function or exist a way how to deceive prestashop module validator? Thank you all, Vaclav Link to comment Share on other sites More sharing options...
tuk66 Posted May 2, 2016 Share Posted May 2, 2016 (edited) Try this recipe: http://php.net/manual/en/function.hash-hmac.php#93440 Edited May 2, 2016 by tuk66 (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted May 2, 2016 Share Posted May 2, 2016 fact that validator does not validate it, it doesnt mean that you cant build module with this function. in fact, addons marketplace moderators are a humans not robots, so if function will be used properly - they can accept the module. just try and explain problem while you will post addon to marketplace 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now