codenotary / immudb

immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history
https://immudb.io
Other
8.52k stars 337 forks source link

Allow the user to force unsafe password in immuadmin #1949

Closed ostafen closed 2 months ago

ostafen commented 3 months ago

This PR is meant to relax immudb's password policy in order to match PostgreSQL/MySQL behavior (allow any password to be set).

Previously, the user was required to always set a strong password either at first login or user creation time (even though the changepassword command allowed to set a non strong password). A warning is still prompted to the user in the case a weak password is entered, but they can choose to ignore it.

coveralls commented 2 months ago

Coverage Status

coverage: 89.502% (-0.006%) from 89.508% when pulling 0c418035a90e0967166a9e73ef25ef77fb21fd45 on ostafen:immuadmin-password-warning into 986e480cdffbfa631d554b7afe44d3a4ac73a9c8 on codenotary:master.