view for hivemq migration

This commit is contained in:
Wolfgang Hottgenroth 2022-11-21 15:18:42 +01:00
parent eacbb6180c
commit c6c8db5e98
Signed by: wn
GPG Key ID: 836E9E1192A6B132
4 changed files with 8 additions and 3 deletions

2
.gitmodules vendored
View File

@ -3,4 +3,4 @@
url = https://github.com/eclipse/mosquitto.git url = https://github.com/eclipse/mosquitto.git
[submodule "parts/mosquitto-go-auth"] [submodule "parts/mosquitto-go-auth"]
path = parts/mosquitto-go-auth path = parts/mosquitto-go-auth
url = https://github.com/iegomez/mosquitto-go-auth.git url = git@github.com:wollud1969/mosquitto-go-auth.git

View File

@ -1 +1 @@
2.0.15-1.9.1-03 2.0.15-1.9.1-04

View File

@ -0,0 +1,5 @@
create or replace view hivemq_to_mosquitto_auth_v as
select username,
'PBKDF2$' || lower(algorithm) || '$' || password_iterations || '$' || password_salt || '$' || "password" as pw
from users;

@ -1 +1 @@
Subproject commit 9468bedaf2c5e194b5ee8ade1fa37236782fb41a Subproject commit 5085a8c66c6d76b8c3105017b544b291cff64c54