risingwave_frontend::user

Module user_authentication

source

Constantsยง

Functionsยง

  • Build AuthInfo for OAuth.
  • encrypt_default ๐Ÿ”’
    Encrypt the password with MD5 as default.
  • Try to extract the encryption password from given password. The password is always stored encrypted in the system catalogs. The ENCRYPTED keyword has no effect, but is accepted for backwards compatibility. The method of encryption is by default SHA-256-encrypted. If the presented password string is already in MD5-encrypted or SHA-256-encrypted format, then it is stored as-is regardless of password_encryption (since the system cannot decrypt the specified encrypted password string, to encrypt it in a different format).
  • Encrypted raw password from auth info.
  • Encrypt โ€œpassword+nameโ€ with MD5.
  • Encrypt the stored password with given salt, used for user authentication.
  • Encrypt โ€œpassword+nameโ€ with SHA-256.
  • valid_md5_password ๐Ÿ”’