itamae-secrets 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/itamae/secrets/cli.rb +1 -1
- data/lib/itamae/secrets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2103cd270acd4e93ec26ea0f62294996520632ad
|
4
|
+
data.tar.gz: f199bbdcfbd063ccbe4b6819ebb0dc2784e666b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a04b6956b92f9ca9525e7ccb796167024906757e586b31194403184e76e1193a5591753f0a1376273565fd8507f917e1dc4375698995a9d3652ecb80d9c381f
|
7
|
+
data.tar.gz: 1b88fd8cf7cb0cd7afc2415bc805f46af495735dd00251e9472485a8bb8e0ea62fbf9d49be02554efc09994f88630fb31e5d1fde1fa5c7b12a02cadc08a55850
|
data/lib/itamae/secrets/cli.rb
CHANGED
@@ -24,7 +24,7 @@ module Itamae
|
|
24
24
|
when 'aes-random'
|
25
25
|
AesKey.generate_random(name)
|
26
26
|
when 'aes-passphrase'
|
27
|
-
passphrase = ask_noecho('Passphrase:',
|
27
|
+
passphrase = ask_noecho('Passphrase:', $stdin.tty?)
|
28
28
|
AesKey.generate_pkcs5(name, passphrase)
|
29
29
|
else
|
30
30
|
raise ArgumentError, "Unknown method: #{options[:method] || config['generate_method']}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-secrets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Fukumori (sora_h)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|