]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
8 weeks agolib-sql: driver-sqlite - Log error if database closing fails
Aki Tuomi [Mon, 1 Sep 2025 12:55:57 +0000 (15:55 +0300)] 
lib-sql: driver-sqlite - Log error if database closing fails

8 weeks agolib-sql: sql-api - Use i_gettimeofday() to get current time
Aki Tuomi [Tue, 26 Aug 2025 11:35:27 +0000 (14:35 +0300)] 
lib-sql: sql-api - Use i_gettimeofday() to get current time

It's more accurate

8 weeks agolib-sql: test-sql-sqlite - Remove redundant code
Aki Tuomi [Thu, 28 Aug 2025 08:41:21 +0000 (11:41 +0300)] 
lib-sql: test-sql-sqlite - Remove redundant code

8 weeks agolib-sql: sql-api - Clarify that results are free'd after callback returns
Aki Tuomi [Wed, 10 Sep 2025 06:30:13 +0000 (09:30 +0300)] 
lib-sql: sql-api - Clarify that results are free'd after callback returns

8 weeks agolib-sql: driver-sqlite - Refactor struct sqlite_db
Aki Tuomi [Mon, 1 Sep 2025 19:06:33 +0000 (22:06 +0300)] 
lib-sql: driver-sqlite - Refactor struct sqlite_db

8 weeks agolib-index: Update comments about how transaction log corruption is handled
Timo Sirainen [Mon, 12 Feb 2024 08:58:55 +0000 (10:58 +0200)] 
lib-index: Update comments about how transaction log corruption is handled

8 weeks agolib-index: Remove obsolete FIXMEs about upcoming sync lock removal
Timo Sirainen [Mon, 12 Feb 2024 08:30:34 +0000 (10:30 +0200)] 
lib-index: Remove obsolete FIXMEs about upcoming sync lock removal

That is never going to happen.

8 weeks agolib-index: Do update log_file_tail_offset on sync if mail_transaction_log_view_next...
Timo Sirainen [Mon, 12 Feb 2024 08:26:43 +0000 (10:26 +0200)] 
lib-index: Do update log_file_tail_offset on sync if mail_transaction_log_view_next() fails

The previous change assumed that mail_transaction_log_view_next() would
return -1 on read() error. However, it's actually returning -1 to indicate
a corrupted record.

Reverts aae93d3ea73004ba1883bbf91c9e40f613ffc857

8 weeks agolib-compression: Don't calculate crc32 if using zlib in deflate mode
Michael M Slusarz [Sat, 4 Oct 2025 18:04:31 +0000 (12:04 -0600)] 
lib-compression: Don't calculate crc32 if using zlib in deflate mode

2 months agodovecot.conf.in: Update Dovecot quick configuration URL
Edmund Lodewijks [Thu, 16 Oct 2025 16:53:00 +0000 (18:53 +0200)] 
dovecot.conf.in: Update Dovecot quick configuration URL

2 months agolib-settings: Fix memory leak with settings overrides
Timo Sirainen [Wed, 15 Oct 2025 14:44:24 +0000 (17:44 +0300)] 
lib-settings: Fix memory leak with settings overrides

The setting override lookups were allocating memory from wrong memory pool,
causing the process memory to keep growing.

2 months agolib-storage: Fix potential crash with SEARCH MIMEPART FILENAME ENDS
Timo Sirainen [Wed, 15 Oct 2025 07:09:03 +0000 (10:09 +0300)] 
lib-storage: Fix potential crash with SEARCH MIMEPART FILENAME ENDS

If the search value was longer than the checked filename, it accessed
memory outside the allocated buffer.

2 months agolib-storage: Reformat index-search-mime.c
Timo Sirainen [Tue, 14 Oct 2025 15:07:36 +0000 (18:07 +0300)] 
lib-storage: Reformat index-search-mime.c

2 months agolib-storage: Fix "seach" typo in function names
Timo Sirainen [Tue, 14 Oct 2025 15:02:20 +0000 (18:02 +0300)] 
lib-storage: Fix "seach" typo in function names

2 months agolib-mail: Fix potential crash with SEARCH MIMEPART FILENAME
Timo Sirainen [Tue, 14 Oct 2025 14:59:36 +0000 (17:59 +0300)] 
lib-mail: Fix potential crash with SEARCH MIMEPART FILENAME

If the message contained "Content-Disposition: attachment" without
filename or name parameter, it crashed. Fix by using empty string
as the filename so callers don't need to handle NULL separately.

Broken by bdff009cb37eb51aa7a00e17e1b346df18f95bec

2 months agolib-test: fuzzer - Remove atexit handler
Stephan Bosch [Tue, 14 Oct 2025 21:18:26 +0000 (23:18 +0200)] 
lib-test: fuzzer - Remove atexit handler

It seems to cause more issues than it solves.

2 months agolib-sasl: test-sasl-authentication - Create an ioloop
Stephan Bosch [Tue, 14 Oct 2025 21:05:53 +0000 (23:05 +0200)] 
lib-sasl: test-sasl-authentication - Create an ioloop

Winbind needs this to initiate some async stuff that is not part of this test,
so the ioloop is never actually run. However, in its absence a segfault crash
occurs.

2 months agolib-sasl: fuzz-sasl-authentication - Only fuzz Winbind mechanisms when compiled with...
Stephan Bosch [Tue, 14 Oct 2025 14:35:10 +0000 (16:35 +0200)] 
lib-sasl: fuzz-sasl-authentication - Only fuzz Winbind mechanisms when compiled with --enable-local-fuzzer

2 months agofs-posix: Fix fs_copy() potentially doing unnecessary unlink()
Timo Sirainen [Tue, 14 Oct 2025 10:00:30 +0000 (13:00 +0300)] 
fs-posix: Fix fs_copy() potentially doing unnecessary unlink()

We need to check if link() failed before checking errno.

2 months agolib-index: Avoid unsafe errno check
Timo Sirainen [Tue, 14 Oct 2025 09:58:23 +0000 (12:58 +0300)] 
lib-index: Avoid unsafe errno check

scan-build thinks mail_cache_file_close() could have modified errno. This
doesn't seem to actually happen, but it's safer to make sure of it.

2 months agolib-json: Avoid copying the whole json_value.content union
Timo Sirainen [Tue, 14 Oct 2025 09:55:19 +0000 (12:55 +0300)] 
lib-json: Avoid copying the whole json_value.content union

Mainly because this confuses scan-build, but it should be more efficient as
well.

2 months agomaildir: Fix error handling if dovecot-uidlist file is unexpectedly lost
Timo Sirainen [Tue, 14 Oct 2025 09:49:54 +0000 (12:49 +0300)] 
maildir: Fix error handling if dovecot-uidlist file is unexpectedly lost

It would have failed with lseek() error.

2 months agomaildir: Add assert to make sure dirfd() returns a valid fd
Timo Sirainen [Tue, 14 Oct 2025 09:49:34 +0000 (12:49 +0300)] 
maildir: Add assert to make sure dirfd() returns a valid fd

2 months agolib-sasl: test-sasl-authentication - Avoid scan-build dead code complaint
Timo Sirainen [Tue, 14 Oct 2025 09:40:50 +0000 (12:40 +0300)] 
lib-sasl: test-sasl-authentication - Avoid scan-build dead code complaint

It wasn't really dead code, but test_assert() was marked as ATTR_NORETURN
to static analyzer builds, so it looked like that. However, we can simply
remove this check since test_assert(FALSE) causes the later
failed || test_has_failed() check to match anyway.

2 months agoglobal: Use ATTR_NONSTRING macro
Timo Sirainen [Tue, 14 Oct 2025 09:38:24 +0000 (12:38 +0300)] 
global: Use ATTR_NONSTRING macro

2 months agom4/dovecot.m4, lib: Add ATTR_NONSTRING macro
Timo Sirainen [Tue, 14 Oct 2025 09:38:08 +0000 (12:38 +0300)] 
m4/dovecot.m4, lib: Add ATTR_NONSTRING macro

2 months agom4/dovecot.m4: Use -Wno-default-const-init-field-unsafe if it exists
Timo Sirainen [Tue, 14 Oct 2025 09:37:05 +0000 (12:37 +0300)] 
m4/dovecot.m4: Use -Wno-default-const-init-field-unsafe if it exists

This causes unnecessary warnings about buffer_t.

2 months agolib-storage: Change mail_attachment_detection_options default
Timo Sirainen [Wed, 26 Mar 2025 10:39:49 +0000 (12:39 +0200)] 
lib-storage: Change mail_attachment_detection_options default

Set it to: add-flags content-type=!application/signature. However, this
breaks mbox format so keep it empty for mbox. Also don't enable it for
imapc, since it's unlikely to be useful there and it might cause unwanted
attachment flags to be added in some imapc use cases.

2 months agolib-storage: Reduce data stack usage when finding attachment flags from mails with...
Timo Sirainen [Fri, 26 Sep 2025 10:55:37 +0000 (13:55 +0300)] 
lib-storage: Reduce data stack usage when finding attachment flags from mails with many MIME parts

2 months agolib-storage: mail_attachment_detection_options=add-flags - Don't try to add flags...
Timo Sirainen [Sat, 23 Aug 2025 20:28:12 +0000 (23:28 +0300)] 
lib-storage: mail_attachment_detection_options=add-flags - Don't try to add flags for read-only mailbox

2 months agolib-storage: index_mail_init_stream() - Add asserts to check state if stream has...
Timo Sirainen [Wed, 3 Sep 2025 09:21:50 +0000 (12:21 +0300)] 
lib-storage: index_mail_init_stream() - Add asserts to check state if stream has only header

2 months agolib-storage: Don't try to add attachment flags if stream only has message header
Timo Sirainen [Wed, 3 Sep 2025 09:20:14 +0000 (12:20 +0300)] 
lib-storage: Don't try to add attachment flags if stream only has message header

This could have caused wrong attachment flag to be added with imapc format,
because the body wasn't parsed. Other mailbox formats always had a message
body included in the stream.

2 months agoconfig: Number of new config changes for 0.0.0 version is always 0
Timo Sirainen [Wed, 3 Sep 2025 08:39:24 +0000 (11:39 +0300)] 
config: Number of new config changes for 0.0.0 version is always 0

2 months agoconfig: Assume 0.0.0 version is the latest
Timo Sirainen [Wed, 3 Sep 2025 08:38:32 +0000 (11:38 +0300)] 
config: Assume 0.0.0 version is the latest

It's used for git builds.

2 months agoconfig: Support changing defaults for setting_parser_info.default_settings
Timo Sirainen [Wed, 26 Mar 2025 10:38:48 +0000 (12:38 +0200)] 
config: Support changing defaults for setting_parser_info.default_settings

This requires reading dovecot_config_version before processing the default
settings.

2 months agoconfig: Move most boolean fields in config_parser_context to flags enum
Timo Sirainen [Wed, 26 Mar 2025 10:04:38 +0000 (12:04 +0200)] 
config: Move most boolean fields in config_parser_context to flags enum

Preserve expand_values since it's used all over the place.

2 months agoimap: Don't update proctitle to [unhibernating] if verbose_proctitle=no
Timo Sirainen [Mon, 13 Oct 2025 12:59:53 +0000 (15:59 +0300)] 
imap: Don't update proctitle to [unhibernating] if verbose_proctitle=no

2 months agolib-dict-backend: dict-sql - Fix error handling
Timo Sirainen [Mon, 13 Oct 2025 09:56:12 +0000 (12:56 +0300)] 
lib-dict-backend: dict-sql - Fix error handling

Broken by d7cc1bdc4efe4d0a2aa0e45b27ceeb793c32c8f0

2 months agodovecot-config: Add AM_CFLAGS to DOVECOT_CFLAGS
Timo Sirainen [Tue, 14 Oct 2025 09:22:04 +0000 (12:22 +0300)] 
dovecot-config: Add AM_CFLAGS to DOVECOT_CFLAGS

Most of the flags are now in AM_CFLAGS since
25785c90702c0d01f4abf15da546d2bc3bf8e276

2 months agom4/dovecot.m4: Export abs_dovecotdir
Timo Sirainen [Tue, 14 Oct 2025 06:47:19 +0000 (09:47 +0300)] 
m4/dovecot.m4: Export abs_dovecotdir

2 months agolib: istream - Add assert to make sure skip/pos state is valid after istream.read()
Timo Sirainen [Wed, 8 Oct 2025 13:04:54 +0000 (16:04 +0300)] 
lib: istream - Add assert to make sure skip/pos state is valid after istream.read()

2 months agolib-storage: istream-mail - Fix restoring buffer state when istream is larger than...
Timo Sirainen [Wed, 8 Oct 2025 13:08:13 +0000 (16:08 +0300)] 
lib-storage: istream-mail - Fix restoring buffer state when istream is larger than expected

2 months agolib-mail: istream-header-filter - Add refcount to hdr_buf
Timo Sirainen [Thu, 9 Oct 2025 11:54:39 +0000 (14:54 +0300)] 
lib-mail: istream-header-filter - Add refcount to hdr_buf

If more than one snapshot referred to the hdr_buf, it would have been
double-freed. This didn't seem to happen until the following changes.

2 months agomaildir: Delay removal of corrupted sizes from maildir filenames
Timo Sirainen [Wed, 8 Oct 2025 13:05:40 +0000 (16:05 +0300)] 
maildir: Delay removal of corrupted sizes from maildir filenames

The size removal functions were doing many distruptive things, which could
have caused crashes on various places where
maildir_mail_set_cache_corrupted() was called from. Delay the fixing to a
few safe locations.

2 months agoauth: auth-sasl - Fix potential segfault in request handling
Stephan Bosch [Mon, 13 Oct 2025 10:32:51 +0000 (12:32 +0200)] 
auth: auth-sasl - Fix potential segfault in request handling

Keep reference to the request during auth_sasl_request_initial() and
auth_sasl_request_continue() to prevent the auth request object from going away
during callbacks while lib-sasl is still working with it.

Reported by Valgrind.

2 months agolib-sasl: sasl-server-mech-gssapi - Fix memory leak in get_display_name() error path
Stephan Bosch [Mon, 13 Oct 2025 10:04:21 +0000 (12:04 +0200)] 
lib-sasl: sasl-server-mech-gssapi - Fix memory leak in get_display_name() error path

Reported by Coverity.

2 months agolib-sasl: gssapi-dummy - Make gss_display_name() output buffer content nul-terminated
Stephan Bosch [Mon, 13 Oct 2025 09:58:52 +0000 (11:58 +0200)] 
lib-sasl: gssapi-dummy - Make gss_display_name() output buffer content nul-terminated

This makes it a little more robust and makes Coverity happier.

2 months agolib-sasl: dsasl-client-mech-gssapi - Fix memory leak in mech_gssapi_gs1_unwrap()...
Stephan Bosch [Mon, 13 Oct 2025 09:51:33 +0000 (11:51 +0200)] 
lib-sasl: dsasl-client-mech-gssapi - Fix memory leak in mech_gssapi_gs1_unwrap() error path

Reported by Coverity.

2 months agolib-sasl: dsasl-client-mech-gssapi - Fix memory leak in mech_gssapi_sec_context(...
Stephan Bosch [Mon, 13 Oct 2025 09:48:32 +0000 (11:48 +0200)] 
lib-sasl: dsasl-client-mech-gssapi - Fix memory leak in mech_gssapi_sec_context() error path

Reported by Coverity.

2 months agolib-settings: Fix settings history when plugins have registered settings
Timo Sirainen [Sun, 5 Oct 2025 17:23:16 +0000 (20:23 +0300)] 
lib-settings: Fix settings history when plugins have registered settings

The settings are expected to be sorted by the version number.

2 months agolib, lib-master: Move version_*() to lib/version.[ch]
Timo Sirainen [Sun, 5 Oct 2025 15:49:13 +0000 (18:49 +0300)] 
lib, lib-master: Move version_*() to lib/version.[ch]

2 months agolib-master: Allow including master-service-ssl.h without master-service.h
Timo Sirainen [Sun, 5 Oct 2025 15:56:10 +0000 (18:56 +0300)] 
lib-master: Allow including master-service-ssl.h without master-service.h

2 months agoconfig: Fix including default @group when a similar non-default filter exists
Timo Sirainen [Sun, 5 Oct 2025 10:18:50 +0000 (13:18 +0300)] 
config: Fix including default @group when a similar non-default filter exists

Fixes:
Panic: file hash.c: line 252 (hash_table_insert_node): assertion failed: (opcode == HASH_TABLE_OP_UPDATE)

2 months agolib-settings: settings-history.py - Add --plugin parameter
Timo Sirainen [Mon, 29 Sep 2025 13:07:46 +0000 (16:07 +0300)] 
lib-settings: settings-history.py - Add --plugin parameter

2 months agolib-settings: Install settings-history.py to pkglibexec directory
Timo Sirainen [Mon, 29 Sep 2025 12:56:20 +0000 (15:56 +0300)] 
lib-settings: Install settings-history.py to pkglibexec directory

This way external plugins can have their own settings history files.

2 months agoauth: db-ldap-sasl - Fix compile without LDAP and without installed LDAP development...
Stephan Bosch [Sat, 11 Oct 2025 13:46:56 +0000 (15:46 +0200)] 
auth: db-ldap-sasl - Fix compile without LDAP and without installed LDAP development headers

2 months agoconfig: Parse "@key" with quotes as a setting key, not group include
Timo Sirainen [Wed, 8 Oct 2025 08:59:50 +0000 (11:59 +0300)] 
config: Parse "@key" with quotes as a setting key, not group include

2 months agoMakefile: dovecot-config - Expand LIBPCRE_LIBS in LIBDOVECOT
Timo Sirainen [Fri, 10 Oct 2025 07:26:18 +0000 (10:26 +0300)] 
Makefile: dovecot-config - Expand LIBPCRE_LIBS in LIBDOVECOT

Fixes plugin builds:
configure: line ...: LIBPCRE_LIBS: command not found

2 months agolib-sasl: dsasl-client-mech-gssapi - Remove unused security layer negotiation code
Stephan Bosch [Thu, 9 Oct 2025 23:36:05 +0000 (01:36 +0200)] 
lib-sasl: dsasl-client-mech-gssapi - Remove unused security layer negotiation code

Fix for scan-build-19 report.

2 months agolib-sasl: sasl-server-request - Assert that client input is only NULL when size is 0
Stephan Bosch [Thu, 9 Oct 2025 22:43:51 +0000 (00:43 +0200)] 
lib-sasl: sasl-server-request - Assert that client input is only NULL when size is 0

Fix for scan-build report.

2 months agolib-sasl: test-sasl-oauth2 - Make sure error variable is initialized
Stephan Bosch [Thu, 9 Oct 2025 22:31:31 +0000 (00:31 +0200)] 
lib-sasl: test-sasl-oauth2  - Make sure error variable is initialized

Fix for scan-build report.

2 months agolib-sasl: Add GSS-SPNEGO client support
Stephan Bosch [Sun, 5 Oct 2025 22:19:38 +0000 (00:19 +0200)] 
lib-sasl: Add GSS-SPNEGO client support

2 months agodoveadm: doveadm-auth - Add GSSAPI support for login test
Stephan Bosch [Sun, 5 Oct 2025 17:02:22 +0000 (19:02 +0200)] 
doveadm: doveadm-auth - Add GSSAPI support for login test

This only applies when GSSAPI support is built in.

2 months agolib-sasl: Add GSSAPI client support
Stephan Bosch [Sun, 5 Oct 2025 16:58:37 +0000 (18:58 +0200)] 
lib-sasl: Add GSSAPI client support

2 months agolib-sasl: sasl-server-mech-gssapi - Move krb5 oid definition to lib-auth/auth-gssapi...
Stephan Bosch [Tue, 7 Oct 2025 16:00:32 +0000 (18:00 +0200)] 
lib-sasl: sasl-server-mech-gssapi - Move krb5 oid definition to lib-auth/auth-gssapi and make it const

2 months agolib-sasl: sasl-server-mech-gssapi - Move mech_gssapi_oid_cmp() to lib-auth/auth-gssap...
Stephan Bosch [Tue, 7 Oct 2025 02:01:29 +0000 (04:01 +0200)] 
lib-sasl: sasl-server-mech-gssapi - Move mech_gssapi_oid_cmp() to lib-auth/auth-gssapi as auth_gssapi_oid_equal()

2 months agolib-sasl: sasl-server-mech-gssapi - Move GSSAPI includes to lib-auth/auth-gssapi.h
Stephan Bosch [Tue, 7 Oct 2025 15:48:22 +0000 (17:48 +0200)] 
lib-sasl: sasl-server-mech-gssapi - Move GSSAPI includes to lib-auth/auth-gssapi.h

2 months agolib-sasl: sasl-server-mech-gssapi - Allow krb5_keytab setting to be NULL
Stephan Bosch [Wed, 20 Aug 2025 05:27:55 +0000 (07:27 +0200)] 
lib-sasl: sasl-server-mech-gssapi - Allow krb5_keytab setting to be NULL

2 months agolib-sasl: sasl-server-mech-gssapi - Fix detection and handling of absent initial...
Stephan Bosch [Sat, 18 Nov 2023 21:39:14 +0000 (22:39 +0100)] 
lib-sasl: sasl-server-mech-gssapi - Fix detection and handling of absent initial response from client

2 months agolib-sasl: dsasl-client - Add event
Stephan Bosch [Sun, 5 Oct 2025 16:43:27 +0000 (18:43 +0200)] 
lib-sasl: dsasl-client - Add event

2 months agodoveadm: doveadm-auth - Properly initialize SASL client explicitly
Stephan Bosch [Tue, 19 Aug 2025 20:54:13 +0000 (22:54 +0200)] 
doveadm: doveadm-auth - Properly initialize SASL client explicitly

Before, this was done only implicitly by lib-storage

2 months agolib: strfuncs - Make t_memdup_noconst() public
Stephan Bosch [Wed, 6 Aug 2025 02:22:28 +0000 (04:22 +0200)] 
lib: strfuncs - Make t_memdup_noconst() public

2 months agolib-smtp: test-smtp-payload - Add SASL authentication tests
Stephan Bosch [Tue, 30 Sep 2025 01:35:23 +0000 (03:35 +0200)] 
lib-smtp: test-smtp-payload - Add SASL authentication tests

2 months agolib-smtp: test-smtp-payload - Group global test parameters in struct
Stephan Bosch [Tue, 30 Sep 2025 02:44:21 +0000 (04:44 +0200)] 
lib-smtp: test-smtp-payload - Group global test parameters in struct

Allows easy and reliable clearing of all global test parameters.

2 months agolib-sasl: Add OTP client support
Stephan Bosch [Thu, 2 Oct 2025 00:33:58 +0000 (02:33 +0200)] 
lib-sasl: Add OTP client support

2 months agolib-sasl: Add DIGEST-MD5 client support
Stephan Bosch [Wed, 19 Feb 2025 01:25:38 +0000 (02:25 +0100)] 
lib-sasl: Add DIGEST-MD5 client support

2 months agoglobal: Provide protocol, host and port SASL client settings where possible
Stephan Bosch [Thu, 7 Aug 2025 03:22:05 +0000 (05:22 +0200)] 
global: Provide protocol, host and port SASL client settings where possible

2 months agolib-sasl: dsasl-client - Add protocol, host and port as normal settings
Stephan Bosch [Wed, 19 Feb 2025 01:21:57 +0000 (02:21 +0100)] 
lib-sasl: dsasl-client - Add protocol, host and port as normal settings

Host and port were special parameters before.

2 months agolib-auth: auth-digest - Rework auth_digest_parse_keyvalue() to yield const results
Stephan Bosch [Wed, 3 Sep 2025 21:31:26 +0000 (23:31 +0200)] 
lib-auth: auth-digest - Rework auth_digest_parse_keyvalue() to yield const results

2 months agolib-sasl: sasl-server-mech-digest-md5 - Rename error return parameter of parse_digest...
Stephan Bosch [Wed, 19 Feb 2025 01:11:30 +0000 (02:11 +0100)] 
lib-sasl: sasl-server-mech-digest-md5 - Rename error return parameter of parse_digest_response()

2 months agolib-sasl: sasl-server-mech-digest-md5 - Rename error return parameter of auth_handle_...
Stephan Bosch [Wed, 19 Feb 2025 01:08:12 +0000 (02:08 +0100)] 
lib-sasl: sasl-server-mech-digest-md5 - Rename error return parameter of auth_handle_response()

2 months agolib-sasl: sasl-server-mech-digest-md5 - Move core processing to lib-auth/auth-digest
Stephan Bosch [Tue, 18 Feb 2025 01:40:10 +0000 (02:40 +0100)] 
lib-sasl: sasl-server-mech-digest-md5 - Move core processing to lib-auth/auth-digest

2 months agolib-sasl: sasl-server-mech-digest-md5 - Move parse_next() to lib-auth/auth-digest...
Stephan Bosch [Wed, 19 Feb 2025 00:49:12 +0000 (01:49 +0100)] 
lib-sasl: sasl-server-mech-digest-md5 - Move parse_next() to lib-auth/auth-digest as auth_digest_parse_keyvalue()

2 months agolib-auth: password-scheme - Move digest_md5_generate() innards to auth-digest as...
Stephan Bosch [Wed, 19 Feb 2025 00:37:27 +0000 (01:37 +0100)] 
lib-auth: password-scheme - Move digest_md5_generate() innards to auth-digest as auth_digest_get_hash_a1_secret()

2 months agolib: hash-method - Add generic incremental API for hash methods.
Stephan Bosch [Mon, 7 Nov 2022 23:59:18 +0000 (00:59 +0100)] 
lib: hash-method - Add generic incremental API for hash methods.

2 months agolib-sasl: Add CRAM-MD5 client support
Stephan Bosch [Sat, 5 Oct 2024 13:01:09 +0000 (15:01 +0200)] 
lib-sasl: Add CRAM-MD5 client support

2 months agolib-sasl: Add fuzzer for SASL interaction
Stephan Bosch [Thu, 3 Oct 2024 21:22:32 +0000 (23:22 +0200)] 
lib-sasl: Add fuzzer for SASL interaction

2 months agolib-test: fuzzer - Make random number generator deterministic when fuzzer is active
Stephan Bosch [Sat, 5 Oct 2024 12:49:25 +0000 (14:49 +0200)] 
lib-test: fuzzer - Make random number generator deterministic when fuzzer is active

2 months agolib-test: fuzzer - Properly cleanup Dovecot lib at end of fuzzer run
Stephan Bosch [Fri, 4 Oct 2024 23:22:28 +0000 (01:22 +0200)] 
lib-test: fuzzer - Properly cleanup Dovecot lib at end of fuzzer run

2 months agolib-sasl: test-sasl-authentication - Test winbind NTLM mechanism using dummy implemen...
Stephan Bosch [Thu, 26 Oct 2023 17:58:04 +0000 (19:58 +0200)] 
lib-sasl: test-sasl-authentication - Test winbind NTLM mechanism using dummy implementation

2 months agolib-sasl: Add unit test for SASL authentication
Stephan Bosch [Mon, 30 Oct 2023 00:42:08 +0000 (01:42 +0100)] 
lib-sasl: Add unit test for SASL authentication

Tests involve both the SASL client and the SASL server.

2 months agolib-sasl: sasl-server-mech-winbind - Fix error message composition for NA return...
Stephan Bosch [Sat, 4 Oct 2025 16:07:25 +0000 (18:07 +0200)] 
lib-sasl: sasl-server-mech-winbind - Fix error message composition for NA return code

2 months agolib-sasl: sasl-server-mech-winbind - Properly manage helper child processes
Stephan Bosch [Thu, 4 Sep 2025 20:20:29 +0000 (22:20 +0200)] 
lib-sasl: sasl-server-mech-winbind - Properly manage helper child processes

2 months agolib-sasl: sasl-server-mech-winbind - Create event for helper and add debug messages
Stephan Bosch [Thu, 4 Sep 2025 20:58:42 +0000 (22:58 +0200)] 
lib-sasl: sasl-server-mech-winbind - Create event for helper and add debug messages

2 months agolib-sasl: sasl-server-mech-winbind - Properly clean up helper streams
Stephan Bosch [Sat, 4 Nov 2023 22:08:56 +0000 (23:08 +0100)] 
lib-sasl: sasl-server-mech-winbind - Properly clean up helper streams

Child processes are not reaped yet, but they should.

2 months agolib-sasl: sasl-server-mech-winbind - Rename helper variables consistently to 'helper'
Stephan Bosch [Sat, 4 Nov 2023 22:22:49 +0000 (23:22 +0100)] 
lib-sasl: sasl-server-mech-winbind - Rename helper variables consistently to 'helper'

2 months agolib-sasl: sasl-server-mech-winbind - Move helper pointer from request to mechanism
Stephan Bosch [Sat, 4 Nov 2023 22:19:03 +0000 (23:19 +0100)] 
lib-sasl: sasl-server-mech-winbind - Move helper pointer from request to mechanism

2 months agolib-sasl: sasl-client-mech-oauthbearer - Prevent sending unsupported characters in...
Stephan Bosch [Sun, 7 Sep 2025 15:13:06 +0000 (17:13 +0200)] 
lib-sasl: sasl-client-mech-oauthbearer - Prevent sending unsupported characters in response payload

2 months agolib-sasl: sasl-server-mech-oauth2 - Properly parse kvpairs
Stephan Bosch [Sun, 7 Sep 2025 15:11:51 +0000 (17:11 +0200)] 
lib-sasl: sasl-server-mech-oauth2 - Properly parse kvpairs

2 months agolib-sasl: sasl-server - Merge sasl-server-mech-plain-common into sasl-server-mech
Stephan Bosch [Sat, 4 Nov 2023 20:51:55 +0000 (21:51 +0100)] 
lib-sasl: sasl-server - Merge sasl-server-mech-plain-common into sasl-server-mech