--- /usr/local/share/examples/mutt/mutt_oauth2.py	2025-12-17 21:55:12.000000000 -0800
+++ /home/kaduk/.mutt/mutt_oauth2.py	2026-01-02 12:24:18.219945000 -0800
@@ -44,8 +44,8 @@
 # encryption and decryption pipes you prefer. They should read from standard
 # input and write to standard output. The example values here invoke GPG,
 # although won't work until an appropriate identity appears in the first line.
-ENCRYPTION_PIPE = ['gpg', '--encrypt', '--recipient', 'YOUR_GPG_IDENTITY']
-DECRYPTION_PIPE = ['gpg', '--decrypt']
+ENCRYPTION_PIPE = ['gpg', '--homedir', '/home/kaduk/.mutt-oauth-gnupg', '--encrypt', '--recipient', 'kaduk@kduck.local']
+DECRYPTION_PIPE = ['gpg', '--homedir', '/home/kaduk/.mutt-oauth-gnupg', '--decrypt']
 
 registrations = {
     'google': {
@@ -74,7 +74,9 @@
         'scope': ('offline_access https://outlook.office.com/IMAP.AccessAsUser.All '
                   'https://outlook.office.com/POP.AccessAsUser.All '
                   'https://outlook.office.com/SMTP.Send'),
-        'client_id': '',
+        # Actually alpine's
+        'client_id': 'f21dcaf2-8020-469b-8135-343bfc35d046',
+        #'client_secret': 'Tk-DAcEi13-FeSsY_Ja4Y.-MyL66I.wIPt',
         'client_secret': '',
     },
 }
@@ -239,7 +241,6 @@
                   'code': authcode,
                   'client_secret': registration['client_secret'],
                   'code_verifier': verifier})
-        print('Exchanging the authorization code for an access token')
         try:
             response = urllib.request.urlopen(registration['token_endpoint'],
                                               urllib.parse.urlencode(p).encode())
@@ -382,6 +383,8 @@
         print('IMAP authentication FAILED (does your account allow IMAP?):', e)
         errors = True
 
+# disable POP/SMTP testing for now
+if False:
     pop_conn = poplib.POP3_SSL(registration['pop_endpoint'])
     sasl_string = build_sasl_string(token['email'], registration['pop_endpoint'], 995,
                                     token['access_token'])
