sshkeyauth 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ssh/key/verifier.rb +1 -1
- metadata +14 -7
data/lib/ssh/key/verifier.rb
CHANGED
@@ -167,7 +167,7 @@ module SSH; module Key; class Verifier
|
|
167
167
|
end
|
168
168
|
|
169
169
|
# If relative path, use the homedir.
|
170
|
-
if !authorized_keys_file
|
170
|
+
if !authorized_keys_file[0,1] == "/"
|
171
171
|
if account_info == nil
|
172
172
|
@logger.warn("No homedirectory for #{@account} and authorized_keys path is relative, skipping authorized_keys")
|
173
173
|
return nil
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sshkeyauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Jordan Sissel
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date:
|
18
|
+
date: 2011-04-07 00:00:00 -07:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: net-ssh
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
version: "0"
|
@@ -38,12 +41,12 @@ extensions: []
|
|
38
41
|
extra_rdoc_files: []
|
39
42
|
|
40
43
|
files:
|
41
|
-
- lib/ssh/key/verifier.rb
|
42
44
|
- lib/ssh/key/signature.rb
|
43
|
-
- lib/ssh/key/signer.rb
|
44
45
|
- lib/ssh/key/helper.rb
|
45
|
-
-
|
46
|
+
- lib/ssh/key/verifier.rb
|
47
|
+
- lib/ssh/key/signer.rb
|
46
48
|
- samples/server.rb
|
49
|
+
- samples/speed.rb
|
47
50
|
- samples/test.rb
|
48
51
|
- samples/client.rb
|
49
52
|
has_rdoc: true
|
@@ -57,23 +60,27 @@ require_paths:
|
|
57
60
|
- lib
|
58
61
|
- lib
|
59
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
60
64
|
requirements:
|
61
65
|
- - ">="
|
62
66
|
- !ruby/object:Gem::Version
|
67
|
+
hash: 3
|
63
68
|
segments:
|
64
69
|
- 0
|
65
70
|
version: "0"
|
66
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
67
73
|
requirements:
|
68
74
|
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
76
|
+
hash: 3
|
70
77
|
segments:
|
71
78
|
- 0
|
72
79
|
version: "0"
|
73
80
|
requirements: []
|
74
81
|
|
75
82
|
rubyforge_project:
|
76
|
-
rubygems_version: 1.3.
|
83
|
+
rubygems_version: 1.3.7
|
77
84
|
signing_key:
|
78
85
|
specification_version: 3
|
79
86
|
summary: ssh key authentication (signing and verification)
|