code: func reviewKey() (bool, error) {
  	in := bufio.NewReader(os.Stdin)
  	for {
  		stdout.Printf("Are you sure you want to trust this key (yes/no)?")
  		input, err := in.ReadString('\n')
  		if err != nil {
  			return false, errwrap.Wrap(errors.New("error reading input"), err)
  		}
  		switch input {
  		case "yes\n":
  			return true, nil
  		case "no\n":
  			return false, nil
  		default:
  			stdout.Printf("Please enter 'yes' or 'no'")
  		}
  	}
  }
docs: // reviewKey asks the user to accept the key