Skip to content
Snippets Groups Projects
Forked from Arch Linux / aurweb
Source project has a limited visibility.
  • Lukas Fleischer's avatar
    29a48708
    Use bcrypt to hash passwords · 29a48708
    Lukas Fleischer authored
    
    Replace the default hash function used for storing passwords by
    password_hash() which internally uses bcrypt. Legacy MD5 hashes are
    still supported and are immediately converted to the new format when a
    user logs in.
    
    Since big parts of the authentication system needed to be rewritten in
    this context, this patch also includes some simplification and
    refactoring of all code related to password checking and resetting.
    
    Fixes FS#52297.
    
    Signed-off-by: default avatarLukas Fleischer <lfleischer@archlinux.org>
    29a48708
    History
    Use bcrypt to hash passwords
    Lukas Fleischer authored
    
    Replace the default hash function used for storing passwords by
    password_hash() which internally uses bcrypt. Legacy MD5 hashes are
    still supported and are immediately converted to the new format when a
    user logs in.
    
    Since big parts of the authentication system needed to be rewritten in
    this context, this patch also includes some simplification and
    refactoring of all code related to password checking and resetting.
    
    Fixes FS#52297.
    
    Signed-off-by: default avatarLukas Fleischer <lfleischer@archlinux.org>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.