genkey: Add a warning and confirmation prompt

Users were running genkey and getting confused when it overwrote their keys and
then couldn't login to their devices anymore. This adds a confirmation prompt
and some additional text on what to do to rotate a key. This will have to do
until we have a "rotatekeys" subcommand.

Change-Id: Id7f48085a6bf31bd5cbbbf47ca3efaa6f3f4b556
1 file changed
tree: 88f986b1e8a01ef2d48feb2fbf4bf37487daaec0
  1. debian/
  2. man/
  3. mdt/
  4. .gitignore
  5. CODE_OF_CONDUCT.md
  6. CONTRIBUTING.md
  7. LICENSE.txt
  8. Makefile
  9. MANIFEST.in
  10. README.md
  11. setup.py
README.md

MDT - The Mendel Development Tool

What is this?

MDT is a simple tool to aid in working with single board computers that the Mendel Linux distribution runs on. It consists of a whole bunch of pre-existing open source tooling, coupled with some simple wrappers written in python to ease their use.

It also provides an easy way to interact with these boards without having to fight with serial consoles, IP addresses, and other fiddly bits, reducing barrier to entry when working with these boards.

With minimal effort, MDT should also be portable to existing systems such as Debian and Ubuntu, if needed. This, however, is out of the scope of this project.

How do I use it?

Install it via pip like this:

pip install mendel-development-tool

Note that if you run this as a non-root user, the executable will be stored in $HOME/.local/bin which may not be in your PATH environment variable, so you'll want to add it.