net-smtp-ntlm 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +37 -1
- data/lib/net/smtp/ntlm/util.rb +1 -1
- data/lib/net/smtp/ntlm/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bc9acb6b897abf5a907f3f0df1f6ab2df4b7bf2863f1d3517d05a680659c513
|
4
|
+
data.tar.gz: 29bf5d0ce6b643dca5759cf2900bf3ca27fc888ae394046bc7b1fc67203cf774
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ecf5d1d911e36ee152b152ae45b3517eabaab0283fd146abe036d20af17434e1de7bb9231f60ef019628927a46f6efb30c25404e43e1b963741c3a61e1d9b22
|
7
|
+
data.tar.gz: 0aa108c64e0778aff9ad06e41f13c8afa1f6fdf6ce40e5b9f7178ecddf9d53c6f89fcd4ab9230ac4775cd1362c70ae14bfae70af03c3042453dfe24eb47aaaba
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -22,6 +22,42 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
+
Add to the end of `application.rb`
|
26
|
+
|
27
|
+
require 'net/smtp/ntlm'
|
28
|
+
|
29
|
+
## Troubleshooting
|
30
|
+
|
31
|
+
if you get an exception
|
32
|
+
|
33
|
+
Digest initialization failed: initialization error (OpenSSL::Digest::DigestError)
|
34
|
+
|
35
|
+
or
|
36
|
+
|
37
|
+
unsupported (OpenSSL::Cipher::CipherError)
|
38
|
+
|
39
|
+
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](https://github.com/ruby/openssl/issues/500#issuecomment-1100660910). The following is a quote.
|
40
|
+
|
41
|
+
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.
|
42
|
+
|
43
|
+
https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html
|
44
|
+
|
45
|
+
```
|
46
|
+
[provider_sect]
|
47
|
+
default = default_sect
|
48
|
+
legacy = legacy_sect
|
49
|
+
|
50
|
+
[default_sect]
|
51
|
+
activate = 1
|
52
|
+
|
53
|
+
[legacy_sect]
|
54
|
+
activate = 1
|
55
|
+
```
|
56
|
+
|
57
|
+
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.
|
58
|
+
|
59
|
+
|
60
|
+
|
25
61
|
## Contributing
|
26
62
|
|
27
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/net-smtp.
|
63
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/net-smtp.
|
data/lib/net/smtp/ntlm/util.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-smtp-ntlm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fedosov Sergey (RnD Soft)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-smtp
|
@@ -58,14 +58,14 @@ executables: []
|
|
58
58
|
extensions: []
|
59
59
|
extra_rdoc_files: []
|
60
60
|
files:
|
61
|
-
- README.md
|
62
61
|
- CHANGELOG.md
|
63
|
-
-
|
62
|
+
- README.md
|
63
|
+
- lib/net/smtp/ntlm.rb
|
64
64
|
- lib/net/smtp/ntlm/auth_ntlm.rb
|
65
65
|
- lib/net/smtp/ntlm/message.rb
|
66
66
|
- lib/net/smtp/ntlm/util.rb
|
67
67
|
- lib/net/smtp/ntlm/version.rb
|
68
|
-
-
|
68
|
+
- net-smtp-ntlm.gemspec
|
69
69
|
homepage: https://rnds.pro
|
70
70
|
licenses: []
|
71
71
|
metadata: {}
|