config: update password hashes after auth_type change
User password is stored in a system space is a form of hash when 'chap-sha1' auth type is set, and in a form of hash with salt when 'pap-sha256' is set. Now, if a user is set inside config, and the current auth type is different from the type the users password is stored in, the password hash will be regenerated. Part of #8967 NO_DOC=documentation request will be filed manually for the whole credentials
Showing
- changelogs/unreleased/gh-8967-creds-consider-auth-type.md 5 additions, 0 deletionschangelogs/unreleased/gh-8967-creds-consider-auth-type.md
- src/box/lua/config/applier/credentials.lua 22 additions, 11 deletionssrc/box/lua/config/applier/credentials.lua
- test/config-luatest/credentials_applier_test.lua 49 additions, 0 deletionstest/config-luatest/credentials_applier_test.lua
Please register or sign in to comment