Comments (11)
@proguy18 js/demo
might be a bit bitrotten away, sorry about that, it might or might not work. i'm not a js guy, most of the js code was contributed by @creemama i'm able to maintain it and keep it working, but i have no or very little understanding of this demo, and i think it might be out of sync with the rest of the codebase. however you can find demos in /demos/...
of which two contain client-side js which runs in a browser and these are also maintained and run on my demo server at:
- https://ctrlc.hu/opaque/
- https://ctrlc.hu/opaque-blob/
i hope these might help you in understanding how this works, at least on the client side.
from libopaque.
@sofiawong great that you solved your issue by downgrading. however i'd like to ask you to open separate issues for problems unrelated to the issue here or elsewhere.
from libopaque.
please keep me up to date if you ever build something with libopaque, i'm very interested in people using and deploying this.
from libopaque.
I have went ahead and tried debugging, and the problem error arises in line 364 of libopaque.debug.js. I'm assuming context was never instantiated, therefore, is left empty.
from libopaque.
I have issues using libopaque for js side. I also tried to install libopaque through npm but it also gives me error
This error occurs when I paste libopaque.js inside the node modules folder. I already install fs module
@stef
Thanks!
from libopaque.
I have issues using libopaque for js side. I also tried to install libopaque through npm but it also gives me error
This error occurs when I paste libopaque.js inside the node modules folder. I already install fs module
@stef Thanks!
I solved the issue by downgrading react-scripts v 5.0.1 to v 4.0.0 to resolve the fs module not found
from libopaque.
if this answers your question and resolves your issue, please close this issue at your earliest convenience.
from libopaque.
i have to admit i have never (afaik) created or submitted an npm package. as said earlier here, i'm not a js guy, i have no clue how these things go. i suppose it might be related to the js/package.json
file somehow? anyway that should clearly explain why installing libopaque from npm might not work, it is simply because the npm package is outdated and needs to be updated. any help with js is very warmly welcome ;)
from libopaque.
btw sorry for the late response, holidays, afk.
from libopaque.
from libopaque.
Will do, Currently trying to make a simple authentication system using OPAQUE, just haven’t found a js one with examples or good documentation until this one. Assumed the demo was based on the codebase so I assume the demos broken but the code’s not? Will try resume building my app and keep you posted!
nah, it's the other way around, the https://github.com/stef/libopaque/tree/master/demos are working and maintained, while this https://github.com/stef/libopaque/tree/master/js/demo is mostly bitrotting away sadly, i guess i should remove this, or fix it.
from libopaque.
Related Issues (11)
- Add JavaScript bindings for libopaque HOT 4
- µnit test started failing after 0-ing the size of notpackaged id[US] in unpack HOT 4
- Split out OPRF functionality? HOT 6
- Error when run "make" command HOT 20
- Explicitly specify SASL mechanism HOT 21
- Change context string of byte type in createcredentialresponse to string type and context string HOT 12
- I have issues using libopaque for js side. I also tried to install libopaque through npm but it also gives me error HOT 1
- linker command failed with exit code 1 HOT 6
- Alternative location for liboprf HOT 9
- The password should never be disclosed to the server 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 libopaque.