My workplace has moved to O365 with oauth2 and I was trying to figure out how to get mutt to work. (They allow evolution for linux users, but I want to see if I can get away with continuing to use mutt.) The evolution setup for O365 is not local to my workplace and the configuation seems to accept tenant common and the usual application ID (client ID). I am not sure what the client_secret is, or where to find this. (I am able to log in through evolution, and access my email.)
So, I was looking into using mutt_oauth2.py. I came across this post, got the gpg key in place of YOUR_GPG_IDENTITY and tried to follow the instructions: https://www.dcs.gla.ac.uk/~jacobd/posts/2022/03/configure-mutt-to-work-with-oauth-20/ (I put in the client ID, and for now left the client_secret "" because I can not tell where this is stored in evolution). Advice on this would be very helpful too. Anyway, but at this poiint, I do not appear to even get there: I try: $ python mutt_oauth2.py token.txt --authorize Difficulty decrypting token file. Is your decryption agent primed for non-interactive usage, or an appropriate environment variable such as GPG_TTY set to allow interactive agent usage from inside a pipe? Where is this token file put in, in the script? Actually, is there any place with detailed instructions on this? (Sorry for using yahoo mail's browser, this email account is tied to the mutt mailing list, and I could not figure out how to do yahoo's app password to work for non-browser access.) Thanks very much for any advice! Best, GT
