ruby-ntlm 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e26c065e9eceacdfec71a78b2c6deefd4fad3a9
4
- data.tar.gz: 4664f657f8615350873b3991ee93aee2ee365e84
3
+ metadata.gz: acc9fb660e2ce76870c434549390d46fbd2f7c6c
4
+ data.tar.gz: 5e87d2d92b25c22aea01e0f24ee44aa1e89409a4
5
5
  SHA512:
6
- metadata.gz: 489944e1a1b4e05385b1699d62002e21facbf910afa5638e923d1c0d23ebb7378f7ab4ab6de589aefa648a3227d06da29df1eb977ae008dc2ff07d0dd82f0d6e
7
- data.tar.gz: afe5422cae120622ac64e3f6a888e93d795c173695072bfe31dc003e9954f579a8af5a845481bfe672fa580d21425b78172bfb6dbae047dab71f215beb5960af
6
+ metadata.gz: e54c73b9f8b6bb2a8a2ca7fce1097bae475c64f8d064c626d2b169c26bba8b711774b863060f4a55c9d289664b38c09a2d6e63d69e447f69fd249dc1e3d6df49
7
+ data.tar.gz: e38b3353617549ceef27fe8bc74b500b620c2a75ae4408f7afa3fd6442338f1bf4a5870cb400c4d2fe7f4ee604dca91bd0eb41439a92b2dfc215559ad3d5f689
@@ -1,7 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- #- 1.8.7
4
3
  - 1.9.3
5
- - 2.2.5
6
- - 2.3.1
4
+ - 2.2.7
5
+ - 2.3.4
6
+ - 2.4.1
7
+ - jruby
7
8
  script: bundle exec rake test
@@ -62,4 +62,4 @@ References
62
62
  * [MS-NLMP][]: NT LAN Manager (NTLM) Authentication Protocol Specification
63
63
  [MS-NLMP]: http://msdn.microsoft.com/en-us/library/cc236621%28PROT.13%29.aspx
64
64
  * [Ruby/NTLM][]: Another NTLM implementation for Ruby
65
- [Ruby/NTLM]: http://rubyforge.org/projects/rubyntlm/
65
+ [Ruby/NTLM]: https://rubygems.org/gems/rubyntlm
@@ -58,7 +58,10 @@ module NTLM
58
58
  keys.each do |k|
59
59
  cipher.encrypt
60
60
  cipher.key = k
61
- result << cipher.update(plain_text)
61
+
62
+ encrypted_text = cipher.update(plain_text)
63
+ encrypted_text << cipher.final
64
+ result << encrypted_text[0...8]
62
65
  end
63
66
 
64
67
  result
@@ -1,5 +1,5 @@
1
1
  # vim: set et sw=2 sts=2:
2
2
 
3
3
  module NTLM
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-ntlm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - MATSUYAMA Kengo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-26 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.4.5.1
106
+ rubygems_version: 2.6.8
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: NTLM implementation for Ruby.