From 159a8cfc7d9736a709203182cfc0b7a8bc67f09d Mon Sep 17 00:00:00 2001 From: HD Moore Date: Tue, 13 Aug 2024 12:44:38 -0500 Subject: [PATCH] add note about badkeys, fix license path in build --- .github/workflows/build.yml | 2 +- README.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca8b766..78ffafa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: fetch-depth: 0 - name: Build binary run: | - cp LICENSE "$RUNNER_TEMP/LICENSE" + cp LICENSE.md "$RUNNER_TEMP/LICENSE.md" VERSION="$(git describe --tags)" DIR="$(mktemp -d)" mkdir "$DIR/sshamble" diff --git a/README.md b/README.md index de5948b..78477ee 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,15 @@ $ cd sshamble $ go build -o sshamble ``` +To enable experimental [badkeys](https://badkeys.info) support, run the generator first: +```shell +$ git clone https://github.com/runZeroInc/sshamble +$ cd sshamble +$ go generate ./... +$ go build -o sshamble +``` + + ## Usage ```