vagrant-rekey-ssh 0.1.8 → 0.1.9
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 +5 -13
- data/README.md +2 -0
- data/lib/vagrant-rekey-ssh/helpers.rb +3 -1
- data/lib/vagrant-rekey-ssh/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
5
|
-
data.tar.gz: !binary |-
|
|
6
|
-
YzgwZTgyN2QwMDNiZjhkNmVhNTYxYWQ3ZjRiZTQ4MDAzZjEzNDQzZg==
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 30210ef67ea1bb9d87b0a8e1a12dcd5ffdbf82b5
|
|
4
|
+
data.tar.gz: 97d978f1df8dc3838830cd523b1fd010fff8b069
|
|
7
5
|
SHA512:
|
|
8
|
-
metadata.gz:
|
|
9
|
-
|
|
10
|
-
ZTU2NDAwNjA3YTE4NDFkYTc0NjM0ZDBiY2JhMDNmYTE5NGRjMGI4MWIzMGQz
|
|
11
|
-
MDEyNzJkNGM5ZTJkNWM4NWQxNzBiYjA5NTYzZDUxYjlhODEwOTk=
|
|
12
|
-
data.tar.gz: !binary |-
|
|
13
|
-
MDM2OWNmOThiMDI0NTViNmU2MmU1ZTQyNDkyMjg3NjBiMDk5ZjZkMjFmMmVh
|
|
14
|
-
NTM0ZjdlZTVmMzg4NmZiMjJlMDMwZjk5ODYyNTA1MThjOWNmODNlYjU1OTFk
|
|
15
|
-
NTllMDUzZmU1M2EzMWZkZjA3MjNjYmM3M2IwMzRkMjRlNTUzMDg=
|
|
6
|
+
metadata.gz: 3a1375901783b2e4be4eaa76f7cbc84202741583585f35a37c841c1b481cabd0090537ffe7a429f705fd39a58a07f689256386d588945389b73e7637b62ae637
|
|
7
|
+
data.tar.gz: 634925f56f96f0a1d603d62e5c18f1f1bf1de15867bb8c71cb794cf290d57643e8a83c0e66c54e46f6d87cbd6cadf08eed788e9af8a037b5901fd595e5477d8d
|
data/README.md
CHANGED
|
@@ -13,6 +13,8 @@ module VagrantPlugins
|
|
|
13
13
|
key = SSHKey.generate(:comment => "vagrant less insecure private key")
|
|
14
14
|
begin
|
|
15
15
|
File.write(ssh_key_path, key.private_key)
|
|
16
|
+
# Fix ssh key permissions on Unix systems
|
|
17
|
+
File.chmod(600, ssh_key_path) if (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) == nil
|
|
16
18
|
File.write(ssh_pubkey_path, key.ssh_public_key)
|
|
17
19
|
rescue => exc
|
|
18
20
|
raise Errors::ErrorCreatingSshKey, error_message: exc.message
|
|
@@ -41,4 +43,4 @@ module VagrantPlugins
|
|
|
41
43
|
end
|
|
42
44
|
|
|
43
45
|
end
|
|
44
|
-
end
|
|
46
|
+
end
|
metadata
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-rekey-ssh
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dustin Spicuzza
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-02-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.3'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: sshkey
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
description: Automatically secure vagrant boxes with a randomly generated SSH key
|
|
@@ -59,7 +59,7 @@ executables: []
|
|
|
59
59
|
extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
|
61
61
|
files:
|
|
62
|
-
- .gitignore
|
|
62
|
+
- ".gitignore"
|
|
63
63
|
- Gemfile
|
|
64
64
|
- LICENSE.txt
|
|
65
65
|
- README.md
|
|
@@ -84,17 +84,17 @@ require_paths:
|
|
|
84
84
|
- lib
|
|
85
85
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- -
|
|
87
|
+
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: '0'
|
|
90
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
requirements:
|
|
92
|
-
- -
|
|
92
|
+
- - ">="
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
94
|
version: '0'
|
|
95
95
|
requirements: []
|
|
96
96
|
rubyforge_project:
|
|
97
|
-
rubygems_version: 2.
|
|
97
|
+
rubygems_version: 2.4.8
|
|
98
98
|
signing_key:
|
|
99
99
|
specification_version: 4
|
|
100
100
|
summary: Automatically secure vagrant boxes with a randomly generated SSH key
|