https://github.com/axvm/ghkeys
GitHub Keys
https://github.com/axvm/ghkeys
Last synced: about 2 months ago
JSON representation
GitHub Keys
- Host: GitHub
- URL: https://github.com/axvm/ghkeys
- Owner: axvm
- Created: 2016-06-19T06:49:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-19T12:01:46.000Z (about 10 years ago)
- Last Synced: 2026-03-03T09:02:51.233Z (4 months ago)
- Language: Ruby
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this 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:
```ruby
gem 'ghkeys'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install ghkeys
## Usage
```ruby
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.