Skip to content

Required changes for Argon2#34

Open
fmohican wants to merge 2 commits into
d1str4ught:mainfrom
fmohican:main
Open

Required changes for Argon2#34
fmohican wants to merge 2 commits into
d1str4ught:mainfrom
fmohican:main

Conversation

@fmohican

Copy link
Copy Markdown
  • expands password to varchar(255)
  • expands email to varchar(255) with utf8mb4
  • changes id to UNSIGNED
  • shrinks ip to varchar(45)
  • adds account_email and account_id indexes

Patch for live servers:
argon2_migration_patch.sql

It also normalizes blank or duplicate emails before creating the unique email index, since that would otherwise fail on existing databases.

…or id,email. Expand �mail to 255 chars (see RFC5321 .5.3.1 and RFC 3696), Set id to be unsigned, so no negative ids, set ip to 45 chars (see RFC 4291 .5.5.2)
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.

1 participant