Roger A. Light
aa8fc9a5bf
Make migration scripts executable and add shebang
2026-02-06 15:18:13 +00:00
Roger A. Light
7de6cb42ef
Compiler warning fixes
2026-01-23 08:44:34 +00:00
Roger A. Light
0ba2436589
Remove unused srand() etc. functions
2025-10-15 11:49:13 +01:00
Roger A. Light
460995652e
Formatting: Apply to C headers
2025-09-17 12:48:02 +01:00
Roger A. Light
7ea73f6d60
Formatting: Forbid single line if statements
...
These hide cases from coverage checks
2025-09-17 12:48:02 +01:00
Roger A. Light
48b76e49f8
Formatting: Misc automatic formatting changes
2025-09-17 12:03:06 +01:00
Roger A. Light
883fdb2ad2
Formatting: Double indent continuation
2025-09-17 12:03:06 +01:00
Roger A. Light
d743413ac3
Formatting: Spacing consistency
2025-09-17 12:03:06 +01:00
Roger A. Light
67ad22df0a
Formatting: Double space before functions.
2025-09-17 12:03:03 +01:00
Roger A. Light
40f814a8dc
Fix Coverity Scan #1589589
...
Leak on error in config load
2025-08-22 11:14:00 +01:00
Steve Hamann
2d6ad4a27f
Add migration of mosquitto.conf to DynSec migration script
...
Signed-off-by: Steve Hamann <steve.hamann@cedalo.com >
2025-08-04 18:30:21 +01:00
Roger A. Light
65ad337bbb
dynsec: Add getDetails command
2025-07-17 17:04:48 +01:00
Steve Hamann
ff0afc8374
Implement migration script to migrate from ACL file to DynSec
...
Signed-off-by: Steve Hamann <steve.hamann@cedalo.com >
2025-07-10 00:46:17 +01:00
Roger A. Light
2ff2029c42
mosquitto_ctrl interactive shell mode
2025-04-16 15:42:51 +01:00
Roger A. Light
3511db6889
Whitespace tidy
2025-04-06 22:40:48 +01:00
Roger A. Light
b5e21d146d
Move password functions to libcommon.
2024-06-12 21:26:25 +01:00
Roger A. Light
db6ab6869a
Fix mismatched alloc/frees
2024-04-25 16:20:14 +01:00
Roger Light
20b34150f2
Windows build fixes
2024-03-27 08:38:13 +00:00
Roger A. Light
78cba447a2
Fix dynsec linking
2024-03-18 14:02:51 +00:00
Roger A. Light
4498193331
Refactor file functions to common static library.
2024-03-17 23:13:11 +00:00
Roger A. Light
16d465fa49
Refactor base64 functions to common static library.
2024-03-17 21:34:27 +00:00
Roger A. Light
340c4f323f
Rename cmake helper functions.
2024-03-05 09:36:15 +00:00
Roger A. Light
9691ab42f6
Fix incorrect json_get_int call.
2024-03-04 17:39:35 +00:00
Roger A. Light
bac0cdbfc3
Fix oss-fuzz priority issue
2024-03-02 19:44:45 +00:00
Roger A. Light
f39ecb3d27
Factor out a load of duplicated makefile code
2024-03-02 10:35:45 +00:00
Roger A. Light
dcd5b803f2
Merge branch 'fixes' into develop
2024-02-21 23:30:33 +00:00
Roger A. Light
fe3b72ef61
Remove a load of cmake boilerplate
2024-02-15 13:39:11 +00:00
Roger A. Light
c6436ad6b2
Revert change of default ACL priority
2024-02-15 11:40:12 +00:00
Roger A. Light
f0c5b69e64
Fix dynsec config init with password from envvar.
2024-02-15 11:22:39 +00:00
Roger A. Light
a5490a7408
oss-fuzz build fixes
2024-02-13 13:11:07 +00:00
Roger A. Light
3199768aef
Dynsec: Max priority of 100,000
2024-02-11 23:40:41 +00:00
Roger A. Light
05e42f7dbb
Default to using argon2 for passwords
2024-02-11 22:08:16 +00:00
Roger A. Light
d17a88d916
Refactor headers for easier discovery.
2023-12-23 12:59:58 +00:00
Roger A. Light
837c272c29
Add argon2 password hash support
2023-11-20 22:58:42 +00:00
Roger A. Light
b6710f9364
Refactor password code
2023-11-20 22:58:42 +00:00
Roger A. Light
fe4fe0102f
Place client context in mosquitto_control_cmd for API simplicity
2023-10-11 15:12:49 +01:00
Roger A. Light
13fa9f535a
Protect password init file
2023-09-20 21:40:22 +01:00
Roger A. Light
7a011ede19
Localise variable use
2023-09-20 21:38:48 +01:00
Roger A. Light
c8e313aac0
Fix build
...
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light
97c25654ed
Add helper messages for lax permissions
2023-09-18 22:21:56 +01:00
Roger A. Light
e656e694ed
Merge branch 'master' into develop
2023-09-09 15:20:40 +01:00
Roger A. Light
b76c3c7820
Dynsec: Don't allow duplicate c/g/r when loading config
2023-08-16 14:01:21 +01:00
Roger A. Light
8bc047511a
Fix any possible case where a json string might be incorrectly loaded.
2023-08-16 14:01:21 +01:00
Roger A. Light
411ed41c27
Dynsec: Simplify config load
2023-08-16 14:01:21 +01:00
Roger A. Light
67ac8cbe17
mosquitto_memcmp_const is now more constant time.
2023-08-16 14:01:21 +01:00
Roger A. Light
4ca294fd9c
Warn on lax permissions on sensitive files.
...
- Broker will log warnings if sensitive files are world readable/writable, or
if the owner/group is not the same as the user/group the broker is running
as. In future versions the broker will refuse to open these files.
2023-08-16 14:01:21 +01:00
Roger A. Light
a31bee722f
Simplify make build.
2023-05-10 16:20:06 +01:00
Roger A. Light
bc1315820c
Don't require cJSON in mosquitto_broker.h
2023-04-24 20:09:41 +01:00
Roger A. Light
f317a0fdfe
Fix incorrect free
2023-04-23 20:14:03 +01:00
Roger A. Light
747fcacd67
Make args const where possible, fix persist-sqlite build.
2023-04-19 22:54:53 +01:00