Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add salt when salt on Countly server is set #470

Closed
wants to merge 6 commits into from

Conversation

leewenbil
Copy link

We know that If salt on Countly server is set, all requests would be checked for the validity of &checksum field before being processed. So need to set exactly the same salt on the on the SDK side, then salt to be used for calculating checksum of request data, which will be sent with each request using &checksum field.

@leewenbil leewenbil changed the title Add salt Add salt when salt on Countly server is set Jan 17, 2024
@ArtursKadikis
Copy link
Member

"all requests would be checked for the validity"

what kind of validity are you thinking of? If there would be any mistakes or errors in the params, it would not protect against those.

checksums don't add any additional security for websites since anyone can check the salt value and still fake requests with it.

@turtledreams
Copy link
Contributor

Hi @leewenbil we added this feature at new release (24.4.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants