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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c6428b007c4a1fde172235fd6ef82d25e15c578363d6bdcdfa53a69477c41bb
4
- data.tar.gz: d5c6ad650e686e2b71b745e9446d3ab75a249447dd7982db3500291bdfc66d4c
3
+ metadata.gz: b4756f78ef7cc152c4b05490fed4854c0650f85ac0bacab33ed4fdc7b888f35f
4
+ data.tar.gz: be12c6a59dae4bb73fe783fd2590e3486af5e682b14ba4f7cd1fed58945f2ae4
5
5
  SHA512:
6
- metadata.gz: b162d138b966c7b15c3bd7ac926a3113be2f3e50f91ebabddd32bff9559c374d9e25c6263b6c96d81692526a203c6303d41ba8921a81089856dc05ee56fe06c5
7
- data.tar.gz: de9f079fb994624d5c62effba8fcc5c08fa4b879b0a8e76a0e1d4de10fd409aa5940e07a2c15b185f68d54f28750c7fb0119f85c40f0c3be44d89629ebc36302
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 ||=
@@ -6,7 +6,7 @@ module Net
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 6
9
- TINY = 7
9
+ TINY = 8
10
10
  STRING = [MAJOR, MINOR, TINY].join('.')
11
11
  end
12
12
  end
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.7
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/master/CHANGELOG.md
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: