-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
SASL 🔒Authentication and authentication mechanismsAuthentication and authentication mechanisms
Description
For years, up to and including ruby 2.7.5, I've been able to authenticate into some IMAP servers (even gmail) like so:
server = Net::IMAP.new(HOST, :port=>993, :ssl=>true)
server.authenticate('PLAIN', USERNAME, PASSWORD)
I've just upgraded to ruby 3.1.0 (from 2.7.5), and now this doesn't work on any of those servers. Instead I get:
lib/ruby/gems/3.1.0/gems/net-imap-0.2.2/lib/net/imap.rb:1252:in `get_tagged_response': Authentication failed. (Net::IMAP::NoResponseError)
If I switch back to ruby 2.7.5 it works again.
I'm not knowledgeable enough to understand why this stopped working.
Metadata
Metadata
Assignees
Labels
SASL 🔒Authentication and authentication mechanismsAuthentication and authentication mechanisms