Comments (9)
Can you guys please clean the localStorage once and try it?
If you were on older version, the way data was stored was using a different method than in the latest version i.e. v1.2.1. So, you need to clean the localStorage once before using the latest version
from secure-ls.
This error also appeared to me too. I'm using 1.2.6 and haven't used earlier version yet.
Not confirmed yet, but I think this issue appears if a emoji (due compression) is saved on value:
As text, if you need it:
ᕡᠸ䆼ʀ焣⠺怭ĸۀẠ❌ÁRļω倹䁇䁙ढ䰢⢀ᖠ⒠楌ÈĂျ䁜䀷䀽䨠ߓᴠؠ幀
from secure-ls.
For the moment I've changed my encoding to base64 and it seems to work fine but when using non base-64 encoding it still shows me that error
from secure-ls.
I met the same problem,
I resolved it when I clear the local storage
from secure-ls.
Please update to v1.2.1
and let me know if you still facing the issue.
from secure-ls.
I am facing the same issue on latest version. Is there a fix for it?
I am encrypting using AES but no successful decryption.
from secure-ls.
Has this issue been fixed ?
from secure-ls.
i met the same problem,
i resolved it when i clear the localstorage
from secure-ls.
@adewangyao , thanks for replying. I've seen that, but for me clearing the localStorage it's not an option. I have multiple tabs opened and I'm using the secure-ls library to encode and decode an access_token
from secure-ls.
Related Issues (20)
- how to delete key HOT 1
- ERROR in node_modules/secure-ls/dist/secure-ls.d.ts(17,21): error TS1122: A tuple type element list cannot be empty. HOT 2
- .clear() erase all namespaces HOT 3
- ReferenceError: localStorage is not defined HOT 3
- removeAll() removes the wrong metaKey HOT 3
- secure-ls ( v.^1.2.6") can't find variable localStorage HOT 2
- Error while using Secure-Ls in Angular strict mode HOT 1
- Is it safe to store access token with secure-ls
- @types/crypto-js"' has no exported member 'CipherHelper' & 'Encoder' HOT 1
- Non compatible anymore with Vuex (Vue.js State Store) HOT 1
- How to encrypt sessionStorage using vuex-persistedstate? HOT 2
- Object doesn't save on mac HOT 1
- Firefox and Chromium Support
- Is it possible to set and decrypt with different LS instances (i.e. Cypress and FE Framework)
- _secure__ls__metadata HOT 2
- Incompatible lz-string 1.5.0 HOT 7
- Is this a vulnerability? HOT 1
- Update crypto-js HOT 5
- secure-ls not compatible with pnpm + esBuild: has no exported member 'LZStringStatic'
- Webpack errors after upgrading to 2.0.0
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 secure-ls.