passbox 2.0.0 → 2.0.1

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: 7f7ecaf34fb41df4dc4b08c057d4850dd824fb2008f42af37900fada39b55dab
4
- data.tar.gz: faaca8fd5355c9ee2b519afbfe6190efe20bb9f53cb2ac4731547d3f12d62f6d
3
+ metadata.gz: e0c8dfcfe0c35f8cb3e5057adbc1122d2d670a6fa0ed97d44e5655a4fd305bf5
4
+ data.tar.gz: b13b397644588e4454c4c35a316c0ea8a5ec51153797f5cb3456b508775c650b
5
5
  SHA512:
6
- metadata.gz: aa21924d9a86c26eb5c4cbeefaa376fb46bc9dee134d308f2b51994f1c74a5b90ee81df72c0ca551a8bb2a9ec0a35c559af1068dcc39ac17a7f0e7f1fd3e822b
7
- data.tar.gz: 762e06d5b9a53e9787c6b63aaa1410f6aded92a527e8a6b6350b7610497e94cd9d3ac21b1bdac59bf046c48eaa80933a412a89eb9fb931e715a3394cd8672f3e
6
+ metadata.gz: 3bf7448c47f36b9533216029c193bbc03f8886323dce002bfff5e0d52ec39e1390c9c428813e6399999457c05965fb38b3f86a2b61cf2d3dfe1b2ee6f4895f83
7
+ data.tar.gz: 4ba865bae5f0564f0fef6b1aa0660344bb538c231fb9f1fe6f6f93add08fef6263f6f432207ae33d8c669699f65b66eec06a0919512a67024e7421c830231b83
data/lib/passbox/aes.rb CHANGED
@@ -18,7 +18,7 @@ module Passbox
18
18
  decipher = OpenSSL::Cipher::AES256.new(:CTR)
19
19
  decipher.decrypt
20
20
  decipher.iv = data[0..15]
21
- data = data[16..]
21
+ data = data[16..-1]
22
22
  decipher.key = key[0..31]
23
23
  decrypted_data = decipher.update(data) + decipher.final
24
24
  return decrypted_data
data/lib/passbox/version CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaushal Rupani
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-05 00:00:00.000000000 Z
11
+ date: 2021-06-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A gem to store and manage password offline, encrypted using AES 256 strong
14
14
  encryption.
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubygems_version: 3.2.3
56
+ rubygems_version: 3.0.9
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: 'PassBox gem : AES encrypted offline password manager'