mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
general: update base image to Debian 12 ("Bookworm") (#3403)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Casper <casperklein@users.noreply.github.com>
This commit is contained in:
parent
0c7e49e654
commit
00018e7e2b
18 changed files with 145 additions and 148 deletions
|
@ -59,6 +59,10 @@ function teardown_file() {
|
|||
}
|
||||
|
||||
@test "should authenticate with XOAUTH2" {
|
||||
# curl packaged in Debian 12 (and the latest release as of Jan 2024) broke XOAUTH2 support
|
||||
# https://github.com/docker-mailserver/docker-mailserver/pull/3403#issuecomment-1907100624
|
||||
skip 'unable to test XOAUTH mechanism due to bug since curl 7.80'
|
||||
|
||||
__should_login_successfully_with 'XOAUTH2'
|
||||
}
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ function __should_have_expected_files() {
|
|||
# DKIM private key for signing, parse it to verify private key size is correct:
|
||||
_run_in_container_bash "openssl rsa -in '${TARGET_DIR}/mail.private' -noout -text"
|
||||
assert_success
|
||||
assert_line --index 0 "RSA Private-Key: (${EXPECTED_KEYSIZE} bit, 2 primes)"
|
||||
assert_line --index 0 "Private-Key: (${EXPECTED_KEYSIZE} bit, 2 primes)"
|
||||
|
||||
# DKIM record, extract public key (base64 encoded, potentially multi-line)
|
||||
# - tail to exclude first line,
|
||||
|
@ -240,7 +240,7 @@ function __should_have_expected_files() {
|
|||
) | openssl enc -base64 -d | openssl pkey -inform DER -pubin -noout -text
|
||||
"
|
||||
assert_success
|
||||
assert_line --index 0 "RSA Public-Key: (${EXPECTED_KEYSIZE} bit)"
|
||||
assert_line --index 0 "Public-Key: (${EXPECTED_KEYSIZE} bit)"
|
||||
|
||||
# Contents is for expected DKIM_DOMAIN and selector (mail):
|
||||
_run_in_container cat "${TARGET_DIR}/mail.txt"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue