Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anope/atheme migration module #1042

Closed
slingamn opened this issue May 22, 2020 · 6 comments
Closed

anope/atheme migration module #1042

slingamn opened this issue May 22, 2020 · 6 comments
Labels
Milestone

Comments

@slingamn
Copy link
Member

Idea (unclear whether this proposal will work for both Anope or Atheme, or whether it needs to be specialized to one of them):

  1. Support static import of all plaintext nickname and channel registration records from an existing Anope/Atheme database
  2. Passwords will typically be hashed and cannot be imported directly. Instead, import the nick/account record with empty password credentials. When someone attempts to SASL PLAIN or NICKSERV IDENTIFY, and Oragono has empty password credentials for the account, check the password in a running legacy Anope/Atheme instance via its federation protocol. If it is valid, hash the password in Oragono and store it in the Oragono database.
@slingamn
Copy link
Member Author

Action item: ask #atheme if there's a way to dump the opensex format as JSON.

@slingamn
Copy link
Member Author

Forget federation: let's just reimplement the default Atheme password hashing algorithm and do legacy migration in-process.

@slingamn
Copy link
Member Author

slingamn commented Oct 6, 2020

Initial work on this in #1301

@slingamn slingamn added this to the v2.4 milestone Oct 9, 2020
@slingamn slingamn added the release blocker Blocks release label Oct 9, 2020
@slingamn
Copy link
Member Author

slingamn commented Oct 9, 2020

Note: this needs to preserve modelocks on the +i channel mode (and possibly others).

@slingamn
Copy link
Member Author

slingamn commented Oct 9, 2020

Also channel keys if we can find them?

@slingamn
Copy link
Member Author

This is done as of #1314, but likely has bugs: needs dogfooding from friendly anope / atheme operators.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant