Code Monkey home page Code Monkey logo

Comments (11)

stef avatar stef commented on July 19, 2024 1

@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:

from libopaque.

stef avatar stef commented on July 19, 2024 1

@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.

stef avatar stef commented on July 19, 2024 1

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.

proguy18 avatar proguy18 commented on July 19, 2024

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.

image

from libopaque.

sofiawong avatar sofiawong commented on July 19, 2024

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
image

@stef
Thanks!

from libopaque.

sofiawong avatar sofiawong commented on July 19, 2024

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 image

@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.

stef avatar stef commented on July 19, 2024

if this answers your question and resolves your issue, please close this issue at your earliest convenience.

from libopaque.

stef avatar stef commented on July 19, 2024

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.

stef avatar stef commented on July 19, 2024

btw sorry for the late response, holidays, afk.

from libopaque.

proguy18 avatar proguy18 commented on July 19, 2024

from libopaque.

stef avatar stef commented on July 19, 2024

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)

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.