Sha256: 46942a863c806eb1a53946028c6dfe20180d378e16e5c6ed2337efeeb47e79e7
Contents?: true
Size: 309 Bytes
Versions: 19
Compression:
Stored size: 309 Bytes
Contents
#!/usr/bin/env ruby $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib]) require 'gritano' key = nil STDIN.readlines.each do |line| if line =~ /^ssh-(?:dss|rsa) [A-Za-z0-9+\/]+$/ key = line end end if key STDOUT.print Gritano::CLI::check_pub_key(key, File.dirname(File.dirname(ARGV[0]))) end
Version data entries
19 entries across 19 versions & 1 rubygems