winrm 2.3.7 → 2.3.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/README.md +2 -1
 - data/lib/winrm/http/transport.rb +3 -0
 - data/lib/winrm/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: 12357789d07a2c410fd7d9dabc47237f4fb23523913d49b76ae625675acad60b
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 1d01ca1491d81e468a12c60452d075f4f7a76d22d2b2343bb9cd5a56949716cf
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 90dee0cd3d70197bb5d3209637514b4578bc7cafdd4dce4f5dac17e89d058e546fe1f384f1c671c7b237f472455160188c0208e8a10a507ddf6212bc5ebf647d
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: f4c05231d9334ba7affbadf45ae47a41271ad6f3df678678a040a36b70de3cfda0fccc53b9e0eec20101866cb3119bbcc260572b0c69fa391480294f224634e2
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -79,7 +79,7 @@ WinRM::Connection.new( 
     | 
|
| 
       79 
79 
     | 
    
         
             
            )
         
     | 
| 
       80 
80 
     | 
    
         
             
            ```
         
     | 
| 
       81 
81 
     | 
    
         | 
| 
       82 
     | 
    
         
            -
            The `:ssl` transport establishes a connection to the winrm endpoint over a secure sockets layer transport encrypting the entire message. Here are some additional  
     | 
| 
      
 82 
     | 
    
         
            +
            The `:ssl` transport establishes a connection to the winrm endpoint over a secure sockets layer transport encrypting the entire message. Here are some additional connection options available to `:ssl` connections:
         
     | 
| 
       83 
83 
     | 
    
         | 
| 
       84 
84 
     | 
    
         
             
            * `:client_cert` - Either a string path to a certificate `.pem` file or a `X509::Certificate` object. This along with an accompanying `:client_key` can be used in lieu of a `:user` and `:password`.
         
     | 
| 
       85 
85 
     | 
    
         
             
            * `:client_key` - the path to the private key file accompanying the above mentioned `:client_cert` or an `PKey::Pkey` object.
         
     | 
| 
         @@ -87,6 +87,7 @@ The `:ssl` transport establishes a connection to the winrm endpoint over a secur 
     | 
|
| 
       87 
87 
     | 
    
         
             
            * `:no_ssl_peer_verification` - when set to `true` ssl certificate validation is not performed. With a self signed cert, its a match made in heaven!
         
     | 
| 
       88 
88 
     | 
    
         
             
            * `:ssl_peer_fingerprint` - when this is provided, normal certificate validation is skipped and instead the given fingerprint is matched against the certificate of the endpoint for verification.
         
     | 
| 
       89 
89 
     | 
    
         
             
            * `:ca_trust_path` - the path to a certificate `.pem` file to trust. Its similar to the `:ssl_peer_fingerprint` but contains the entire certificate to trust.
         
     | 
| 
      
 90 
     | 
    
         
            +
            * `:cert_store` - an OpenSSL::X509::X509::Store object used for certificate verification.
         
     | 
| 
       90 
91 
     | 
    
         | 
| 
       91 
92 
     | 
    
         
             
            ### `:kerberos`
         
     | 
| 
       92 
93 
     | 
    
         
             
            ```ruby
         
     | 
    
        data/lib/winrm/http/transport.rb
    CHANGED
    
    | 
         @@ -162,6 +162,7 @@ module WinRM 
     | 
|
| 
       162 
162 
     | 
    
         
             
                    no_ssl_peer_verification! if opts[:no_ssl_peer_verification]
         
     | 
| 
       163 
163 
     | 
    
         
             
                    @ssl_peer_fingerprint = opts[:ssl_peer_fingerprint]
         
     | 
| 
       164 
164 
     | 
    
         
             
                    @httpcli.ssl_config.set_trust_ca(opts[:ca_trust_path]) if opts[:ca_trust_path]
         
     | 
| 
      
 165 
     | 
    
         
            +
                    @httpcli.ssl_config.cert_store = opts[:cert_store] if opts[:cert_store]
         
     | 
| 
       165 
166 
     | 
    
         
             
                  end
         
     | 
| 
       166 
167 
     | 
    
         | 
| 
       167 
168 
     | 
    
         
             
                  def send_request(message)
         
     | 
| 
         @@ -269,6 +270,7 @@ module WinRM 
     | 
|
| 
       269 
270 
     | 
    
         
             
                    no_ssl_peer_verification! if opts[:no_ssl_peer_verification]
         
     | 
| 
       270 
271 
     | 
    
         
             
                    @ssl_peer_fingerprint = opts[:ssl_peer_fingerprint]
         
     | 
| 
       271 
272 
     | 
    
         
             
                    @httpcli.ssl_config.set_trust_ca(opts[:ca_trust_path]) if opts[:ca_trust_path]
         
     | 
| 
      
 273 
     | 
    
         
            +
                    @httpcli.ssl_config.cert_store = opts[:cert_store] if opts[:cert_store]
         
     | 
| 
       272 
274 
     | 
    
         
             
                  end
         
     | 
| 
       273 
275 
     | 
    
         
             
                end
         
     | 
| 
       274 
276 
     | 
    
         | 
| 
         @@ -281,6 +283,7 @@ module WinRM 
     | 
|
| 
       281 
283 
     | 
    
         
             
                    no_ssl_peer_verification! if opts[:no_ssl_peer_verification]
         
     | 
| 
       282 
284 
     | 
    
         
             
                    @ssl_peer_fingerprint = opts[:ssl_peer_fingerprint]
         
     | 
| 
       283 
285 
     | 
    
         
             
                    @httpcli.ssl_config.set_trust_ca(opts[:ca_trust_path]) if opts[:ca_trust_path]
         
     | 
| 
      
 286 
     | 
    
         
            +
                    @httpcli.ssl_config.cert_store = opts[:cert_store] if opts[:cert_store]
         
     | 
| 
       284 
287 
     | 
    
         
             
                  end
         
     | 
| 
       285 
288 
     | 
    
         
             
                end
         
     | 
| 
       286 
289 
     | 
    
         | 
    
        data/lib/winrm/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: winrm
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2.3. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.3.8
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Dan Wanek
         
     | 
| 
         @@ -11,7 +11,7 @@ authors: 
     | 
|
| 
       11 
11 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       12 
12 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       13 
13 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       14 
     | 
    
         
            -
            date: 2024- 
     | 
| 
      
 14 
     | 
    
         
            +
            date: 2024-07-02 00:00:00.000000000 Z
         
     | 
| 
       15 
15 
     | 
    
         
             
            dependencies:
         
     | 
| 
       16 
16 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       17 
17 
     | 
    
         
             
              name: builder
         
     |