GithubHelp home page GithubHelp logo

Comments (9)

jech avatar jech commented on July 25, 2024 2

For wildcard passwords, you now say:

"users": {"guest": {"password": {"type": "wildcard"}, "permissions": "present"}}

It's deliberately more verbose, so that you don't accidentally open up the server by omitting the password field.

from galene.

gedw99 avatar gedw99 commented on July 25, 2024 1

BTW there is decent config here: https://github.com/deburau/galene-docker/tree/main/example-configuration-coturn/galene/data

from galene.

jech avatar jech commented on July 25, 2024 1

Please be aware that the master branch is not always well-tested, but it's what's being used on galene.org, so it should be reasonably stable.

In Galene 0.9, the syntax of user definitions has changed. 0.9 will still parse the old syntax, but it will ignore allow-anonymous. In order to achieve the same result, you need to use the new syntax:

"users": {"": {}}

Explanation: the above creates a user with empty username and disabled password, which forbids this user from logging in. (In the old syntax, lack of a password indicates a wildcard password; in the new syntax, lack of a password indicates that an account is disabled.)

from galene.

gedw99 avatar gedw99 commented on July 25, 2024

cheers :)

from galene.

jech avatar jech commented on July 25, 2024

Which branch are you running?

In Galene 0.8, using an empty username is disallowed unless you say

"allow-anonymous": true

In Galene 0.9 (current master), using an empty username is allowed, and there's currently no way to disallow it. If you think the feature is useful, I could add it back.

"" and null seem to do nothing.

The general rule in Galene is that setting "foo": null is always equivalent to omitting the field "foo". This is required if we ever want to use RFC 6902 with Galene. I'll use the empty string for the purpose you suggest.

from galene.

TechnologyClassroom avatar TechnologyClassroom commented on July 25, 2024

I'm running the master branch (commit e68ff86) with the LibreJS patch in production right now. I would prefer having the "allow-anonymous": true config option as it could be worthwhile to potentially give more flavor to a faceless crowd. It is only a preference though and not critical.

from galene.

TechnologyClassroom avatar TechnologyClassroom commented on July 25, 2024

Does that mean there will not be a method for wildcard passwords in 0.9? I did like that option.

from galene.

TechnologyClassroom avatar TechnologyClassroom commented on July 25, 2024

Excellent! Thank you for the clarification!

from galene.

TechnologyClassroom avatar TechnologyClassroom commented on July 25, 2024

Tested and it works. Thank you!

from galene.

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.