hiera-eyaml-twofac 0.1 → 0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +9 -0
- data/lib/hiera/backend/eyaml/encryptors/twofac.rb +1 -3
- metadata +1 -2
- data/pkg/hiera-eyaml-twofac-0.1.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac24cee55a3d2ee591961b027569447e26051fea
|
|
4
|
+
data.tar.gz: f42186a5ef3195c3899de687d203ca06268e4afc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 848e1ec418a607e004b5f18d3f7a2d06dd9452a189368bac320a84e5c801d9da25f14bc8ff8108c286e7bfc303da61888300974dd3214926cde0f2e6f612920f
|
|
7
|
+
data.tar.gz: 04bde812c0d81712912274ec834222d43e6d097aa8e3dac03cc58c98365afb8d4e099b865f00fdd9fb1465ea0847db4617faede70d377e945fae6a8fa55dc8e2
|
data/.gitignore
CHANGED
|
@@ -13,7 +13,7 @@ class Hiera
|
|
|
13
13
|
|
|
14
14
|
class Twofac < Encryptor
|
|
15
15
|
|
|
16
|
-
VERSION = "0.
|
|
16
|
+
VERSION = "0.2"
|
|
17
17
|
|
|
18
18
|
self.tag = "TWOFAC"
|
|
19
19
|
self.options = {
|
|
@@ -32,8 +32,6 @@ class Hiera
|
|
|
32
32
|
|
|
33
33
|
def self.encrypt plaintext
|
|
34
34
|
|
|
35
|
-
password = Hiera::Backend::Eyaml::Encryptors::TwofacUtils::Password.obtain
|
|
36
|
-
|
|
37
35
|
#TODO: delegate this to original pkcs7 plugin
|
|
38
36
|
public_key = self.option :twofac_public_key
|
|
39
37
|
raise StandardError, "twofac_public_key is not defined" unless public_key
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hiera-eyaml-twofac
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.2'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geoff Meakin
|
|
@@ -26,7 +26,6 @@ files:
|
|
|
26
26
|
- lib/hiera/backend/eyaml/encryptors/twofac.rb
|
|
27
27
|
- lib/hiera/backend/eyaml/encryptors/twofac/eyaml_init.rb
|
|
28
28
|
- lib/hiera/backend/eyaml/encryptors/twofac_utils/password.rb
|
|
29
|
-
- pkg/hiera-eyaml-twofac-0.1.gem
|
|
30
29
|
- tools/regem.sh
|
|
31
30
|
homepage: http://github.com/gtmtechltd/hiera-eyaml-twofac
|
|
32
31
|
licenses:
|
|
Binary file
|