From 5674bb030ab0b45a679b55ab8f0caf0e2a6c7ff3 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 2 Jul 2021 21:53:30 +0200 Subject: [PATCH] uh, openssl doesn't like my echo when running on GH Actions --- .github/workflows/unrealircd.yml | 3 +-- unreal_config.settings => unreal/config.settings | 0 unreal/server.cert.pem | 14 ++++++++++++++ unreal/server.key.pem | 9 +++++++++ unreal/server.req.pem | 9 +++++++++ 5 files changed, 33 insertions(+), 2 deletions(-) rename unreal_config.settings => unreal/config.settings (100%) create mode 100644 unreal/server.cert.pem create mode 100644 unreal/server.key.pem create mode 100644 unreal/server.req.pem diff --git a/.github/workflows/unrealircd.yml b/.github/workflows/unrealircd.yml index e1f7801..adf8690 100644 --- a/.github/workflows/unrealircd.yml +++ b/.github/workflows/unrealircd.yml @@ -42,10 +42,9 @@ jobs: - name: Build UnrealIRCd run: | cd $GITHUB_WORKSPACE/unrealircd/ - cp $GITHUB_WORKSPACE/unreal_config.settings config.settings + cp $GITHUB_WORKSPACE/unreal/* . CFLAGS=-O0 ./Config -quick make -j 4 - echo "\n\n\n\n\n\n" | make pem make install - name: Test with pytest diff --git a/unreal_config.settings b/unreal/config.settings similarity index 100% rename from unreal_config.settings rename to unreal/config.settings diff --git a/unreal/server.cert.pem b/unreal/server.cert.pem new file mode 100644 index 0000000..28a521d --- /dev/null +++ b/unreal/server.cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICGDCCAZ6gAwIBAgIUeHAOQnvT7N9kCmUuIklelkzz8SUwCgYIKoZIzj0EAwIw +QzELMAkGA1UEBhMCVVMxETAPBgNVBAgMCE5ldyBZb3JrMRIwEAYDVQQKDAlJUkMg +Z2Vla3MxDTALBgNVBAsMBElSQ2QwHhcNMjEwNzAyMTk1MTM5WhcNMzEwNjMwMTk1 +MTM5WjBDMQswCQYDVQQGEwJVUzERMA8GA1UECAwITmV3IFlvcmsxEjAQBgNVBAoM +CUlSQyBnZWVrczENMAsGA1UECwwESVJDZDB2MBAGByqGSM49AgEGBSuBBAAiA2IA +BHA6iqLQgkS42xHg/dEPq9dKjlLi0HWvCM7nOCXAyFy1DjrmbFoSCQBCUbISsk/C +Txru3YIfXe6jSCS8UTb15m70mrmmiUr/umxiqjAOiso051hCrzxVmjTpEAqMSnrc +zKNTMFEwHQYDVR0OBBYEFFNHqsBNxDNhVxfAgdv6/y4Xd6/ZMB8GA1UdIwQYMBaA +FFNHqsBNxDNhVxfAgdv6/y4Xd6/ZMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0E +AwIDaAAwZQIwAo29xUEAzqOMgPAWtMifHFLuPQPuWcNGbaI5S4W81NO8uIcNv/kM +mFocuITr76p0AjEApzGjc5wM+KydwoVTP+fg1aGQA13Ba2nCzN3R5XwR/USCigjv +na1QtWAKjpvR/rsp +-----END CERTIFICATE----- diff --git a/unreal/server.key.pem b/unreal/server.key.pem new file mode 100644 index 0000000..2f1cc45 --- /dev/null +++ b/unreal/server.key.pem @@ -0,0 +1,9 @@ +-----BEGIN EC PARAMETERS----- +BgUrgQQAIg== +-----END EC PARAMETERS----- +-----BEGIN EC PRIVATE KEY----- +MIGkAgEBBDCWkDHktJiTqC7im+Ni37fbXxtMBqIKPwkAItpKMeuh28QrXWwNE1a5 +wSa38C1nd8igBwYFK4EEACKhZANiAARwOoqi0IJEuNsR4P3RD6vXSo5S4tB1rwjO +5zglwMhctQ465mxaEgkAQlGyErJPwk8a7t2CH13uo0gkvFE29eZu9Jq5polK/7ps +YqowDorKNOdYQq88VZo06RAKjEp63Mw= +-----END EC PRIVATE KEY----- diff --git a/unreal/server.req.pem b/unreal/server.req.pem new file mode 100644 index 0000000..49a4f8f --- /dev/null +++ b/unreal/server.req.pem @@ -0,0 +1,9 @@ +-----BEGIN CERTIFICATE REQUEST----- +MIIBOjCBwgIBADBDMQswCQYDVQQGEwJVUzERMA8GA1UECAwITmV3IFlvcmsxEjAQ +BgNVBAoMCUlSQyBnZWVrczENMAsGA1UECwwESVJDZDB2MBAGByqGSM49AgEGBSuB +BAAiA2IABHA6iqLQgkS42xHg/dEPq9dKjlLi0HWvCM7nOCXAyFy1DjrmbFoSCQBC +UbISsk/CTxru3YIfXe6jSCS8UTb15m70mrmmiUr/umxiqjAOiso051hCrzxVmjTp +EAqMSnrczKAAMAoGCCqGSM49BAMCA2cAMGQCMEL5ezlauGUaxh+pXt897ffmzqci +fqYm3FgVW5x6EdtCxtcwwAwnR84LKcd/YRKOygIwNmZiRVKeSeC7Ess1PxuzT1Mu +Cw3bBqkE5LmO1hu/+0lK+QoFPEeLDrygIh+SDdGH +-----END CERTIFICATE REQUEST-----