Skip to content

Implementation feedback for the draft/account-registration specification #555

@SadieCat

Description

@SadieCat

I've implemented both the server (InspIRCd) and services (Anope) side of this specification and I have some implementation feedback:

  • Unlike the SASL specification the draft/account-registration specification doesn't mention whether the capability needs to be requested before the commands can be used. This should probably be required so the server knows to hold the connection until services responds like with SASL.

  • REGISTER allows the user to specify * for their current nickname but VERIFY does not. This should probably be also allowed for consistency.

  • There's currently no way for the server to communicate password restrictions to clients. We should probably at the very least expose the minimum and maximum password length. This would make it a lot easier for clients that perform automatic registration.

  • The registration specification currently hardcodes the use of email as the the contact method. It would be good if we could make this more generic so implementations could implement alternate contact methods.

  • Is the before-connect key actually needed? It feels like a better route would be for the capability to only advertised when the user has the ability to register an account. Implementations that do not allow account registration before connection registrations could advertise its availability with CAP NEW to fully connected users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions