Code Monkey home page Code Monkey logo

Comments (5)

leewenbil avatar leewenbil commented on June 27, 2024

BTW, I have done some improvements on the branch at https://github.com/leewenbil/countly-sdk-web/tree/add-salt, so it can work when set up the salt. You can also reach the minified SDK countly.with.salt.min.js

from countly-sdk-web.

ArtursKadikis avatar ArtursKadikis commented on June 27, 2024

Hello,
"If set the salt, the Countly can not work. "
I would assume that countly still works, but it doesn't have the salt feature.
This is by design as it is not really possible to have it in a secure way in the browser. We don't plan on adding the salt feature to the web SDK.

I did look at the changes done in your branch. in total in has ~12500 lines changed. There is no way of telling what specific changes you did because you changed the whole formatting.

from countly-sdk-web.

leewenbil avatar leewenbil commented on June 27, 2024

Hello, "If set the salt, the Countly can not work. " I would assume that countly still works, but it doesn't have the salt feature. This is by design as it is not really possible to have it in a secure way in the browser. We don't plan on adding the salt feature to the web SDK.

I did look at the changes done in your branch. in total in has ~12500 lines changed. There is no way of telling what specific changes you did because you changed the whole formatting.

Thank you for your feedback. I got it. I have some change and create the pull request you can review the code(not format).
BTW, why do I do the change? 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.

from countly-sdk-web.

leewenbil avatar leewenbil commented on June 27, 2024

@ArtursKadikis would you please check this? Thank you

from countly-sdk-web.

ArtursKadikis avatar ArtursKadikis commented on June 27, 2024

Hello, @leewenbil , I answered in the PR

from countly-sdk-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.