Roger A. Light
a1a190b482
Pointless whitespace tidy.
2021-10-05 15:20:37 +01:00
Roger Light
33349010cd
Fix linker error
2021-08-22 07:55:10 +01:00
Roger Light
342aa0ad1a
Fix installation using WITH_TLS=no.
...
Closes #2281 . Thanks to Matt Turner.
2021-08-20 23:49:59 +01:00
Roger Light
2de8c15bc9
Minor build fixes.
2021-03-21 09:18:43 +00:00
Roger A. Light
706a1f3f29
Fix more minor compiler warnings.
2021-01-21 13:33:54 +00:00
Roger A. Light
a4389fc9ce
Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
...
The two licenses are the same.
2021-01-20 11:46:18 +00:00
Roger A. Light
9c4b9a0311
ctrl: Error if new passwords don't match.
...
Produce an error when requesting a new password if both
attempts do not match.
Closes #2011 . Thanks to Willem Eradus.
2021-01-15 12:30:42 +00:00
Roger A. Light
370cec5edd
Fixes for lots of minor build warnings highlighted by Visual Studio.
2021-01-09 21:06:08 +00:00
Roger A. Light
70db9c486e
Disallow control characters in mosquitto_passwd usernames.
2021-01-06 22:44:58 +00:00
Roger Light
f63386bf4a
Fix mosquitto_passwd -b
using username as password.
...
Only applies if if `-c` is not also used.
Closes #1949 . Thanks to J. Augusto de Oliveira.
2020-12-13 20:32:30 +00:00
Roger A. Light
bdfa5e714a
Fix mosquitto_passwd -U
2020-12-09 14:08:37 +00:00
Roger A. Light
3731535298
Add SPDX license identifiers.
2020-12-01 20:46:56 +00:00
Roger A. Light
584cf51ba7
Update to EPL-2.0
2020-11-25 17:34:21 +00:00
Roger A. Light
0713ad38b1
Silence Coverity Scan's concern over password_cmd derefencing.
...
This is a false positive, the conditions to trigger a NULL derefence
rely on argc changing value. However, this makes it impossible to go
wrong anyway.
Coverity Scan 1436868.
2020-11-25 11:04:58 +00:00
Roger A. Light
0c6365726f
Coverity Scan issues.
...
1436823
1436837
1436843
1432792
1436847
1436848
1436849
2020-11-24 10:06:28 +00:00
Roger A. Light
98815c5037
ctrl: Ask for passwords if not given.
...
Applies to login user, init, createClient, and setClientPassword.
2020-10-29 14:35:50 +00:00
Roger A. Light
1b3dc5e978
passwd: Move password getting code to own file for sharing.
2020-10-29 12:48:59 +00:00
Roger A. Light
e82ee879d5
Merge branch 'fixes' into develop
2020-10-27 00:43:07 +00:00
Roger A. Light
cd3dda387a
Fix mosquitto_passwd cmake build.
2020-10-21 14:06:29 +01:00
Roger A. Light
e69dedfc27
Make more portable.
2020-10-21 13:37:54 +01:00
Roger A. Light
6035d8015b
Consistent naming.
2020-10-21 13:33:33 +01:00
Roger A. Light
1851a0e1b1
Add support for pbkdf2 hash iterations.
2020-10-21 13:19:32 +01:00
Roger A. Light
4f61f6c161
Fix conversion errors.
2020-10-17 01:23:08 +01:00
Roger A. Light
89733138bb
CMake build fixes.
2020-10-13 16:07:35 +01:00
Roger A. Light
24a9c7d508
Build variant fixes.
2020-10-13 16:06:12 +01:00
Roger A. Light
f85e004415
Move password functions to own file.
2020-10-13 16:05:34 +01:00