Project

forte

0.01
Low commit activity in last 3 years
There's a lot of open issues
No release in over a year
Create an authorized_keys file for a shared shell account from a repository of public key files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.11
~> 1.2
 Project Readme

Gem Version Build Status

Forte

A tool for compiling public key files for shared *nix accounts as an alternative to sharing passwords.

Installation

Forte is distributed as a gem. You can install it with the gem command:

gem install forte

If you're using Bundler and want to include Forte as a dependency:

gem 'forte', '~> 1.0'

The Forte gem is also (self-)signed as of v1.0.2, so if you prefer to install gems securely (-P HighSecurity) you can import my public key and installation will succeed.

Usage

Forte is a command line application intended for Linux or OSX. You can run it by calling the forte command with the repository uri (or local directory) that contains your public key files. For example, if your public key repository is on Github, your command could look like this:

forte print git@github.com:user/repo.git

This will print the authorized keys file to the console. You could use shell redirection to write this to a file too:

forte print git@github.com:user/repo.git > authorized_keys

As of version 0.0.2, you may omit the protocol and domain for Github repositories that are available to you over HTTPS:

forte print user/repo > authorized_keys

Dependencies

  • Ruby 2+
  • Git

Future Plans

  • Direct deployment to a server
  • Try Github repo for path-only arguments
  • Replace system() call with Ruby Git library (but which one?)

Thanks

Thanks to Ryan Cromwell for help and encouragement in getting this finished and released.