secure_data_bag 1.1.1 → 1.1.2

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: 00d1848993d374b1b9cc72055cb378eda434cabe
4
- data.tar.gz: 1e13eb1b536318100059af425078fda53427c2b6
3
+ metadata.gz: 583140332d580fbe66602d16b80ff3f166f2b7e4
4
+ data.tar.gz: 65e531eff585bbcbf15d10322002837ccde40e8f
5
5
  SHA512:
6
- metadata.gz: f1945a42718d9f1c9c3a72ca4e19a729b0109a4471e2b6881287a4b24108ddf435e8f6778d379e106be6f1e5754f3a34cdf57d9108ab5bfa3f692bc09d7c1e02
7
- data.tar.gz: b5208299a8b4fc1ea9fe10b7bb4b008ee4c9b2d2e68ff097155a7bceb42d062f6c34bcef3aa81142ec5946ce141c61d9308fb0252da64f25d308ce06e33fd4b0
6
+ metadata.gz: f44cbd458e3b187623c3909b2f4f3503c4fcdd66939f26a56d09fd49fa58ae63960c2c0fbd37047071f511e467289bd27de44c8cd8fa9284191a40a14780b9c6
7
+ data.tar.gz: 673afe9b57d053394c753fc7d96cc992bfd7447db6e120bba479338a7d40b13da2704d819d9786211fc385312163a6f277428c010762ddf2aac589d366982ed5
@@ -8,6 +8,9 @@ require 'digest/sha2'
8
8
  module SecureDataBag
9
9
  class Item
10
10
  class Decryptor
11
+ class DecryptionFailure < StandardError
12
+ end
13
+
11
14
  def initialize(encrypted_hash, encryption, key)
12
15
  @encryption = encryption
13
16
  @encrypted_hash = encrypted_hash
@@ -1,5 +1,5 @@
1
1
 
2
2
  module SecureDataBag
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secure_data_bag
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-15 00:00:00.000000000 Z
11
+ date: 2014-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef