Comments (7)
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.
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.
Could you provide an example repo with a minimal reproduction case?
from redux-persist-transform-encrypt.
@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 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.
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.
Closing because no repro was provided.
from redux-persist-transform-encrypt.
Related Issues (20)
- persistor.purge() after error
- Cannot save simple text as state. HOT 2
- Add support for asynchronous encryption HOT 3
- Error: Unable to resolve module `crypto` HOT 2
- ERROR: (0, _reduxPersistTransformEncrypt.default) is not a function HOT 1
- How to update the secretKey async HOT 9
- Update Crypto-js version HOT 2
- Question: Why the Readme says that you should not generate your secret key on the client ? HOT 1
- v4 Not working with react-native HOT 7
- Add encryption to project where users already have unencrypted data HOT 1
- Not working with react native HOT 12
- How to use .env.local variables with next js13 app directory HOT 2
- Could not run jest unit testcases on updating redux-persis-transform-encrypt package version from "3.0.1"to "5.0.0" HOT 4
- Vitest failing with message - Failed to resolve entry for package "redux-persist-transform-encrypt" HOT 3
- Critical Security Vulnerability from crypto-js HOT 1
- Failed to resolve the path HOT 3
- (Question) Need a way to decrypt the value outside the application HOT 1
- Module not found issue in react HOT 13
- Module not found error when using version 5.1.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redux-persist-transform-encrypt.