Giter Site home page Giter Site logo

Comments (6)

noahtalerman avatar noahtalerman commented on May 27, 2024

I encounter the same error message when I reproduce the steps you've outlined. Great catch.
Allowing for the email to be used as the username while the username is not allowed to have '@' characters seems like a difficult loop.
With what prior release of Fleet had you been successful with this setup?

from fleet.

defensivedepth avatar defensivedepth commented on May 27, 2024

Currently running 3.1.0 and it works fine.

from fleet.

noahtalerman avatar noahtalerman commented on May 27, 2024

I just attempted setup with Fleet 3.1.0 via fleetctl without specifying a username. I got the same error. I'm not sure why this error doesn't occur when you setup with 3.1.0, because it appears that usernames with '@' characters have been invalid even before 3.1.0.

I'm going to investigate further.

from fleet.

defensivedepth avatar defensivedepth commented on May 27, 2024

Here is the Dockerfile we use:

https://github.com/Security-Onion-Solutions/securityonion-image/blob/master/so-fleet/Dockerfile

And the Fleet setup script: https://github.com/Security-Onion-Solutions/securityonion/blob/master/salt/common/tools/sbin/so-fleet-setup#L18

from fleet.

defensivedepth avatar defensivedepth commented on May 27, 2024

7c923d9#diff-ab346cdbec51e188f9dd8d33a02497daeba0ad7b5ecea879a9da798eb3bf8f0a

from fleet.

zwass avatar zwass commented on May 27, 2024

Good find, Josh. Looks like we were always enforcing no @ in username for every user besides the first one (or maybe just attempting to) and copied that validation over in the commit you found.

I think we can go ahead and remove this requirement for all users.

from fleet.

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.