Git Product home page Git Product logo

heimdallr's Introduction

Heimdallr

finding public ssh keys with ease

This tool is intended to get developers public keys

  • via a limited ssh-server on the local host (which can be accessed by ssh-copy-id)
  • or by fetching them from github, were the developers may've left them.

Getting Started

These instructions will get you a copy of the project running on your local machine, for development and testing purposes.

See deployment for notes on how to install the project on your system.

Prerequisites

  • gcc or another compiler
  • libcurl to fetch api responses
  • libssh to run the ssh-server
  • json-c in order to interprete api responses
  • openssl for generating ssh keys

Optional

Compiling

A step by step series of examples that tells you, how to get a development env running.

clone this repo

git clone https://github.com/AiyionPrime/heimdallr.git

cd into the project and build it

cd heimdallr
make

Take a look at eg. my pubkey(s), by calling heimdallr with the user flag

./heimdallr -u aiyionprime

Alternatively start a ssh-server (eg. on port 1234), which others can fill with pubkeys via ssh-copy-id:

./heimdallr -p 1234

Your coworkers can then use ssh-copy-id like they would do with ordinary ssh-servers:

ssh-copy-id -p 1234 <the-ip-of-your-device>

Hint: You can list your current IPs with

hostname -i

Deployment

From source

Deploying this on a live system can be done by running the build steps followed by

sudo make install

Using homebrew

brew install aiyionprime/tools/heimdallr

Using the arch user repository

yaourt -S heimdallr

If you like this tool, don't forget to vote for it, so others can find it, too!

https://aur.archlinux.org/pkgbase/heimdallr/ (the button is hidden on the right under 'package actions') Thanks!

Alternatively: Install the latest development release
yaourt -S heimdallr-git

Contributing

We're open for ideas improving the workflow of sharing ssh public keys, so if you've got a good one, feel free to contact me about it.

Testing

In order to run the small amount of available unittests, run

make check

in the source directory.

The expected output is something like: [==========] Running n test(s). ... [ PASSED ] n test(s).

Author

aiyion (on #hackint)

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Thanks to all testers and reviewers!
  • Props to ubuntus developers for using the same mechanism in their installer for bionic beaver.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.