Skip to content

Several improvements to the account-registration spec.#595

Open
sadiepowell wants to merge 6 commits into
ircv3:masterfrom
sadiepowell:accreg
Open

Several improvements to the account-registration spec.#595
sadiepowell wants to merge 6 commits into
ircv3:masterfrom
sadiepowell:accreg

Conversation

@sadiepowell
Copy link
Copy Markdown
Contributor

@sadiepowell sadiepowell commented Mar 21, 2026

See #555 for the rationale.

Closes #555.

@jwheare
Copy link
Copy Markdown
Member

jwheare commented Apr 20, 2026

If all happy, will merge next week.

Comment on lines +52 to +55
presence signifies that the server supports account registration.

The client MUST enable the `draft/account-registration` capability before using
the `REGISTER` and `VERIFY` commands defined by this specification.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? I can understand for during the connection flow, this makes sense, but typing /register and its parameters are user-intuitive to type and it doesn't make sense to gate this behind the cap. Many servers already implement aliases that forward /REGISTER to NickServ automatically, too, existing by default in UnrealIRCd even.

Copy link
Copy Markdown

@0x5c 0x5c Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command already has different semantics than existing nickserv REGISTER commands, both in the arguments it accepts and the replies from the server. A user sending REGISTER without client support will likely not see the server's repliees in their client, and that's with assuming they already guessed the proper argument order and values.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This requirement only limits this specification, UnrealIRCd is free to still provide its existing /REGISTER behaviour if the user does not have the account registration capability.

* `email-required` - if present, registrations require a valid email address
to process

* `max-password-length=<num>` - if present, passwords are restricted to a
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the benefit of capping password lengths?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This exposes a feature of existing services implementations. The limit is generally large (e.g. Anope uses 50 characters) but there still has to be some kind of limit to prevent abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implementation feedback for the draft/account-registration specification

6 participants