
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Make the Mail work with Gmail using
OAuth. This
project is build on top of gmail_xaouth.
Mail::Xoauth
simply makes provides a nice connect to mail's rich
delivery and retrevial interface.
Add this line to your application's Gemfile:
gem 'mail-xoauth'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mail-xoauth
This gem does not retreive oauth access or refresh tokesn for you!
You must retrieve them yourself. Mail::Xoauth
requires an access
token. It's up to you to ensure a valid access token using a refresh
token. If you do not know how to do that, then look at the tests.
There is an example class to handle this. Given a valid oauth access
token and email address you're ready to connect.
gmail = Mail::XOauthIMAP.new address: 'example@gmail.com', access_token: 'foo'
# Query using Mail's standard interface
gmail.all
email = Mail.new do
from 'example@gmail.com'
to 'example@example.com'
subject 'XOauth Test'
end
gmail = Mail::XOauthSMTP.new address: 'example@example.com', access_token: 'foo'
gmail.deliver! email
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that mail-xoauth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.