]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Stephan Bosch [Tue, 7 Mar 2023 03:05:18 +0000 (04:05 +0100)]
auth: sasl-server - Drop sasl_server_mech_generic_auth_free()
Stephan Bosch [Tue, 21 Mar 2023 22:44:58 +0000 (23:44 +0100)]
auth: auth-request - Move SASL_MECH_SEC_ALLOW_NULS check to sasl-server
Stephan Bosch [Fri, 17 Mar 2023 00:50:53 +0000 (01:50 +0100)]
auth: sasl-server - Add sasl_server_request_input()
Stephan Bosch [Fri, 17 Mar 2023 00:43:56 +0000 (01:43 +0100)]
auth: sasl-server - Add sasl_server_request_initial()
Stephan Bosch [Sun, 19 Nov 2023 02:55:39 +0000 (03:55 +0100)]
auth: sasl-server-request - Allow auth_new and auth_free mechanism functions to be NULL
Stephan Bosch [Mon, 6 Mar 2023 13:45:00 +0000 (14:45 +0100)]
auth: sasl-server - Move mechanism activities to use struct sasl_server_mech_request
Stephan Bosch [Mon, 6 Mar 2023 22:32:58 +0000 (23:32 +0100)]
auth: sasl-server - Rename struct mech_module to struct struct sasl_server_mech_def
Stephan Bosch [Tue, 7 Mar 2023 02:03:27 +0000 (03:03 +0100)]
auth: sasl-server - Make mech_module_list use a pointer to mech_module
Stephan Bosch [Mon, 6 Mar 2023 03:11:54 +0000 (04:11 +0100)]
auth: sasl-server - Add sasl_server_request_{start|accept}_channel_binding
These wrap auth_request_{start|accept}_channel_binding().
Stephan Bosch [Mon, 6 Mar 2023 02:39:52 +0000 (03:39 +0100)]
auth: sasl-server - Add sasl_server_request_get_extra_field()
Stephan Bosch [Mon, 6 Mar 2023 02:22:51 +0000 (03:22 +0100)]
auth: sasl-server-mech-digest-md5 - Centralize realm handling in sasl-server-request.c
Stephan Bosch [Mon, 6 Mar 2023 02:15:33 +0000 (03:15 +0100)]
auth: sasl-server - Add sasl_server_request_set_realm()
Wraps auth_request_set_realm().
Stephan Bosch [Mon, 6 Mar 2023 02:00:27 +0000 (03:00 +0100)]
auth: sasl-server - Add sasl_server_request_set_authzid()
Wraps auth_request_set_login_username().
Stephan Bosch [Sun, 5 Oct 2025 01:57:54 +0000 (03:57 +0200)]
auth: sasl-server - Add sasl_server_request_set_authid()
Wraps auth_request_set_username() in normal, anonymous and external contexts.
Stephan Bosch [Sun, 5 Oct 2025 01:57:49 +0000 (03:57 +0200)]
lib-auth: auth-scram-server - Don't pass error message through set_*username() calls
Let the application log it directly.
Stephan Bosch [Wed, 22 Mar 2023 03:31:27 +0000 (04:31 +0100)]
auth: Include auth-client-interface.h from auth-client-connection.h
It makes more sense there anyway.
Stephan Bosch [Sun, 5 Mar 2023 19:41:27 +0000 (20:41 +0100)]
auth: sasl-server - Rename enum mech_passdb_need to sasl_mech_passdb_need
Stephan Bosch [Sat, 4 Mar 2023 22:44:37 +0000 (23:44 +0100)]
auth: sasl-server - Add enum sasl_passdb_result_status and use it in the mechanisms
Stephan Bosch [Sat, 4 Mar 2023 21:38:01 +0000 (22:38 +0100)]
lib-auth-client: auth-client-interface - Rename and move mechanism security flags
Move to lib-sasl.
Stephan Bosch [Sat, 4 Mar 2023 15:16:22 +0000 (16:16 +0100)]
auth: sasl-server - Add sasl_server_request_set_credentials()
Wraps auth_request_set_credentials().
Stephan Bosch [Sat, 4 Mar 2023 15:11:46 +0000 (16:11 +0100)]
auth: sasl-server - Add sasl_server_request_lookup_credentials()
Wraps auth_request_lookup_credentials().
Stephan Bosch [Sat, 4 Mar 2023 15:03:17 +0000 (16:03 +0100)]
auth: sasl-server - Add sasl_server_request_verify_plain()
Wraps auth_request_verify_plain().
Stephan Bosch [Sat, 4 Mar 2023 03:32:42 +0000 (04:32 +0100)]
auth: sasl-server - Add sasl_server_request_internal_failure()
Wraps auth_request_internal_failure().
Stephan Bosch [Sat, 4 Mar 2023 03:00:51 +0000 (04:00 +0100)]
auth: sasl-server - Add sasl_server_request_failure()
Wraps auth_request_fail().
Stephan Bosch [Sat, 4 Mar 2023 02:25:38 +0000 (03:25 +0100)]
auth: sasl-server - Add sasl_server_request_success()
Wraps auth_request_success().
Stephan Bosch [Sat, 4 Mar 2023 01:31:39 +0000 (02:31 +0100)]
auth: sasl-server - Add sasl_server_request_output()
Wraps auth_request_handler_reply_continue().
Stephan Bosch [Tue, 14 Mar 2023 21:27:42 +0000 (22:27 +0100)]
auth: auth-sasl - Add auth_sasl_request_accept_channel_binding()
Stephan Bosch [Tue, 14 Mar 2023 21:24:18 +0000 (22:24 +0100)]
auth: auth-sasl - Add auth_sasl_request_start_channel_binding()
Stephan Bosch [Tue, 14 Mar 2023 21:18:58 +0000 (22:18 +0100)]
auth: auth-sasl - Add auth_sasl_request_get_extra_field()
Stephan Bosch [Tue, 14 Mar 2023 21:16:06 +0000 (22:16 +0100)]
auth: auth-sasl - Add auth_sasl_request_set_realm()
Stephan Bosch [Tue, 14 Mar 2023 21:12:19 +0000 (22:12 +0100)]
auth: auth-sasl - Add auth_sasl_request_set_authzid()
Stephan Bosch [Tue, 14 Mar 2023 00:40:02 +0000 (01:40 +0100)]
auth: auth-sasl - Add auth_sasl_request_set_authid()
Stephan Bosch [Tue, 14 Mar 2023 00:13:57 +0000 (01:13 +0100)]
auth: auth-sasl - Add auth_sasl_request_set_credentials()
Stephan Bosch [Tue, 14 Mar 2023 00:08:05 +0000 (01:08 +0100)]
auth: auth-sasl - Add auth_sasl_request_lookup_credentials()
Stephan Bosch [Tue, 14 Mar 2023 00:01:33 +0000 (01:01 +0100)]
auth: auth-sasl - Add auth_sasl_request_verify_plain()
Stephan Bosch [Mon, 13 Mar 2023 23:21:23 +0000 (00:21 +0100)]
auth: auth-sasl - Add auth_sasl_request_output()
Stephan Bosch [Wed, 22 Mar 2023 16:20:24 +0000 (17:20 +0100)]
auth: sasl-server - Add sasl_server_mech prefix to plain_verify_callback()
Stephan Bosch [Mon, 6 Mar 2023 21:39:22 +0000 (22:39 +0100)]
auth: sasl-server - Add sasl_server_ prefix to mech_generic_auth_initial()
Stephan Bosch [Mon, 6 Mar 2023 21:33:49 +0000 (22:33 +0100)]
auth: sasl-server - Add sasl_server_ prefix to mech_generic_auth_free()
Stephan Bosch [Sat, 4 Nov 2023 13:56:49 +0000 (14:56 +0100)]
auth: sasl-server-mech-oauth2 - Move auth_sasl_oauth2_verify_token() to auth-sasl-mech-oauth2
Stephan Bosch [Sat, 4 Nov 2023 13:53:28 +0000 (14:53 +0100)]
auth: sasl-server-mech-oauth2 - Add failure/success functions
For upcoming OAuth2 backend API
Stephan Bosch [Sat, 4 Nov 2023 13:44:31 +0000 (14:44 +0100)]
auth: sasl-server-mech-oauth2 - Split off auth_sasl_oauth2_verify_token()
Will be moved.
Stephan Bosch [Sat, 4 Nov 2023 00:50:13 +0000 (01:50 +0100)]
auth: sasl-server-mech-oauth2 - Allow passing more detailed error fields to client
Stephan Bosch [Thu, 5 Oct 2023 15:59:41 +0000 (17:59 +0200)]
auth: Move mech_generic_auth_free() to sasl-server-mech.c
Stephan Bosch [Thu, 5 Oct 2023 15:58:05 +0000 (17:58 +0200)]
auth: Move mech_generic_auth_initial() to sasl-server-mech.c
Stephan Bosch [Wed, 22 Mar 2023 02:59:38 +0000 (03:59 +0100)]
auth: Add structural comment to sasl-server-protected.h
Stephan Bosch [Sun, 29 Oct 2023 01:48:29 +0000 (02:48 +0100)]
auth: sasl-server-mech-* - Remove passdb.h includes
Stephan Bosch [Tue, 21 Mar 2023 23:49:04 +0000 (00:49 +0100)]
auth: Move contents of mech.h to sasl-server headers
Stephan Bosch [Mon, 30 Oct 2023 02:11:31 +0000 (03:11 +0100)]
auth: mech - Move MAX_MECH_NAME_LEN to auth-sasl and add prefix
Stephan Bosch [Wed, 22 Mar 2023 16:23:24 +0000 (17:23 +0100)]
auth: sasl-server - Update header guard definition identifiers
Stephan Bosch [Thu, 5 Oct 2023 17:03:36 +0000 (19:03 +0200)]
auth: Rename non-standard SASL mech-* source files to auth-sasl-mech-*
Stephan Bosch [Fri, 3 Mar 2023 22:45:01 +0000 (23:45 +0100)]
auth: Rename standard SASL mech-* source files to sasl-server-mech-*
Stephan Bosch [Fri, 3 Mar 2023 22:45:43 +0000 (23:45 +0100)]
auth: Use designated initializers in mech-*
Stephan Bosch [Sat, 18 Mar 2023 14:12:14 +0000 (15:12 +0100)]
auth: auth-sasl - Add auth_sasl_ prefix to newly copied mechanism code
Now the naming conflict is gone and it is added to the build of the auth service.
Stephan Bosch [Sat, 18 Mar 2023 14:29:39 +0000 (15:29 +0100)]
auth: auth-sasl - Drop copied unused mechanism module fields
Others will replace these in later commits.
Stephan Bosch [Sat, 28 Oct 2023 06:25:57 +0000 (08:25 +0200)]
auth: auth-sasl - Some minor formatting changes
Stephan Bosch [Sat, 18 Mar 2023 14:07:28 +0000 (15:07 +0100)]
auth: auth-sasl - Copy global mechanism registration code from mech.c
Stephan Bosch [Sun, 5 Oct 2025 05:04:32 +0000 (07:04 +0200)]
auth: mech-digest-md5 - Refactor mech_digest_md5_auth_continue()
Stephan Bosch [Sat, 4 Oct 2025 23:34:37 +0000 (01:34 +0200)]
auth: mech-digest-md5 - Handle authentication result in verify_credentials()
Stephan Bosch [Sat, 4 Oct 2025 22:27:01 +0000 (00:27 +0200)]
auth: mech-cram-md5 - Log parse errors directly
Stephan Bosch [Sat, 4 Oct 2025 22:24:00 +0000 (00:24 +0200)]
auth: mech-cram-md5 - Refactor mech_cram_md5_auth_continue()
Stephan Bosch [Sat, 4 Oct 2025 20:48:26 +0000 (22:48 +0200)]
auth: mech-cram-md5 - Handle authentication result in verify_credentials()
Stephan Bosch [Sat, 4 Oct 2025 21:06:26 +0000 (23:06 +0200)]
auth: mech-cram-md5 - Make struct auth_request available in verify_credentials()
Stephan Bosch [Sat, 4 Oct 2025 20:20:55 +0000 (22:20 +0200)]
auth: mech-otp - Don't log client protocol violations as errors
Stephan Bosch [Sun, 29 Oct 2023 13:23:03 +0000 (14:23 +0100)]
auth: mech-winbind - Remove useless pool field in struct winbind_auth_request
Stephan Bosch [Sun, 31 Aug 2025 19:50:11 +0000 (21:50 +0200)]
auth: mech-winbind - Use container_of()
Stephan Bosch [Sun, 31 Aug 2025 19:52:19 +0000 (21:52 +0200)]
auth: mech-winbind - Change do_auth_continue() to use struct winbind_auth_request directly
Stephan Bosch [Sun, 5 Mar 2023 16:08:06 +0000 (17:08 +0100)]
auth: mech-scram - Remove pool field from mechanism request struct
Stephan Bosch [Thu, 23 Mar 2023 00:00:06 +0000 (01:00 +0100)]
auth: mech-scram - Remove unused definition
Stephan Bosch [Sun, 5 Mar 2023 16:06:02 +0000 (17:06 +0100)]
auth: mech-otp - Remove pool field from mechanism request struct
Stephan Bosch [Sun, 5 Mar 2023 16:02:49 +0000 (17:02 +0100)]
auth: mech-gssapi - Remove pool field from mechanism request struct
Stephan Bosch [Sun, 5 Mar 2023 15:58:40 +0000 (16:58 +0100)]
auth: mech-digest-md5 - Remove pool field from mechanism request struct
Stephan Bosch [Sun, 5 Mar 2023 15:51:52 +0000 (16:51 +0100)]
auth: mech-cram-md5 - Remove pool field from mechanism request struct
Stephan Bosch [Tue, 7 Mar 2023 21:00:02 +0000 (22:00 +0100)]
auth: mech-gssapi - Add local variables for struct auth_request
Stephan Bosch [Sun, 5 Mar 2023 05:36:47 +0000 (06:36 +0100)]
auth: mech-gssapi - Make request struct usage and naming consistent
Use struct gssapi_auth_request as function parameter as much as possible.
Make request variable and parameter naming consistent.
Stephan Bosch [Sat, 4 Mar 2023 17:08:46 +0000 (18:08 +0100)]
auth: mech-gssapi - Move mech_gssapi_initialize()
Stephan Bosch [Sun, 5 Mar 2023 15:31:47 +0000 (16:31 +0100)]
auth: mech-otp - Set lock flag in otp_try_lock()
Stephan Bosch [Sun, 5 Mar 2023 15:27:14 +0000 (16:27 +0100)]
auth: mech-otp - Make request struct usage and naming consistent
Use struct otp_auth_request as function parameter as much as possible.
Make request variable and parameter naming consistent.
Stephan Bosch [Sat, 4 Mar 2023 16:46:21 +0000 (17:46 +0100)]
auth: mech-otp - Merge mech-otp-common.c into mech-otp.c
Separate file is not useful and structure is confusing.
Stephan Bosch [Tue, 7 Mar 2023 03:25:03 +0000 (04:25 +0100)]
auth: mech-digest-md5 - Use container_of()
Stephan Bosch [Sat, 4 Mar 2023 16:21:37 +0000 (17:21 +0100)]
auth: mech-digest-md5 - Move types to source file
These were exposed for testing, but exposing the whole struct is excessive.
Putting the struct in the source file is consistent with the other mechanisms
and this test is going to be restructured so that this internal access is no
longer needed.
Stephan Bosch [Tue, 7 Mar 2023 14:05:51 +0000 (15:05 +0100)]
auth: mech-cram-md5 - Use container_of()
Stephan Bosch [Sun, 29 Oct 2023 13:16:53 +0000 (14:16 +0100)]
auth: mech-apop - Use container_of()
Stephan Bosch [Wed, 22 Mar 2023 23:19:59 +0000 (00:19 +0100)]
auth: mech-oauth2 - Rename super request struct field
Stephan Bosch [Sun, 12 Mar 2023 01:28:57 +0000 (02:28 +0100)]
auth: db-ldap - Move sasl code to separate module
Stephan Bosch [Sat, 21 Oct 2023 02:45:55 +0000 (04:45 +0200)]
auth: Reformat mech-otp.c
Stephan Bosch [Wed, 22 Mar 2023 23:58:36 +0000 (00:58 +0100)]
auth: Reformat mech-scram.c
Stephan Bosch [Wed, 22 Mar 2023 16:45:02 +0000 (17:45 +0100)]
auth: Reformat mech-plain.c
Stephan Bosch [Wed, 22 Mar 2023 16:41:32 +0000 (17:41 +0100)]
auth: Reformat mech-external.c
Stephan Bosch [Tue, 7 Mar 2023 14:42:42 +0000 (15:42 +0100)]
auth: Reformat mech-gssapi.c
Stephan Bosch [Tue, 7 Mar 2023 13:46:31 +0000 (14:46 +0100)]
auth: Reformat mech-cram-md5.c
Stephan Bosch [Sat, 28 Oct 2023 04:12:36 +0000 (06:12 +0200)]
auth: Reformat test-mech.c
Stephan Bosch [Fri, 27 Oct 2023 18:50:47 +0000 (20:50 +0200)]
m4: want_gssapi - Add HAVE_GSSAPI conditional
Stephan Bosch [Tue, 7 Oct 2025 15:41:26 +0000 (17:41 +0200)]
m4: want_gssapi - Properly initialize have_gssapi_plugin variable
Stephan Bosch [Thu, 27 Feb 2025 21:25:32 +0000 (22:25 +0100)]
.gitignore - Add auth-token-secret.dat
This is often left over from interrupted src/auth tests.
Stephan Bosch [Fri, 28 Feb 2025 01:11:31 +0000 (02:11 +0100)]
auth: mech-oauth2 - Properly handle PASSDB_RESULT_USER_UNKNOWN result from token verification
Stephan Bosch [Thu, 27 Feb 2025 20:02:15 +0000 (21:02 +0100)]
lib-auth: auth-scram - Rename scram_scheme_parse() to auth_scram_credentials_parse()
Stephan Bosch [Thu, 27 Feb 2025 19:56:20 +0000 (20:56 +0100)]
lib-auth: password-scheme-scram - Move scram_scheme_parse() to auth-scram
Stephan Bosch [Tue, 5 Aug 2025 18:53:44 +0000 (20:53 +0200)]
auth: main - Free global auth settings later
Only then we can be truly sure it is not used anymore during cleanup of other
sub-systems.
Stephan Bosch [Thu, 27 Feb 2025 20:42:43 +0000 (21:42 +0100)]
auth: main - Free the auths only once requests are truly gone