From 22c3c635d06d9a3f38ada0051d54af07ab1eb202 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 16 Jul 2025 16:50:08 +0200 Subject: [PATCH] fixups JSONs after using a less picky base64 decoder --- tests/data/test889 | 2 +- tests/data/test890 | 2 +- tests/data/test948 | 2 +- tests/data/test949 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/data/test889 b/tests/data/test889 index c88e8bfb49..36d0e32d1f 100644 --- a/tests/data/test889 +++ b/tests/data/test889 @@ -17,7 +17,7 @@ RFC7628 AUTH OAUTHBEARER REPLY AUTH + -REPLY %b64[n,a=user,%01host=127.0.0.1%01port=%POP3PORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64% + %b64[{"status":"invalid_token","scope":"example_scope","openid-configuration":"https://example.com/.well-known/openid-configuration]b64% +REPLY %b64[n,a=user,%01host=127.0.0.1%01port=%POP3PORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64% + %b64[{"status":"invalid_token","scope":"example_scope","openid-configuration":"https://example.com/.well-known/openid-configuration"}]b64% REPLY AQ== -ERR Authentication failed diff --git a/tests/data/test890 b/tests/data/test890 index cda69df94a..70ac504597 100644 --- a/tests/data/test890 +++ b/tests/data/test890 @@ -17,7 +17,7 @@ RFC7628 AUTH OAUTHBEARER -REPLY AUTH + %b64[{"status":"invalid_token","scope":"example_scope","openid-configuration":"https://example.com/.well-known/openid-configuration]b64% +REPLY AUTH + %b64[{"status":"invalid_token","scope":"example_scope","openid-configuration":"https://example.com/.well-known/openid-configuration"}]b64% REPLY AQ== -ERR Authentication failed diff --git a/tests/data/test948 b/tests/data/test948 index 33b2663f8c..9b6aefdc63 100644 --- a/tests/data/test948 +++ b/tests/data/test948 @@ -16,7 +16,7 @@ RFC7628 AUTH OAUTHBEARER REPLY AUTH 334 OAUTHBEARER supported -REPLY %b64[n,a=user,%01host=127.0.0.1%01port=%SMTPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64% 334 %b64[{"status":"invalid_token","scope":"example_scope","openid-configuration":"https://example.com/.well-known/openid-configuration]b64% +REPLY %b64[n,a=user,%01host=127.0.0.1%01port=%SMTPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64% 334 %b64[{"status":"invalid_token","scope":"example_scope","openid-configuration":"https://example.com/.well-known/openid-configuration"}]b64% REPLY AQ== 535 Username and Password not accepted. Learn more at\r\n535 http://support.example.com/mail/oauth diff --git a/tests/data/test949 b/tests/data/test949 index ac54850d2c..0a6be43b37 100644 --- a/tests/data/test949 +++ b/tests/data/test949 @@ -16,7 +16,7 @@ RFC7628 AUTH OAUTHBEARER -REPLY AUTH 334 %b64[{"status":"invalid_token","scope":"example_scope","openid-configuration":"https://example.com/.well-known/openid-configuration]b64% +REPLY AUTH 334 %b64[{"status":"invalid_token","scope":"example_scope","openid-configuration":"https://example.com/.well-known/openid-configuration"}]b64% REPLY AQ== 535 Username and Password not accepted. Learn more at\r\n535 http://support.example.com/mail/oauth