mosquitto-go-auth/test-files
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
..
certificates feat: makes mutual TLS optional for postgres, mysql/mariadb and grpc (#244) 2022-10-05 16:32:36 -03:00
js Add javascript backend. 2021-02-11 11:02:53 -03:00
jwt Add option for sending decrypted claims to JWT Javascript backend 2022-06-11 15:03:37 +03:00
acls Add tests for files fixes... not yet ready, patterns are failing. 2021-03-05 18:15:53 -03:00
acls-only Add JWT files mode. Now both JWT and Files may use the generally available strict files checker. 2021-04-27 19:58:54 -04:00
acls-read-only Add JWT files mode. Now both JWT and Files may use the generally available strict files checker. 2021-04-27 19:58:54 -04:00
passwords Add tests for files fixes... not yet ready, patterns are failing. 2021-03-05 18:15:53 -03:00