Jump to content

Validator has problem with hash_hmac function


Recommended Posts

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

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

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...