Coder Social home page Coder Social logo

Comments (6)

noahgibbs avatar noahgibbs commented on September 28, 2024

Sounds good. That's one I haven't intentionally tried to remove, but I also haven't tried to get working yet. Mostly I expect it just needs me to reverse-engineer and document the wire protocol and see if it needs an external server as a relay (I imagine it would.)

from skotos.

shentino avatar shentino commented on September 28, 2024

I can tell you straight up that the UserDB module is the one handling the "server" half of the interconnect process. The games connect to it via their UserAPI modules to the hub's UserDB module, which is why I got alarmed at the stuff you were removing.

from skotos.

shentino avatar shentino commented on September 28, 2024

In particular I think the ctl obj you removed seems problematic.

from skotos.

noahgibbs avatar noahgibbs commented on September 28, 2024

In production, these days AuthD and CtlD are handled by thin-auth. It runs a CtlD server of its own (https://github.com/ChatTheatre/thin-auth/blob/master/server-control.php). The UserDB module might be used in some local configurations? But the local configurations are weird and quirky, and aren't used for the linode production config.

from skotos.

noahgibbs avatar noahgibbs commented on September 28, 2024

One of my big goals is to get to the point where something other than MD5 is involved in any "real" (not dev-only) login. That's hard - even SHA1 hashes, the best that DGD supports, aren't terribly secure. The thin-auth method of using keycodeauth (nonces) can be adequate if we use https for everything, so that's my plan A.

But at this point, SkotOS games haven't been using the built-in CtlD in UserDB for awhile. We want that stuff (e.g. storypoints) to be shared across multiple games, so just having one built-in doesn't do what we want. Instead, UserAPI is used to query an external server for AuthD and CtlD info except in local modes (LOCAL_THEATRE, LOCAL_LOCAL.)

from skotos.

shentino avatar shentino commented on September 28, 2024

I was just hoping you would leave it working the way it originally did internally at skotos if possible. I know next to nothing about the thin auth client and I figured things would be kept simplest if the status quo was preserved.

I think there was a dumb daemon that played middle-man since at the time DGD didn't support outbound connections natively thus skotoslib in turn didn't exploit it.

from skotos.

Related Issues (20)

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.