Ignacio Gómez
82493106ea
Set gRPC backend name on initialization. Add mode to JWT backend name.
2023-05-24 01:29:14 -03:00
Ignacio Gómez
9fbd6077e3
Merge pull request #281 from iegomez/fix/disable-buildcvs-on-release-binaries-build
...
Fix binary builds by disabling buildcvs.
2023-05-23 23:47:59 -03:00
Ignacio Gómez
608a1e6a72
Fix binary builds by disabling buildcvs.
2023-05-23 23:46:36 -03:00
Ignacio Gómez
83fa4e2159
Merge pull request #280 from iegomez/fix/bump-flagged-golang-org-packages
...
Bump flagged go packages and add test workflow
2023-05-23 22:38:38 -03:00
Ignacio Gómez
c963332520
Add test workflow and push docker images only on releases and merges to master.
2023-05-23 22:20:17 -03:00
Ignacio Gómez
6924985b5b
Bump dependencies and fix mysql test.
2023-05-23 20:41:35 -03:00
Ignacio Gómez
9e9d90b676
Merge pull request #261 from mippersiel/update-documentation
...
Documentation cleaning and minor fixes
2023-02-19 19:17:02 -03:00
Matthieu Ippersiel
3cc94ee495
-Added 'auth_opt_' to all configuration elements
...
-Removed all tabs
-Fixed indentations in tables
-Fixed minor errors in javascript section and added link to Go otto
-Added example scripts in javacript section
-Added examples in HTTP section for JSON queries
2023-01-17 09:35:55 -05:00
Ignacio Gómez
afdc95fbfe
Merge pull request #254 from yamenk-gribaudo/docker-documentation_update
...
Add path to shared object in docker configuration
2023-01-03 18:27:17 -03:00
Ignacio Gómez
2ad45c32e8
Merge pull request #259 from abh/readme
...
README: update version references, markdown syntax tweaks
2023-01-03 18:26:37 -03:00
Ignacio Gómez
5a493c4d6f
Merge pull request #257 from abh/master
...
Bump mosquitto version in github action to 2.0.15
2023-01-03 18:20:41 -03:00
Ask Bjørn Hansen
cd1d99ce5f
README: update version references, markdown syntax tweaks
...
(Also remove the verbose how-to-install Go instructions that was relevant once
upon a time, but not in 2023)
2022-12-31 04:24:02 -08:00
Ask Bjørn Hansen
c1ff5ea83d
Bump mosquitto version in github action to 2.0.15
2022-12-30 22:16:18 -08:00
Yamenk Gribaudo
8a106e26f5
add path to shared object in docker configuration
2022-12-17 19:10:41 -03:00
Ben Hardill
06df2d9b3e
Automatically build binaries for Popular Linux archs ( #253 )
...
* Build Linux binaries on a release
2022-12-08 17:54:56 -03:00
Ignacio Gómez
1f46a50f26
Merge pull request #252 from iegomez/release-2.0.0
...
Release 2.0.0
2022-11-11 09:37:20 -03:00
maab
fb6a5b89e5
Postgres tls/sslmode "verify-full" as default ( #248 )
...
* Make `verify-full` to default postgres sslmode instead of `disable`.
* Adding documentation about postgres sslmode changes to readme
* Change default of sslmode in postgres auth opt table
* Add sslmode to auth opts to fix tests.
2022-11-11 08:27:55 -03:00
Ignacio Gómez
821a58ec71
Merge pull request #251 from maab/fix-testcommands-in-readme
...
Fix docker commands in readme
2022-11-11 07:59:42 -03:00
Martin Abbrent
475a6cd5cd
Fix docker commands in readme: `run-test-in-docker.sh` requires bash but is called with sh.
2022-11-11 09:49:01 +01:00
Nick Ufer
92a9e105cc
feat: makes mutual TLS optional for postgres, mysql/mariadb and grpc ( #244 )
...
* feat: makes mutual TLS optional for postgres and mysql
* feat: makes mutual TLS optional for gRPC
* refactor: replaces deprecated grpc.WithInsecure()
* docs: changes meaning of grpc tls option to client cert
* chore: updates test go version to same as project version (1.18)
* test: adds TLS and mutual TLS support to db and grpc test environments
* chore: adds generated test certificates to .gitignore
* chore: reduces test certificates to minimum key usage
* chore: adds second client certificate which acts as unauthorized
* test: adds mysql tls and mutual tls tests
* refactor: postgres ssl config check
* refactor: change connectTries to 0 for postgres to only have 1 retry by default like mysql
* refactor: postgres sslmode and sslrootcert code
* test: adds postgres tls and mutual tls tests
* fix: treat grpc authOpts grpc_ca_cert, grpc_tls_cert, grpc_tls_key as file paths instead of actual file contents
refactor: improves error logging
* test: adds grpc tls and mutual tls tests
* Fix postgres ssl modes `require`, ``verify-ca` and `verify-full` to work without explicit root certificate.
* refactor: adds warning for unknown pg_sslmode
style: removes empty lines
* style: compress switch case
Co-authored-by: Martin Abbrent <martin.abbrent@ufz.de>
2022-10-05 16:32:36 -03:00
Ignacio Gómez
a5ca115287
Merge pull request #243 from NickUfer/improve_headers_docs
...
docs: adds more details on how to obtain mosquitto headers
2022-09-05 14:19:30 -03:00
Nick Ufer
202c09a390
docs: adds more details on how to obtain mosquitto headers
2022-09-05 17:39:44 +02:00
Ignacio Gómez
e351f00856
Merge pull request #241 from hardillb/bump-lws
...
Bump LWS version to 4.2.2
2022-08-17 11:31:17 -03:00
Ben Hardill
08cfd88ccc
Bump to latest mosquitto (2.0.15)
2022-08-16 18:01:04 +01:00
Ben Hardill
224d7d4d05
Bump LWS version
...
Also add LWS_WITH_EXTERNAL_POLL=ON as this is required for
websockets to work properly
fixes #237
2022-08-16 10:23:59 +01:00
Ignacio Gómez
e1c527a9c3
Merge pull request #234 from tetofonta/master
...
Dockerfile upgrade
2022-07-14 21:36:44 -04:00
Ignacio Gómez
9468bedaf2
Merge pull request #230 from ray66rus/ray66rus/issue-229-pass-decrypted-token-to-jwt-javascript-backend
...
Add option for sending decrypted claims to JWT Javascript backend
2022-06-15 23:42:45 -04:00
Pavel Tolstov
55321df94e
Remove unused parameter from jwtRequest()
2022-06-15 11:28:28 +03:00
Stefano Fontana
390922f98a
fixed dockerfile style
2022-06-13 15:23:39 +02:00
Stefano Fontana
c1c0fdda86
updated dockerfile removing comments as stated in https://github.com/iegomez/mosquitto-go-auth/pull/234#discussion_r895237341
2022-06-13 11:41:17 +02:00
Pavel Tolstov
4e1c35b4c9
Add posibility to get hostname of authorizing backend from "iss" claim of JWT token
2022-06-12 12:28:15 +03:00
Pavel Tolstov
788ee917e4
Add option for sending decrypted claims to JWT Javascript backend
2022-06-11 15:03:37 +03:00
Ignacio Gómez
d904546ac6
Merge pull request #233 from iegomez/feat/http-method-option
...
HTTP/JWT request method
2022-06-10 18:20:35 -04:00
Stefano Fontana
b125a11994
Dockerfile upgrade. Removed dupluicate code, final image has mosquitto_*
2022-06-08 21:12:24 +02:00
Ignacio Gómez
065ec97ee3
Use predefined http constants. Add tests to http backend.
2022-06-05 18:39:10 -04:00
Franz Auernigg
963a5ccb85
Add http method option.
2022-06-05 18:19:59 -04:00
Ignacio Gómez
e051c0b345
Merge pull request #232 from iegomez/cleanup/update-go-and-dependencies
...
Update go and dependencies.
2022-06-05 18:00:29 -04:00
Ignacio Gómez
05b64b5567
Update go and dependencies. Adjust Redis interface.
2022-06-05 16:33:27 -04:00
Ignacio Gómez
98d8b4a6aa
Postgresql fix ( #224 )
...
* Add option to set DB connection max life time in seconds and document it.
Co-authored-by: Thomas Tvedt <thomas@gulost.net>
2022-04-04 19:31:59 -04:00
Ignacio Gómez
6975f3a176
Merge pull request #217 from thomastvedt/patch-1
...
Bump mosquitto version 2.0.14
2021-11-25 10:59:47 -03:00
Thomas Seljen Tvedt
9ded182766
Bump mosquitto version
2021-11-25 14:15:57 +01:00
Ignacio Gómez
d8c1dca334
Merge pull request #206 from thomastvedt/thomastvedt/bump-mosquitto-version
...
Bump mosquitto version to 2.0.12
2021-10-06 09:21:22 -03:00
Thomas Tvedt
f3c7cbcf0c
Bump mosquitto version to 2.0.12
2021-10-06 12:26:45 +02:00
Ignacio Gómez
50f3512492
Merge pull request #202 from iegomez/issue-198-fix-firefox-websockets
...
Issue 198 fix firefox websockets
2021-09-28 09:20:18 -03:00
Ignacio Gómez
12ae7c9307
Merge pull request #201 from flumpt/issue-198-fix-firefox-websockets
...
Always building libwebsockets. Setting flags when running make for mo…
2021-09-28 08:20:14 -03:00
Fabian Gehrs
2331cb4709
Always building libwebsockets. Setting flags when running make for mosquitto.
2021-09-27 12:01:40 +02:00
Ignacio Gómez
3ec27456a1
Tidy go modules.
2021-09-23 21:58:54 -03:00
Ignacio Gómez
d5cf2921e7
Merge pull request #200 from iegomez/issue-197-add-option-to-strip-prefixes
...
Add option to strip prefixes upon checking user or acl.
2021-09-23 21:49:05 -03:00
Ignacio Gómez
49073c8a62
Merge pull request #199 from iegomez/issue-198-fix-firefox-websockets
...
Disable http2 to workaround websockets issues in Firefox.
2021-09-23 20:42:26 -03:00
Ignacio Gómez
fa99ba6583
Add option to strip prefixes upon checking user or acl.
2021-09-23 20:40:32 -03:00