Comments (2)
I would not store sensitive user data (emails, passwords, ect) for user login i would suggest a third party such as uport. If you are making a simple app, as I first did when learning about orbit, you can try what i tried which is to encrypt both the email and password such that the given encryption can be checked later (see code snippet at the bottom) though this is not very safe from phishing attacks and brute force.
// email, password given
// store = orbit-kv-store
email_hash = sha256(email)
user_key = sha256(email + password)
// to store login
store.set(email_hash, user_key)
// to check user
store.get(email_hash) == user_key
from orbitdb.
Agreed with @ccutch. See #229 (comment) for more details.
from orbitdb.
Related Issues (20)
- Recover from [AggregateError: All promises were rejected] Error: Want for xyz aborted HOT 4
- Uncaught Error: Could not append entry: although write access is granted HOT 7
- Error: fetching raw block for CID HOT 4
- TS7016: Could not find a declaration file for module @orbitdb/core. HOT 3
- Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=115 uv=1 armv=8 libc=glibc node=20.11.0 webpack=true HOT 1
- Log Entries created on remote/other Peers are not Pinned Locally HOT 5
- database record limits for acceptable lookup performance HOT 7
- Error: Want for bafyreighfb3szinnqrktnuyriifexl2bcgpisbrlbaxfs4kgqp6ocwjbmy aborted HOT 11
- Sync only to N entries. HOT 1
- Issue with GETTING_STARTED.md LevelBlockstore HOT 2
- Issue with GETTING_STARTED.md page HOT 4
- Can't open existing database HOT 6
- When put data, tell me 'PublishError.NoPeersSubscribedToTopic' error. How can i fix this? THX HOT 3
- OrbitDB can't be opened - AggregateError: All promises were rejected HOT 5
- Update config to use `allowPublishToZeroTopicPeers` HOT 2
- Altering protection to prevent changing data of other users HOT 2
- Unable to Index Documents with Custom IPFSBlockStorage (pure browser environment)
- Integration Issue with Helia: Custom Service Configuration Disables Peer Discovery in Browser Environment HOT 3
- Code Sample Issues in OrbitDB Documentation for Access Controllers HOT 2
- issue trying to get multiple nodejs peers to sync HOT 5
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 orbitdb.