rubyntlm 0.6.7 → 0.6.8
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 +3 -0
- data/lib/net/ntlm/client/session.rb +0 -4
- data/lib/net/ntlm/client/session_crypto.rb +5 -0
- data/lib/net/ntlm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4756f78ef7cc152c4b05490fed4854c0650f85ac0bacab33ed4fdc7b888f35f
|
|
4
|
+
data.tar.gz: be12c6a59dae4bb73fe783fd2590e3486af5e682b14ba4f7cd1fed58945f2ae4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a14372acf83aeef63f0656757ae5c7ce7f263c1a4c17b9d8b83a2dcb3bcb1296d898075d5c69968e572cb71847d1d9bf4d8e0a7c077c55273192d17a7a27e2b
|
|
7
|
+
data.tar.gz: 9bdfccee2d76d806b93306600f94d5a6e4304568a47c186f11b6e81360f33f07d9c59508538264131673ea6fd538f97f11746c934a201fe0923a5dd464e69ec4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.6.8 (2026-09-14)
|
|
4
|
+
|
|
5
|
+
* Fix `NameError` on sign, seal, unseal, and verify: the 0.6.7 refactor moved the crypto methods into `SessionCrypto` but left their constants behind in `Session`, breaking message protection for encrypted winrm sessions ([#81](https://github.com/WinRb/rubyntlm/issues/81), [#80](https://github.com/WinRb/rubyntlm/pull/80))
|
|
3
6
|
## 0.6.7 (2026-09-14)
|
|
4
7
|
|
|
5
8
|
* Fix gem packaging: 0.6.6 shipped every file with mode 0660 (no world-read), so `require` failed for non-owner users. 0.6.7 is identical code, repackaged with the standard 0644 modes ([#77](https://github.com/WinRb/rubyntlm/issues/77))
|
|
@@ -11,10 +11,6 @@ module Net
|
|
|
11
11
|
VERSION_MAGIC = "\x01\x00\x00\x00"
|
|
12
12
|
TIME_OFFSET = 11_644_473_600
|
|
13
13
|
MAX64 = 0xffffffffffffffff
|
|
14
|
-
CLIENT_TO_SERVER_SIGNING = "session key to client-to-server signing key magic constant\0"
|
|
15
|
-
SERVER_TO_CLIENT_SIGNING = "session key to server-to-client signing key magic constant\0"
|
|
16
|
-
CLIENT_TO_SERVER_SEALING = "session key to client-to-server sealing key magic constant\0"
|
|
17
|
-
SERVER_TO_CLIENT_SEALING = "session key to server-to-client sealing key magic constant\0"
|
|
18
14
|
|
|
19
15
|
attr_reader :client, :challenge_message, :channel_binding
|
|
20
16
|
|
|
@@ -6,6 +6,11 @@ module Net
|
|
|
6
6
|
# Session key derivation and NTLMv2 response building for
|
|
7
7
|
# {Net::NTLM::Client::Session}. Included into Session; not used directly.
|
|
8
8
|
module SessionCrypto
|
|
9
|
+
CLIENT_TO_SERVER_SIGNING = "session key to client-to-server signing key magic constant\0"
|
|
10
|
+
SERVER_TO_CLIENT_SIGNING = "session key to server-to-client signing key magic constant\0"
|
|
11
|
+
CLIENT_TO_SERVER_SEALING = "session key to client-to-server sealing key magic constant\0"
|
|
12
|
+
SERVER_TO_CLIENT_SEALING = "session key to server-to-client sealing key magic constant\0"
|
|
13
|
+
|
|
9
14
|
# @return [String] session key exchanged with (or derived for) the server
|
|
10
15
|
def exported_session_key
|
|
11
16
|
@exported_session_key ||=
|
data/lib/net/ntlm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubyntlm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kohei Kajimoto
|
|
@@ -67,7 +67,7 @@ licenses:
|
|
|
67
67
|
metadata:
|
|
68
68
|
rubygems_mfa_required: 'true'
|
|
69
69
|
source_code_uri: https://github.com/winrb/rubyntlm
|
|
70
|
-
changelog_uri: https://github.com/winrb/rubyntlm/blob/
|
|
70
|
+
changelog_uri: https://github.com/winrb/rubyntlm/blob/main/CHANGELOG.md
|
|
71
71
|
bug_tracker_uri: https://github.com/winrb/rubyntlm/issues
|
|
72
72
|
rdoc_options: []
|
|
73
73
|
require_paths:
|