ubiq-security 1.0.2 → 1.0.7

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
  SHA256:
3
- metadata.gz: 97aa80db52e77adb021ed791c52ca09b12bea36fd82d402fca9506e8fcac253d
4
- data.tar.gz: b421f79fe3e7630dc3b20fc588156c679f60914ecf880c9f799d3861a4d1d9a2
3
+ metadata.gz: 0f4746f4365946e670135c9534728814a0b3981e782b3fc71bd2bd87da81e726
4
+ data.tar.gz: 3da4e66a2f415885871a4c8c2a8d486f2cf6b80c977c9ba8c2e235dc72082605
5
5
  SHA512:
6
- metadata.gz: 2d6d1136d3db18adf77b492c8369feb76d448fc263e5178be4b896a3c2767ee872700eb2832f8acd7d2ec99f3779e478da4a6172072e1613e72dd7815ff4d2e4
7
- data.tar.gz: 12cc028eed9331209b3198ceb4b82dc3fd019da29d2148b02923d955a2439d18cb84f8ba2e435d34ba6da2eb8bbb815f0545d67ef4aa567968ae3cf2bdab31c6
6
+ metadata.gz: 78f11f87fcf7df82d9f2c4c31bea91ca85cce962444256a99a708c730461e0d7e1236a0d3b938cc135c654b9f1f1d155d634b0c0062ec1093c7583f51e002686
7
+ data.tar.gz: b4cf969644f184c2d311ab900ed07baab367f8e396df04013af145ee37aa872eba5a57694e8aeacce68ca020fd74ea6074e8588f302f36f8b7dd23557e34be6a
data/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # Changelog
2
+
3
+ ## 1.0.7 - 2021-02-11
4
+ * Gemfile / dependency cleanup
5
+
6
+ ## 1.0.6 - 2020-10-28
7
+ * Change to MIT license
8
+
9
+ ## 1.0.5 - 2020-09-23
10
+ * Remove dead code
11
+ * Pass client library name and version to server
12
+ * Added AAD information to ciphers for encrypt and decrypt
13
+
14
+ ## 1.0.1 - 2020-08-20
15
+ * Initial Version
data/Gemfile CHANGED
@@ -7,4 +7,6 @@ gemspec
7
7
  gem "rspec", "~> 3.0"
8
8
  gem "rb-readline"
9
9
  gem "httparty"
10
+ gem "webrick"
11
+ gem "activesupport"
10
12
 
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020- Ubiq Security, Inc. (https://ubiqsecurity.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -31,8 +31,11 @@ To build and install directly from a clone of the gitlab repository source:
31
31
  ```sh
32
32
  git clone https://gitlab.com/ubiqsecurity/ubiq-ruby.git
33
33
  cd ubiq-ruby
34
- rake install:local
34
+ bundle install
35
+ gem build ubiq-security.gemspec
36
+ gem install ./ubiq-security*.gem
35
37
  ```
38
+ You may need to run the `gem install` commands above using sudo.
36
39
 
37
40
 
38
41
  ## Usage
@@ -82,7 +85,7 @@ Pass credentials and data into the encryption function. The encrypted data will
82
85
 
83
86
 
84
87
  ```ruby
85
- require "ubiq-security"
88
+ require 'ubiq-security'
86
89
  include Ubiq
87
90
 
88
91
  encrypted_data = encrypt(credentials, plaintext_data)
@@ -94,7 +97,7 @@ encrypted_data = encrypt(credentials, plaintext_data)
94
97
  Pass credentials and encrypted data into the decryption function. The plaintext data will be returned.
95
98
 
96
99
  ```ruby
97
- require "ubiq-security"
100
+ require 'ubiq-security'
98
101
  include Ubiq
99
102
 
100
103
  plaintext_data = decrypt(credentials, encrypted_data)
@@ -111,7 +114,7 @@ plaintext_data = decrypt(credentials, encrypted_data)
111
114
 
112
115
 
113
116
  ```ruby
114
- require "ubiq-security"
117
+ require 'ubiq-security'
115
118
  include Ubiq
116
119
 
117
120
  # Process 1 MiB of plaintext data at a time
@@ -127,7 +130,7 @@ BLOCK_SIZE = 1024 * 1024
127
130
  # Loop until the end of the input file is reached
128
131
  until infile.eof?
129
132
  chunk = infile.read BLOCK_SIZE
130
- encrypted_data += encryption.update(chunk))
133
+ encrypted_data += encryption.update(chunk)
131
134
  end
132
135
  # Make sure any additional encrypted data is retrieved from encryption instance
133
136
  encrypted_data += encryption.end()
@@ -146,7 +149,7 @@ BLOCK_SIZE = 1024 * 1024
146
149
 
147
150
 
148
151
  ```ruby
149
- require "ubiq-security"
152
+ require 'ubiq-security'
150
153
  include Ubiq
151
154
 
152
155
  # Process 1 MiB of encrypted data at a time
@@ -158,7 +161,7 @@ BLOCK_SIZE = 1024 * 1024
158
161
  decryption = Decryption(credentials)
159
162
 
160
163
  # Start the decryption and get any header information
161
- plaintext_data = decryption.begin())
164
+ plaintext_data = decryption.begin()
162
165
 
163
166
  # Loop until the end of the input file is reached
164
167
  until infile.eof?
@@ -179,7 +182,7 @@ BLOCK_SIZE = 1024 * 1024
179
182
  [bundler]: https://bundler.io
180
183
  [rubygems]: https://rubygems.org
181
184
  [gem]: https://rubygems.org/gems/uniq-security
182
- [dashboard]:https://dev.ubiqsecurity.com/docs/dashboard
185
+ [dashboard]:https://dashboard.ubiqsecurity.com/
183
186
  [credentials]:https://dev.ubiqsecurity.com/docs/how-to-create-api-keys
184
187
  [apidocs]:https://dev.ubiqsecurity.com/docs/api
185
188
 
data/lib/ubiq-security.rb CHANGED
@@ -1,18 +1,3 @@
1
- # Copyright 2020 Ubiq Security, Inc., Proprietary and All Rights Reserved.
2
- #
3
- # NOTICE: All information contained herein is, and remains the property
4
- # of Ubiq Security, Inc. The intellectual and technical concepts contained
5
- # herein are proprietary to Ubiq Security, Inc. and its suppliers and may be
6
- # covered by U.S. and Foreign Patents, patents in process, and are
7
- # protected by trade secret or copyright law. Dissemination of this
8
- # information or reproduction of this material is strictly forbidden
9
- # unless prior written permission is obtained from Ubiq Security, Inc.
10
- #
11
- # Your use of the software is expressly conditioned upon the terms
12
- # and conditions available at:
13
- #
14
- # https://ubiqsecurity.com/legal
15
-
16
1
  # frozen_string_literal: true
17
2
 
18
3
  require 'ubiq/version'
data/lib/ubiq/algo.rb CHANGED
@@ -1,19 +1,3 @@
1
- # Copyright 2020 Ubiq Security, Inc., Proprietary and All Rights Reserved.
2
- #
3
- # NOTICE: All information contained herein is, and remains the property
4
- # of Ubiq Security, Inc. The intellectual and technical concepts contained
5
- # herein are proprietary to Ubiq Security, Inc. and its suppliers and may be
6
- # covered by U.S. and Foreign Patents, patents in process, and are
7
- # protected by trade secret or copyright law. Dissemination of this
8
- # information or reproduction of this material is strictly forbidden
9
- # unless prior written permission is obtained from Ubiq Security, Inc.
10
- #
11
- # Your use of the software is expressly conditioned upon the terms
12
- # and conditions available at:
13
- #
14
- # https://ubiqsecurity.com/legal
15
- #
16
-
17
1
  # frozen_string_literal: true
18
2
 
19
3
  require 'active_support/all'
@@ -23,7 +7,11 @@ module Ubiq
23
7
  # Class to provide some basic information mapping between an
24
8
  # encryption algorithm name and the cooresponding
25
9
  # key size, initialization vector length, and tag
10
+
26
11
  class Algo
12
+
13
+ UBIQ_HEADER_V0_FLAG_AAD = 0b00000001
14
+
27
15
  def set_algo
28
16
  @algorithm = {
29
17
  'aes-256-gcm' => {
@@ -33,10 +21,27 @@ module Ubiq
33
21
  key_length: 32,
34
22
  iv_length: 12,
35
23
  tag_length: 16
24
+ },
25
+ 'aes-128-gcm' => {
26
+ id: 1,
27
+ algorithm: OpenSSL::Cipher::AES128,
28
+ mode: OpenSSL::Cipher::AES128.new(:GCM),
29
+ key_length: 16,
30
+ iv_length: 12,
31
+ tag_length: 16
36
32
  }
37
33
  }
38
34
  end
39
35
 
36
+ def find_alg(id)
37
+ set_algo.each do |k,v|
38
+ if v[:id] == id
39
+ return k
40
+ end
41
+ end
42
+ "unknown"
43
+ end
44
+
40
45
  def get_algo(name)
41
46
  set_algo[name]
42
47
  end
data/lib/ubiq/auth.rb CHANGED
@@ -1,19 +1,3 @@
1
- # Copyright 2020 Ubiq Security, Inc., Proprietary and All Rights Reserved.
2
- #
3
- # NOTICE: All information contained herein is, and remains the property
4
- # of Ubiq Security, Inc. The intellectual and technical concepts contained
5
- # herein are proprietary to Ubiq Security, Inc. and its suppliers and may be
6
- # covered by U.S. and Foreign Patents, patents in process, and are
7
- # protected by trade secret or copyright law. Dissemination of this
8
- # information or reproduction of this material is strictly forbidden
9
- # unless prior written permission is obtained from Ubiq Security, Inc.
10
- #
11
- # Your use of the software is expressly conditioned upon the terms
12
- # and conditions available at:
13
- #
14
- # https://ubiqsecurity.com/legal
15
- #
16
-
17
1
  # frozen_string_literal: true
18
2
 
19
3
  require 'active_support/all'
@@ -48,6 +32,7 @@ module Ubiq
48
32
 
49
33
  # Initialize the headers object to be returned via this method
50
34
  all_headers = {}
35
+ all_headers['user-agent'] = 'ubiq-ruby/' + Ubiq::VERSION
51
36
  # The content type of request
52
37
  all_headers['content-type'] = 'application/json'
53
38
  # The request target calculated above(reqt)
@@ -74,7 +59,7 @@ module Ubiq
74
59
  all_headers.delete('(created)')
75
60
  all_headers.delete('(request-target)')
76
61
  all_headers.delete('host')
77
-
62
+
78
63
  # Build the Signature header itself
79
64
  all_headers['signature'] = 'keyId="' + papi + '"'
80
65
  all_headers['signature'] += ', algorithm="hmac-sha512"'
@@ -87,9 +72,13 @@ module Ubiq
87
72
  return all_headers
88
73
  end
89
74
 
75
+ # Only want to return port in the URI if the
76
+ # host contained one, otherwise let gateway resolve it
90
77
  def self.get_host(host)
91
78
  uri = URI(host)
92
- return "#{uri.hostname}:#{uri.port}"
79
+ ret = uri.hostname.to_s
80
+ ret += ":#{uri.port}" if host.match(/:[0-9]+/)
81
+ ret
93
82
  end
94
83
 
95
84
  def self.get_date
@@ -1,24 +1,7 @@
1
- # Copyright 2020 Ubiq Security, Inc., Proprietary and All Rights Reserved.
2
- #
3
- # NOTICE: All information contained herein is, and remains the property
4
- # of Ubiq Security, Inc. The intellectual and technical concepts contained
5
- # herein are proprietary to Ubiq Security, Inc. and its suppliers and may be
6
- # covered by U.S. and Foreign Patents, patents in process, and are
7
- # protected by trade secret or copyright law. Dissemination of this
8
- # information or reproduction of this material is strictly forbidden
9
- # unless prior written permission is obtained from Ubiq Security, Inc.
10
- #
11
- # Your use of the software is expressly conditioned upon the terms
12
- # and conditions available at:
13
- #
14
- # https://ubiqsecurity.com/legal
15
- #
16
-
17
1
  # frozen_string_literal: true
18
2
 
19
3
  require 'configparser'
20
4
  require 'rb-readline'
21
- require 'byebug'
22
5
  require_relative './host.rb'
23
6
 
24
7
 
data/lib/ubiq/decrypt.rb CHANGED
@@ -1,23 +1,6 @@
1
- # Copyright 2020 Ubiq Security, Inc., Proprietary and All Rights Reserved.
2
- #
3
- # NOTICE: All information contained herein is, and remains the property
4
- # of Ubiq Security, Inc. The intellectual and technical concepts contained
5
- # herein are proprietary to Ubiq Security, Inc. and its suppliers and may be
6
- # covered by U.S. and Foreign Patents, patents in process, and are
7
- # protected by trade secret or copyright law. Dissemination of this
8
- # information or reproduction of this material is strictly forbidden
9
- # unless prior written permission is obtained from Ubiq Security, Inc.
10
- #
11
- # Your use of the software is expressly conditioned upon the terms
12
- # and conditions available at:
13
- #
14
- # https://ubiqsecurity.com/legal
15
- #
16
-
17
1
  # frozen_string_literal: true
18
2
 
19
3
  require 'rb-readline'
20
- require 'byebug'
21
4
  require 'httparty'
22
5
  require 'active_support/all'
23
6
  require_relative './auth.rb'
@@ -123,10 +106,10 @@ module Ubiq
123
106
  # and the key?
124
107
  if @data.length > struct_length
125
108
  # Unpack the values packed in encryption
126
- version, flag_for_later, algorithm_id, iv_length, key_length = packed_struct.unpack('CCCCn')
109
+ version, flags, algorithm_id, iv_length, key_length = packed_struct.unpack('CCCCn')
127
110
 
128
- # verify flag and version are 0
129
- raise 'invalid encryption header' if (version != 0) || (flag_for_later != 0)
111
+ # verify flag are correct and version is 0
112
+ raise 'invalid encryption header' if (version != 0 ) || ((flags & ~Algo::UBIQ_HEADER_V0_FLAG_AAD) != 0)
130
113
 
131
114
  # Does the buffer contain the entire header?
132
115
  if @data.length > struct_length + iv_length + key_length
@@ -165,7 +148,8 @@ module Ubiq
165
148
  @key['client_id'] = client_id
166
149
  @key['session'] = response['encryption_session']
167
150
 
168
- @key['algorithm'] = 'aes-256-gcm'
151
+ # Get the algorithm name from the internal algorithm id in the header
152
+ @key['algorithm'] = Algo.new.find_alg(algorithm_id)
169
153
 
170
154
  encrypted_private_key = response['encrypted_private_key']
171
155
  # Decrypt the encryped private key using SRSA
@@ -194,6 +178,15 @@ module Ubiq
194
178
  if @key.present?
195
179
  @algo = Algo.new.get_algo(@key['algorithm'])
196
180
  @key['dec'] = Algo.new.decryptor(@algo, @key['raw'], iv)
181
+ # Documentation indicates the auth_data has to be set AFTER auth_tag
182
+ # but we get an OpenSSL error when it is set AFTER an update call.
183
+ # Checking OpenSSL documentation, there is not a requirement to set
184
+ # auth_data before auth_tag so Ruby documentation seems to be
185
+ # wrong. This approach works and is compatible with the encrypted
186
+ # data produced by the other languages' client library
187
+ if (flags & Algo::UBIQ_HEADER_V0_FLAG_AAD) != 0
188
+ @key['dec'].auth_data = packed_struct + iv + encrypted_key
189
+ end
197
190
  @key['uses'] += 1
198
191
  end
199
192
  end
data/lib/ubiq/encrypt.rb CHANGED
@@ -1,23 +1,6 @@
1
- # Copyright 2020 Ubiq Security, Inc., Proprietary and All Rights Reserved.
2
- #
3
- # NOTICE: All information contained herein is, and remains the property
4
- # of Ubiq Security, Inc. The intellectual and technical concepts contained
5
- # herein are proprietary to Ubiq Security, Inc. and its suppliers and may be
6
- # covered by U.S. and Foreign Patents, patents in process, and are
7
- # protected by trade secret or copyright law. Dissemination of this
8
- # information or reproduction of this material is strictly forbidden
9
- # unless prior written permission is obtained from Ubiq Security, Inc.
10
- #
11
- # Your use of the software is expressly conditioned upon the terms
12
- # and conditions available at:
13
- #
14
- # https://ubiqsecurity.com/legal
15
- #
16
-
17
1
  # frozen_string_literal: true
18
2
 
19
3
  require 'rb-readline'
20
- require 'byebug'
21
4
  require 'httparty'
22
5
  require 'active_support/all'
23
6
  require_relative './auth.rb'
@@ -128,7 +111,9 @@ module Ubiq
128
111
  @enc, @iv = Algo.new.encryptor(@algo, @key['raw'])
129
112
 
130
113
  # Pack the result into bytes to get a byte string
131
- struct = [0, 0, @algo[:id], @iv.length, @key['encrypted'].length].pack('CCCCn')
114
+ struct = [0, Algo::UBIQ_HEADER_V0_FLAG_AAD, @algo[:id], @iv.length, @key['encrypted'].length].pack('CCCCn')
115
+
116
+ @enc.auth_data = struct + @iv + @key['encrypted']
132
117
  @encryption_started = true
133
118
  return struct + @iv + @key['encrypted']
134
119
  end
data/lib/ubiq/host.rb CHANGED
@@ -1,18 +1,5 @@
1
- # Copyright 2020 Ubiq Security, Inc., Proprietary and All Rights Reserved.
2
- #
3
- # NOTICE: All information contained herein is, and remains the property
4
- # of Ubiq Security, Inc. The intellectual and technical concepts contained
5
- # herein are proprietary to Ubiq Security, Inc. and its suppliers and may be
6
- # covered by U.S. and Foreign Patents, patents in process, and are
7
- # protected by trade secret or copyright law. Dissemination of this
8
- # information or reproduction of this material is strictly forbidden
9
- # unless prior written permission is obtained from Ubiq Security, Inc.
10
- #
11
- # Your use of the software is expressly conditioned upon the terms
12
- # and conditions available at:
13
- #
14
- # https://ubiqsecurity.com/legal
15
- #
1
+ # frozen_string_literal: true
2
+
16
3
  module Ubiq
17
- UBIQ_HOST = 'api.ubiqsecurity.com:8811'
4
+ UBIQ_HOST = 'api.ubiqsecurity.com'
18
5
  end
data/lib/ubiq/version.rb CHANGED
@@ -1,21 +1,5 @@
1
- # Copyright 2020 Ubiq Security, Inc., Proprietary and All Rights Reserved.
2
- #
3
- # NOTICE: All information contained herein is, and remains the property
4
- # of Ubiq Security, Inc. The intellectual and technical concepts contained
5
- # herein are proprietary to Ubiq Security, Inc. and its suppliers and may be
6
- # covered by U.S. and Foreign Patents, patents in process, and are
7
- # protected by trade secret or copyright law. Dissemination of this
8
- # information or reproduction of this material is strictly forbidden
9
- # unless prior written permission is obtained from Ubiq Security, Inc.
10
- #
11
- # Your use of the software is expressly conditioned upon the terms
12
- # and conditions available at:
13
- #
14
- # https://ubiqsecurity.com/legal
15
- #
16
-
17
1
  # frozen_string_literal: true
18
2
 
19
3
  module Ubiq
20
- VERSION = '1.0.2'
4
+ VERSION = '1.0.7'
21
5
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.description = "Provide data encryption to any application with a couple of API calls. " \
11
11
  "See https://www.ubiqsecurity.com for details."
12
12
  spec.homepage = "https://dev.ubiqsecurity.com/docs/ruby-library"
13
- spec.license = "Nonstandard"
13
+ spec.license = "MIT"
14
14
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
15
15
 
16
16
  spec.metadata["homepage_uri"] = spec.homepage
@@ -27,4 +27,8 @@ Gem::Specification.new do |spec|
27
27
  spec.require_paths = ["lib"]
28
28
  spec.add_runtime_dependency 'rb-readline', '~> 0.2', '>= 0.2'
29
29
  spec.add_runtime_dependency 'httparty', '~> 0.15', '>= 0.15'
30
+ spec.add_runtime_dependency 'webrick', '~> 1.7'
31
+ spec.add_runtime_dependency 'activesupport', '>= 6.1'
32
+ spec.add_runtime_dependency 'configparser', '>= 0.1'
33
+ spec.add_runtime_dependency 'tzinfo-data', '>= 1'
30
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ubiq-security
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ubiq Security, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-20 00:00:00.000000000 Z
11
+ date: 2021-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb-readline
@@ -50,6 +50,62 @@ dependencies:
50
50
  - - "~>"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0.15'
53
+ - !ruby/object:Gem::Dependency
54
+ name: webrick
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '1.7'
60
+ type: :runtime
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '1.7'
67
+ - !ruby/object:Gem::Dependency
68
+ name: activesupport
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '6.1'
74
+ type: :runtime
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '6.1'
81
+ - !ruby/object:Gem::Dependency
82
+ name: configparser
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0.1'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0.1'
95
+ - !ruby/object:Gem::Dependency
96
+ name: tzinfo-data
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '1'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '1'
53
109
  description: Provide data encryption to any application with a couple of API calls. See
54
110
  https://www.ubiqsecurity.com for details.
55
111
  email:
@@ -58,9 +114,10 @@ executables: []
58
114
  extensions: []
59
115
  extra_rdoc_files: []
60
116
  files:
117
+ - CHANGELOG.md
61
118
  - CODE_OF_CONDUCT.md
62
119
  - Gemfile
63
- - LICENSE.txt
120
+ - LICENSE
64
121
  - README.md
65
122
  - Rakefile
66
123
  - lib/ubiq-security.rb
@@ -74,7 +131,7 @@ files:
74
131
  - ubiq-security.gemspec
75
132
  homepage: https://dev.ubiqsecurity.com/docs/ruby-library
76
133
  licenses:
77
- - Nonstandard
134
+ - MIT
78
135
  metadata:
79
136
  homepage_uri: https://dev.ubiqsecurity.com/docs/ruby-library
80
137
  source_code_uri: https://gitlab.com/ubiqsecurity/ubiq-ruby
data/LICENSE.txt DELETED
@@ -1,17 +0,0 @@
1
-
2
- Copyright 2020 Ubiq Security, Inc., Proprietary and All Rights Reserved.
3
-
4
- NOTICE: All information contained herein is, and remains the property
5
- of Ubiq Security, Inc. The intellectual and technical concepts contained
6
- herein are proprietary to Ubiq Security, Inc. and its suppliers and may be
7
- covered by U.S. and Foreign Patents, patents in process, and are
8
- protected by trade secret or copyright law. Dissemination of this
9
- information or reproduction of this material is strictly forbidden
10
- unless prior written permission is obtained from Ubiq Security, Inc.
11
-
12
- Your use of the software is expressly conditioned upon the terms
13
- and conditions available at:
14
-
15
- https://ubiqsecurity.com/legal
16
-
17
-