Skip to content

Error "unsupported hash type scrypt" appears when creating new user in Airflow Web UI #51854

@amid-flice

Description

@amid-flice

Apache Airflow version

3.0.2

If "Other Airflow 2 version" selected, which one?

No response

What happened?

After updating from 3.0.1 to 3.0.2 it is now impossible to create new user in Airflow Web UI: "unsupported hash type scrypt" error appears after click on "Save" button. Though it is still possible to create one via CLI (airflow users create) - in that case SHA-256 is used for password hashing by default (if not specified explicitly).

Image

What you think should happen instead?

Creating user from Web UI and CLI should work similarly and use the same hash algo by default.

How to reproduce

Upgrade to 3.0.2

Operating System

Ubuntu 24.04.2 LTS

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetpriority:highHigh priority bug that should be patched quickly but does not require immediate new release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions