Skip to content

Use a Yubikey Neo from within a feshly installed docker image all the time for GPG, and SSH connections

Notifications You must be signed in to change notification settings

lenalebt/goyubi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GoYubi

This is a small docker file together with a startup script that I hacked together to get my yubikey running on any developer's computer that is around. It does not take care of the Yubikey used, so you can use it for your own.

Features

You can use this docker image for

  • SSH authentication
  • Decrypting GPG-encrypted messages
  • Signing messages

Encrypting is also possible, of course, but you may need to import public keys first.

Usage

First make sure your docker environment is working correctly and you can start docker images, and that you have lsusb installed. See for example http://www.ubuntuupdates.org/ppa/docker on how to install docker.

git clone https://github.com/lenalebt/goyubi.git
cd goyubi
./goyubi.sh

SSH authentication

Simply do ssh user@server. It will ask you for your Yubikey PIN and log in.

Decrypting GPG-encrypted messages

Type gpg -d, paste your message, press Ctrl-D. It asks for your PIN and displays your message.

Signing messages

Type gpg -e, paste your message, press Ctrl-D. It asks for your PIN and displays the signature.

About

Use a Yubikey Neo from within a feshly installed docker image all the time for GPG, and SSH connections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages