ruby_smb 3.3.3 → 3.3.4

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: 5731e815d97e8a27d6b66cc5a6e1e9d174fa4b00310a7c5078d5511e3ad38203
4
- data.tar.gz: 991b1bc215df449d885b5f87a71899dc8c062b6416c94fd9111027f1aff25cb8
3
+ metadata.gz: 856b8696f918533a035d4ad0019e8d6a32b0bb238117cc93c6f25ee320356465
4
+ data.tar.gz: 452cf8e8c441ae206ac4b5c030110a6f315e5b9c8a905d96b16d38ee33c1d4b3
5
5
  SHA512:
6
- metadata.gz: 40ba754f0c1b64b3e9cd80a86052b8deee3a534676e8cbf31aee537c18dd1d439ac64b9b748e2964b859e2df4a84c75d709e852802b490fba897ec80b4661932
7
- data.tar.gz: 8c4a38d904e93c97f8822352848853cc6934c4008f3917ec8fcf6d38b715a1ac59302ed129d192fdf54b1ee8faf56eb97dc6d810010c820e21ced7952513411a
6
+ metadata.gz: '08e4cf420f3ea5700d64e0201bf2a131a47d42fb9c20e144f269a431a4e5a8098a610dfcccbc5ec185ebb9b4ef2cbd0ff70cea9fcec37314ee4aa3b819ad16ac'
7
+ data.tar.gz: b82a62664bd1d1de60c7726dd422e6e7c48aa76acd45b56b06a6e7f5fde7ab78cf86de50f9936b6aef8e6287eaf043d2e55e40918f850f30aa22e7cdd0d50818
checksums.yaml.gz.sig CHANGED
Binary file
@@ -578,9 +578,9 @@ module RubySMB
578
578
  raw_response = dispatcher.recv_packet
579
579
  rescue RubySMB::Error::CommunicationError => e
580
580
  if encrypt
581
- raise RubySMB::Error::EncryptionError, "Communication error with the "\
582
- "remote host: #{e.message}. The server supports encryption but was "\
583
- "not able to handle the encrypted request."
581
+ raise e, "Communication error with the "\
582
+ "remote host: #{e.message}. The server supports encryption and this error "\
583
+ "may have been caused by encryption issues, but not always."
584
584
  else
585
585
  raise e
586
586
  end
@@ -1,3 +1,3 @@
1
1
  module RubySMB
2
- VERSION = '3.3.3'.freeze
2
+ VERSION = '3.3.4'.freeze
3
3
  end
@@ -471,9 +471,9 @@ RSpec.describe RubySMB::Client do
471
471
  it 'raises an EncryptionError exception if an error occurs while receiving the response' do
472
472
  allow(dispatcher).to receive(:recv_packet).and_raise(RubySMB::Error::CommunicationError)
473
473
  expect { client.recv_packet(encrypt: true) }.to raise_error(
474
- RubySMB::Error::EncryptionError,
474
+ RubySMB::Error::CommunicationError,
475
475
  'Communication error with the remote host: RubySMB::Error::CommunicationError. '\
476
- 'The server supports encryption but was not able to handle the encrypted request.'
476
+ 'The server supports encryption and this error may have been caused by encryption issues, but not always.'
477
477
  )
478
478
  end
479
479
 
@@ -2853,4 +2853,3 @@ RSpec.describe RubySMB::Client do
2853
2853
  end
2854
2854
  end
2855
2855
  end
2856
-
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_smb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.3
4
+ version: 3.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Metasploit Hackers
@@ -38,7 +38,7 @@ cert_chain:
38
38
  DgscAao7wB3xW2BWEp1KnaDWkf1x9ttgoBEYyuYwU7uatB67kBQG1PKvLt79wHvz
39
39
  Dxs+KOjGbBRfMnPgVGYkORKVrZIwlaboHbDKxcVW5xv+oZc7KYXWGg==
40
40
  -----END CERTIFICATE-----
41
- date: 2024-03-12 00:00:00.000000000 Z
41
+ date: 2024-03-20 00:00:00.000000000 Z
42
42
  dependencies:
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: redcarpet
metadata.gz.sig CHANGED
Binary file