Project

ghkeys

0.0
No commit activity in last 3 years
No release in over 3 years
Simple gem might be useful when you need to fetch users public keys
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
>= 0
~> 10.0
~> 3.0

Runtime

~> 0.13.7
~> 1.8.0
 Project Readme

GHKeys - GitHub Keys

GitHub Keys gem allows you to fetch users keys in the simplest way. It uses web scraping because of GH API limits.

Installation

Add this line to your application's Gemfile:

gem 'ghkeys'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ghkeys

Usage

require 'ghkeys'

GHKeys('axvm')
=> #array of strings

Each key will be wrapped into SSHKey class. It gives you ability to calculate md5\sha1\sha256 fingerprints. If key is corrupted or invalid, IncorrectOrCorruptedKey exception will be raised.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/axvm/ghkeys.