ubiq-security 1.0.5 → 1.0.6

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: 729b8860bf9bec12fd7185973e265accb516232460ee85dcf862a556d7008c53
4
- data.tar.gz: 1b93971fda83f73f28e74adda5ae631c86f7fc826ae31f786f5e716f726351aa
3
+ metadata.gz: eb202f29281352bd6b6054b8ee1593e063b34f5f4230b5f73e59fe3ce33544e1
4
+ data.tar.gz: 58f2192b4fad98886e30218925097539716107748de42d50c29fe83ef250cb0f
5
5
  SHA512:
6
- metadata.gz: fd5b18aaf1ede170f03511a2352bf324a9cbe137507eca720c2fe0b00c8e25124a7dc963ba583621d16911a15bc42b988d2f650cf6edcbb252dc34aeb2b7a614
7
- data.tar.gz: 3a083c6fe5d1e1f29102adf845a0356ef0f4951f592a49d627bf381c360789fd7d43c9f5dd819cd0e63ec21a271e8586e8100c9e1bb556772bb8780c59d310ad
6
+ metadata.gz: 1f5114fb90183ae27e4e706752e9d065cddbacf3230196ad8dce0949207bfc3db92502c607ce606b5ca73716676336514098342b6cb6ad61085467968fab2543
7
+ data.tar.gz: 6fd719b4f2c08b1bfcdfb4a33215002a85f51f2e7d03a24ff7a89e3b941044d470443241f9e447bcac049828548b1ffc9542a37ca9c50bc9b588182dff238d6c
@@ -1,9 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.6 - 2020-10-28
4
+ * Change to MIT license
5
+
3
6
  ## 1.0.5 - 2020-09-23
4
7
  * Remove dead code
5
8
  * Pass client library name and version to server
6
- * Added AAD information to ciphers for encrypt and decrypy
9
+ * Added AAD information to ciphers for encrypt and decrypt
7
10
 
8
11
  ## 1.0.1 - 2020-08-20
9
12
  * Initial Version
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.
@@ -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'
@@ -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'
@@ -57,7 +41,7 @@ module Ubiq
57
41
  end
58
42
  "unknown"
59
43
  end
60
-
44
+
61
45
  def get_algo(name)
62
46
  set_algo[name]
63
47
  end
@@ -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'
@@ -75,7 +59,7 @@ module Ubiq
75
59
  all_headers.delete('(created)')
76
60
  all_headers.delete('(request-target)')
77
61
  all_headers.delete('host')
78
-
62
+
79
63
  # Build the Signature header itself
80
64
  all_headers['signature'] = 'keyId="' + papi + '"'
81
65
  all_headers['signature'] += ', algorithm="hmac-sha512"'
@@ -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 'configparser'
@@ -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 'rb-readline'
@@ -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 'rb-readline'
@@ -129,7 +113,7 @@ module Ubiq
129
113
 
130
114
  # Pack the result into bytes to get a byte string
131
115
  struct = [0, Algo::UBIQ_HEADER_V0_FLAG_AAD, @algo[:id], @iv.length, @key['encrypted'].length].pack('CCCCn')
132
-
116
+
133
117
  @enc.auth_data = struct + @iv + @key['encrypted']
134
118
  @encryption_started = true
135
119
  return struct + @iv + @key['encrypted']
@@ -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
  module Ubiq
@@ -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.5'
4
+ VERSION = '1.0.6'
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
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.5
4
+ version: 1.0.6
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-09-24 00:00:00.000000000 Z
11
+ date: 2020-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb-readline
@@ -61,7 +61,7 @@ files:
61
61
  - CHANGELOG.md
62
62
  - CODE_OF_CONDUCT.md
63
63
  - Gemfile
64
- - LICENSE.txt
64
+ - LICENSE
65
65
  - README.md
66
66
  - Rakefile
67
67
  - lib/ubiq-security.rb
@@ -75,7 +75,7 @@ files:
75
75
  - ubiq-security.gemspec
76
76
  homepage: https://dev.ubiqsecurity.com/docs/ruby-library
77
77
  licenses:
78
- - Nonstandard
78
+ - MIT
79
79
  metadata:
80
80
  homepage_uri: https://dev.ubiqsecurity.com/docs/ruby-library
81
81
  source_code_uri: https://gitlab.com/ubiqsecurity/ubiq-ruby
@@ -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
-