New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

net-smtp-ntlm

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

net-smtp-ntlm

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Net::SMTP::NTLM

Add-on for net-smtp gem to add NTLM support.

Based on ruby-ntlm gem.

Installation

Add this line to your application's Gemfile:

gem 'net-smtp-ntlm'

And then execute:

$ bundle

Or install it yourself as:

$ gem install net-smtp-ntlm

Usage

Add to the end of application.rb

require 'net/smtp/ntlm'

Troubleshooting

if you get an exception

Digest initialization failed: initialization error (OpenSSL::Digest::DigestError)

or

unsupported (OpenSSL::Cipher::CipherError)

or same, this could mean you try use legacy algorithm with OpenSSL 3.x. The problem can be solved in the way @rhenium described here. The following is a quote.

In OpenSSL 3.0, these algorithms belong to the OpenSSL legacy provider. The legacy provider is not enabled by default in a fresh installation of OpenSSL 3.0 and has to be enabled using openssl.cnf.

https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html

[provider_sect]
default = default_sect
legacy = legacy_sect

[default_sect]
activate = 1

[legacy_sect]
activate = 1

It could also be programmatically by using "propquery" string of EVP_PKEY_CTX_new_from_name(), but this is currently not available through ruby/openssl.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/net-smtp.

FAQs

Package last updated on 30 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc