Giter Site home page Giter Site logo

Comments (7)

hichemBAALI avatar hichemBAALI commented on May 31, 2024 2

image image

I tried to use this library to encrypted my persist storage, but when i run the app and check in the browser storage, the redux state didnt get encrypted, can you help me? thanks

I think that your problem is with the key 'transforms'. You forgot to add the 's'

from redux-persist-transform-encrypt.

jakemckenzie avatar jakemckenzie commented on May 31, 2024

I'm having the exact same issue to this, when I pull up the redux states with the app running in the browser after using this library all the states are visible. Not sure what's happening with this library but it does not appear to be encrypting any data.

from redux-persist-transform-encrypt.

maxdeviant avatar maxdeviant commented on May 31, 2024

Could you provide an example repo with a minimal reproduction case?

from redux-persist-transform-encrypt.

jakemckenzie avatar jakemckenzie commented on May 31, 2024

@maxdeviant before I produce you a reproduction because my project is closed source: is this module only meant to encrypt the states while the application is not running and the states are stored in local storage?

from redux-persist-transform-encrypt.

maxdeviant avatar maxdeviant commented on May 31, 2024

@maxdeviant before I produce you a reproduction because my project is closed source: is this module only meant to encrypt the states while the application is not running and the states are stored in local storage?

Yes, the state is only encrypted at rest. When the store is hydrated from the persisted copy the in-memory state will be decrypted.

from redux-persist-transform-encrypt.

jakemckenzie avatar jakemckenzie commented on May 31, 2024

ction because my project is closed source: is this module only meant to encrypt the states while the application is not running

Alright well on my end this was a miscommunication and I suspect the original poster as well. I expected the state to be encrypted regardless of whether the app was running or not.

from redux-persist-transform-encrypt.

maxdeviant avatar maxdeviant commented on May 31, 2024

Closing because no repro was provided.

from redux-persist-transform-encrypt.

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.