Commit f9dd547aa7289c59a389ce1393c4b3eb4e0239f4
1 parent
428af5ea
Exists in
master
and in
4 other branches
remove commented code
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/key.rb
@@ -35,7 +35,7 @@ class Key < ActiveRecord::Base | @@ -35,7 +35,7 @@ class Key < ActiveRecord::Base | ||
35 | 35 | ||
36 | def fingerprintable_key | 36 | def fingerprintable_key |
37 | return true unless key # Don't test if there is no key. | 37 | return true unless key # Don't test if there is no key. |
38 | - # `ssh-keygen -lf /dev/stdin <<< "#{key}"` errors with: redirection unexpected | 38 | + |
39 | file = Tempfile.new('key_file') | 39 | file = Tempfile.new('key_file') |
40 | begin | 40 | begin |
41 | file.puts key | 41 | file.puts key |