encabulator

command module
Version: v0.0.0-...-d3fb95e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

README

encabulator

Some golang projects, grouped together.

About the name.

rekey

go get -u github.com/justjake/encabulator/cmd/rekey

This is a tool that ensures your Yubikey is loaded into ssh-agent. If it is not, rekey will load the key. This is useful if you use Yubikey for your Github key, and freqently get annoying messages when trying to push.

Add this to your ~/.gitconfig and forget about running ssh-add manually:

[alias]
pll = !rekey && git pull
psh = !rekey && git push
ftch = !rekey && git fetch

You can also alias ssh to ensure your keys are loaded:

alias ssh="rekey && ssh"

TODOs for the command-line tool:

  • add command line parsing
  • add help output
  • add support for goldkey
  • add support for loading the default identity that ssh-add would add

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis
cmd
Package cursor provides ANSI Escape sequences introduced in VT-100 terminals for cursor and screen manipulation operations.
Package cursor provides ANSI Escape sequences introduced in VT-100 terminals for cursor and screen manipulation operations.
Package logbar implements a terminal UI component called a LogBar.
Package logbar implements a terminal UI component called a LogBar.
pkg
Package rekey contains KeyEnsurer, a type that ensures that certain SSH keys are availible in your ssh-agent.
Package rekey contains KeyEnsurer, a type that ensures that certain SSH keys are availible in your ssh-agent.
Package stager ensures that given a list of dependencies, those dependencies exist together in a a folder called a "workspace".
Package stager ensures that given a list of dependencies, those dependencies exist together in a a folder called a "workspace".
Package task provides building blocks for spawning processes and communicating with them via channels.
Package task provides building blocks for spawning processes and communicating with them via channels.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL