From 22baeed2782126ce77d27801af715d147f5adfcb Mon Sep 17 00:00:00 2001 From: Pierre Prinetti Date: Wed, 10 Apr 2024 12:00:29 +0200 Subject: [PATCH] Rename to openstack-mitm --- .gitignore | 2 +- README.md | 4 ++-- go.mod | 4 ++-- main.go | 2 +- proxy.sh | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index da75b03..49ea2e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ cert.pem key.pem -os-proxy +openstack-mitm diff --git a/README.md b/README.md index 7c96397..0ef12a0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# os-proxy +# openstack-mitm Proxies calls to the OpenStack API with a self-signed certificate. @@ -6,7 +6,7 @@ All URLs in the OpenStack catalog are rewritten to point to the proxy itself, wh ## Use locally -Download the binary for linux64 on this repository's [release page](https://github.com/shiftstack/os-proxy/releases) or build it with `go build .`. +Download the binary for linux64 on this repository's [release page](https://github.com/pierreprinetti/openstack-mitm/releases) or build it with `go build .`. **Required configuration:** * **--remote-authurl**: URL of the remote OpenStack Keystone. diff --git a/go.mod b/go.mod index 09abcaa..77b9200 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ -module github.com/shiftstack/os-proxy +module github.com/pierreprinetti/openstack-mitm -go 1.21.1 +go 1.22.2 require github.com/gofrs/uuid/v5 v5.0.0 diff --git a/main.go b/main.go index af7198a..feb67bd 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ import ( "net/url" "os" - "github.com/shiftstack/os-proxy/proxy" + "github.com/pierreprinetti/openstack-mitm/proxy" ) const ( diff --git a/proxy.sh b/proxy.sh index af5a6aa..536d87b 100755 --- a/proxy.sh +++ b/proxy.sh @@ -17,11 +17,11 @@ set -Eeuo pipefail declare -r \ - osproxy_url='https://github.com/shiftstack/os-proxy/releases/download/v1.0.1/os-proxy' \ - osproxy_sha512='d4a9210091e4d1ed4c697762ac5ed59625c97dbdf3ce58cc4bbd7f3821190f482e2464558fbd08ea737744a7cc496e9b6db4381c3941b8fb1c864d1bec35113f' + osproxy_url='https://github.com/pierreprinetti/openstack-mitm/releases/download/v1.0.2/openstack-mitm' \ + osproxy_sha512='f6a294643a3d4a808da047c12c176f339e054b4790a4f5f2c70a9dab5940a0d876a1591dc43ab15dbc4da72d6f2e985b8fff8c2c2b7343bb28356d79e702d96d' print_help() { - echo -e "github.com/shiftstack/os-proxy" + echo -e "github.com/pierreprinetti/openstack-mitm" echo -e "Proxy calls to the OpenStack API" echo echo -e "Required configuration:"