From unknown Sun Jun 22 08:04:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65507: [PATCH] ; Add index entry for OAUTH2 SMTP auth mechanism Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Aug 2023 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 65507@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169289818817636 (code B ref -1); Thu, 24 Aug 2023 17:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Aug 2023 17:29:48 +0000 Received: from localhost ([127.0.0.1]:38570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZE9U-0004aN-Ci for submit@debbugs.gnu.org; Thu, 24 Aug 2023 13:29:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZE9S-0004a9-DU for submit@debbugs.gnu.org; Thu, 24 Aug 2023 13:29:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZE9I-0002kH-KG for bug-gnu-emacs@gnu.org; Thu, 24 Aug 2023 13:29:36 -0400 Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZE9G-0000lx-HZ for bug-gnu-emacs@gnu.org; Thu, 24 Aug 2023 13:29:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1692898173; bh=UH/kiTk85d7eMtzCqvmCm+ZR12Z9w58KWFSm1zq9EbU=; h=From:To:Subject:Date:From; b=FAAX+fgY445DFrsL7flMZZSUmL0l1QkCDR0HEguO05OhTWqY6Hh6AnLUZL9dMbEoQ ivOnnkalMRNeRs13neVYgT6lOLpfNk6qr//8hLsKCoTb6MyjZzhA5X7rL2pc1TXb+M wmRjTSLJN7OQDoNZcrgBKGwuhMRs+RwJ4Y2dGzHqyurApO7LTrF6+SnG8FC59zrT1Q g31MmuswUs/IC7MAZzQlZV8VEvQDre19CghZQ2tj/ag6QAW5YY7MLvdmsqGSTd5x+p qzaqYOVHhsRaPjjouSGtFSnComhs//woMgKQnmus/cPC52MZnoe81qZFy84pU33yYr yYHFO/NNGu51A== From: Eshel Yaron Date: Thu, 24 Aug 2023 19:29:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain Tags: patch This is a small tweak to the SMTP library manual. In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin22.5.0, NS appkit-2299.60 Version 13.4 (Build 22F66)) of 2023-08-24 built on Dazzs-MacBook-Pro.local Repository revision: ad5e17d0638be46f982d1448e8fef1d28d224735 Repository branch: master Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.4 Configured using: 'configure 'CFLAGS=-g0 -O3' --with-native-compilation --with-json --with-imagemagick --with-tree-sitter --enable-link-time-optimization' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Add-index-entry-for-OAUTH2-SMTP-auth-mechanism.patch >From a2bef0f40a732a42f82641f45e2cb92aaa0952b2 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 24 Aug 2023 19:17:51 +0200 Subject: [PATCH] ; Add index entry for OAUTH2 SMTP auth mechanism * doc/misc/smtpmail.texi (Authentication): Fix authentication mechanism count and add index entries for OAuth 2.0. --- doc/misc/smtpmail.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/misc/smtpmail.texi b/doc/misc/smtpmail.texi index 99363483827..c8fd15aad69 100644 --- a/doc/misc/smtpmail.texi +++ b/doc/misc/smtpmail.texi @@ -264,10 +264,12 @@ Authentication @cindex CRAM-MD5 @cindex PLAIN @cindex LOGIN +@cindex OAuth2 +@cindex OAuth 2.0 The process by which the @acronym{SMTP} library authenticates you to the server is known as ``Simple Authentication and Security Layer'' (@acronym{SASL}). There are various @acronym{SASL} mechanisms, and -this library supports three of them: @code{cram-md5}, @code{plain}, +this library supports four of them: @code{cram-md5}, @code{plain}, @code{login} and @code{xoauth2}, where the first uses a form of encryption to obscure your password, while the other two do not. It tries each of them, in that order, until one succeeds. -- 2.41.0 --=-=-=-- From unknown Sun Jun 22 08:04:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65507: [PATCH] ; Add index entry for OAUTH2 SMTP auth mechanism Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Aug 2023 17:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 65507@debbugs.gnu.org Received: via spool by 65507-submit@debbugs.gnu.org id=B65507.169289867418532 (code B ref 65507); Thu, 24 Aug 2023 17:38:02 +0000 Received: (at 65507) by debbugs.gnu.org; 24 Aug 2023 17:37:54 +0000 Received: from localhost ([127.0.0.1]:38575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZEHK-0004oq-H8 for submit@debbugs.gnu.org; Thu, 24 Aug 2023 13:37:54 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:47324 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZEHI-0004oi-V7 for 65507@debbugs.gnu.org; Thu, 24 Aug 2023 13:37:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1692898668; bh=EQdQwLYh/wfCl0NksO3B8sggH4B891KOqAjK1unBqhY=; h=From:To:Subject:In-Reply-To:References:Date:From; b=ZjTbjl20FEFT69F0BXPROPleVMN6u+gLxkaaaDxum1NUqtKvi9thoqwyDggqNXnZ4 keZ6NIwxmmDxceu5vKA0E22YVRf3qUlv1JBtL6qgG+B1sypJcr+IC2Ns23xUAl92tg lVaHQT7D/2U/tdOzY70qzmQce1ej8MyHWKn5Al6EUsrOMvE4e8XYZ6AlGc781sNYQy lak76fU3sygK2YN731heEUekOfMGU1WAybwbr6DahKlfAb/3NJFM4ICA17fj6h9OvR 3i1sidGteht7i/wnoI1eJBNrTuMf26Zp9bRD4feJouB+jW5UEZ5wYQo5a72VI3xtNp y/ECAf52Zy5zA== From: Eshel Yaron In-Reply-To: (Eshel Yaron via's message of "Thu, 24 Aug 2023 19:29:27 +0200") References: Date: Thu, 24 Aug 2023 19:37:43 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain > Tags: patch > > This is a small tweak to the SMTP library manual. My last patch was incomplete, sorry about that. Here's an updated patch: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=v2-0001-Add-index-entry-for-OAuth2-SMTP-auth-mechanism.patch >From 2801f62c7e0d5d89337b5a52cf8f234ca635c474 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 24 Aug 2023 19:17:51 +0200 Subject: [PATCH v2] ; Add index entry for OAuth2 SMTP auth mechanism * doc/misc/smtpmail.texi (Authentication): Fix authentication mechanism count and add index entries for OAuth 2.0. --- doc/misc/smtpmail.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/misc/smtpmail.texi b/doc/misc/smtpmail.texi index 99363483827..cc2f4f85fb3 100644 --- a/doc/misc/smtpmail.texi +++ b/doc/misc/smtpmail.texi @@ -264,12 +264,14 @@ Authentication @cindex CRAM-MD5 @cindex PLAIN @cindex LOGIN +@cindex OAuth2 +@cindex OAuth 2.0 The process by which the @acronym{SMTP} library authenticates you to the server is known as ``Simple Authentication and Security Layer'' (@acronym{SASL}). There are various @acronym{SASL} mechanisms, and -this library supports three of them: @code{cram-md5}, @code{plain}, +this library supports four of them: @code{cram-md5}, @code{plain}, @code{login} and @code{xoauth2}, where the first uses a form of -encryption to obscure your password, while the other two do not. It +encryption to obscure your password, while the others do not. It tries each of them, in that order, until one succeeds. (@code{xoauth2} requires using the @file{oauth2.el} library. You can override this by assigning a specific authentication mechanism to a -- 2.41.0 --=-=-=-- From unknown Sun Jun 22 08:04:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eshel Yaron Subject: bug#65507: closed (Re: bug#65507: [PATCH] ; Add index entry for OAUTH2 SMTP auth mechanism) Message-ID: References: <835y54pb36.fsf@gnu.org> X-Gnu-PR-Message: they-closed 65507 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 65507@debbugs.gnu.org Date: Thu, 24 Aug 2023 18:09:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1692900542-21890-1" This is a multi-part message in MIME format... ------------=_1692900542-21890-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #65507: [PATCH] ; Add index entry for OAUTH2 SMTP auth mechanism which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 65507@debbugs.gnu.org. --=20 65507: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65507 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1692900542-21890-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 65507-done) by debbugs.gnu.org; 24 Aug 2023 18:08:16 +0000 Received: from localhost ([127.0.0.1]:38614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZEkh-0005g1-Uc for submit@debbugs.gnu.org; Thu, 24 Aug 2023 14:08:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZEkg-0005fp-Dw for 65507-done@debbugs.gnu.org; Thu, 24 Aug 2023 14:08:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZEkW-0000bO-Oz; Thu, 24 Aug 2023 14:08:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2/ayCL2t2heutn8VmQuqXqPgvVJfcjhe30xDWkMEVbA=; b=OzgPdT9pyFRH oLeEUeYikNzNbzevX5RC6Q7JCfFRCVPcNSxFKk58I0jTgafDolhuohlShjfSwELkTyktq/S9d2TcF esUPMg6tk+Uqm7hAxGTeXmvpTwjsZik3l/pi/OSnYcqjBW1jfVOnPlTw6t0FF740SiCaGezx7zi6A /p81O4PEc3ohfW/Cxg5uht6PUaZ0EA8xsIJaGswWKyFF8fKobS6HiTLUnhsaEopIYJnJ9di8M7UgK qZq/yO8i9P3nNta8EIFWE1l9b6k+PjhfglaVl0MOkyCDz/64I+0gaXC/3T8pDhQbyEmlx7CZCgnrQ nrdtKVtD5mdM35RHNljgMw==; Date: Thu, 24 Aug 2023 21:08:29 +0300 Message-Id: <835y54pb36.fsf@gnu.org> From: Eli Zaretskii To: Eshel Yaron In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#65507: [PATCH] ; Add index entry for OAUTH2 SMTP auth mechanism References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65507-done Cc: 65507-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 24 Aug 2023 19:37:43 +0200 > From: Eshel Yaron via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > Tags: patch > > > > This is a small tweak to the SMTP library manual. > > My last patch was incomplete, sorry about that. > Here's an updated patch: Thanks, installed on the emacs-29 branch, and closing the bug. ------------=_1692900542-21890-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Aug 2023 17:29:48 +0000 Received: from localhost ([127.0.0.1]:38570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZE9U-0004aN-Ci for submit@debbugs.gnu.org; Thu, 24 Aug 2023 13:29:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZE9S-0004a9-DU for submit@debbugs.gnu.org; Thu, 24 Aug 2023 13:29:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZE9I-0002kH-KG for bug-gnu-emacs@gnu.org; Thu, 24 Aug 2023 13:29:36 -0400 Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZE9G-0000lx-HZ for bug-gnu-emacs@gnu.org; Thu, 24 Aug 2023 13:29:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1692898173; bh=UH/kiTk85d7eMtzCqvmCm+ZR12Z9w58KWFSm1zq9EbU=; h=From:To:Subject:Date:From; b=FAAX+fgY445DFrsL7flMZZSUmL0l1QkCDR0HEguO05OhTWqY6Hh6AnLUZL9dMbEoQ ivOnnkalMRNeRs13neVYgT6lOLpfNk6qr//8hLsKCoTb6MyjZzhA5X7rL2pc1TXb+M wmRjTSLJN7OQDoNZcrgBKGwuhMRs+RwJ4Y2dGzHqyurApO7LTrF6+SnG8FC59zrT1Q g31MmuswUs/IC7MAZzQlZV8VEvQDre19CghZQ2tj/ag6QAW5YY7MLvdmsqGSTd5x+p qzaqYOVHhsRaPjjouSGtFSnComhs//woMgKQnmus/cPC52MZnoe81qZFy84pU33yYr yYHFO/NNGu51A== From: Eshel Yaron To: bug-gnu-emacs@gnu.org Subject: [PATCH] ; Add index entry for OAUTH2 SMTP auth mechanism Date: Thu, 24 Aug 2023 19:29:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain Tags: patch This is a small tweak to the SMTP library manual. In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin22.5.0, NS appkit-2299.60 Version 13.4 (Build 22F66)) of 2023-08-24 built on Dazzs-MacBook-Pro.local Repository revision: ad5e17d0638be46f982d1448e8fef1d28d224735 Repository branch: master Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.4 Configured using: 'configure 'CFLAGS=-g0 -O3' --with-native-compilation --with-json --with-imagemagick --with-tree-sitter --enable-link-time-optimization' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Add-index-entry-for-OAUTH2-SMTP-auth-mechanism.patch >From a2bef0f40a732a42f82641f45e2cb92aaa0952b2 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 24 Aug 2023 19:17:51 +0200 Subject: [PATCH] ; Add index entry for OAUTH2 SMTP auth mechanism * doc/misc/smtpmail.texi (Authentication): Fix authentication mechanism count and add index entries for OAuth 2.0. --- doc/misc/smtpmail.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/misc/smtpmail.texi b/doc/misc/smtpmail.texi index 99363483827..c8fd15aad69 100644 --- a/doc/misc/smtpmail.texi +++ b/doc/misc/smtpmail.texi @@ -264,10 +264,12 @@ Authentication @cindex CRAM-MD5 @cindex PLAIN @cindex LOGIN +@cindex OAuth2 +@cindex OAuth 2.0 The process by which the @acronym{SMTP} library authenticates you to the server is known as ``Simple Authentication and Security Layer'' (@acronym{SASL}). There are various @acronym{SASL} mechanisms, and -this library supports three of them: @code{cram-md5}, @code{plain}, +this library supports four of them: @code{cram-md5}, @code{plain}, @code{login} and @code{xoauth2}, where the first uses a form of encryption to obscure your password, while the other two do not. It tries each of them, in that order, until one succeeds. -- 2.41.0 --=-=-=-- ------------=_1692900542-21890-1--