From e6348f7a30fde2eefa07058a17d7eb22d7f60f3e Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Wed, 31 Jul 2024 22:36:15 +0200 Subject: [PATCH 1/4] Add `go generate test` --- .github/workflows/generate_test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/generate_test.yml diff --git a/.github/workflows/generate_test.yml b/.github/workflows/generate_test.yml new file mode 100644 index 0000000..c6abc52 --- /dev/null +++ b/.github/workflows/generate_test.yml @@ -0,0 +1,28 @@ +name: generate_test + +on: + schedule: + - cron: "0 0 * * *" + workflow_call: + pull_request: + push: + branches: + - main + +jobs: + check_generate: + runs-on: ubuntu-latest + steps: + - name: Check out source code + uses: actions/checkout@v4 + + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: '1.22.4' + + - name: Run go generate + run: go generate ./... + + - name: Check diff + run: git diff --quiet . || (git --no-pager diff . && exit 1 || exit 1) From b7b67e52af63324e519d0acaab9edb4924863cd9 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Wed, 31 Jul 2024 22:36:32 +0200 Subject: [PATCH 2/4] Add badges to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 805677e..fd6c749 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ ## AWS Region Certificates for Go +[![GHA](https://github.com/rspamd/awsregioncertificates/actions/workflows/ci.yml/badge.svg)](https://github.com/rspamd/awsregioncertificates/actions/workflows/ci.yml) +[![GHA](https://github.com/rspamd/awsregioncertificates/actions/workflows/generate_test.yml/badge.svg)](https://github.com/rspamd/awsregioncertificates/actions/workflows/generate_test.yml) + Embeds region certificates from AWS (run `go generate ./...` to refresh them) - AFAIU they can only be downloaded as part of documentation. Can be used to validate EC2 [instance identity documents](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-documents.html) using the `rsa`/`base64-encoded signature`. From 88ed22c13fece4dd269de32738251f035e40871f Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Wed, 31 Jul 2024 22:36:42 +0200 Subject: [PATCH 3/4] Update certificates --- regioncert_gen.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regioncert_gen.go b/regioncert_gen.go index b06d40b..e4fe74d 100644 --- a/regioncert_gen.go +++ b/regioncert_gen.go @@ -32,8 +32,8 @@ const ( sa_east_1_cert = "-----BEGIN CERTIFICATE-----\nMIIDITCCAoqgAwIBAgIUX4Bh4MQ86Roh37VDRRX1MNOB3TcwDQYJKoZIhvcNAQEL\nBQAwXDELMAkGA1UEBhMCVVMxGTAXBgNVBAgTEFdhc2hpbmd0b24gU3RhdGUxEDAO\nBgNVBAcTB1NlYXR0bGUxIDAeBgNVBAoTF0FtYXpvbiBXZWIgU2VydmljZXMgTExD\nMB4XDTI0MDQyOTE2NDYwOVoXDTI5MDQyODE2NDYwOVowXDELMAkGA1UEBhMCVVMx\nGTAXBgNVBAgTEFdhc2hpbmd0b24gU3RhdGUxEDAOBgNVBAcTB1NlYXR0bGUxIDAe\nBgNVBAoTF0FtYXpvbiBXZWIgU2VydmljZXMgTExDMIGfMA0GCSqGSIb3DQEBAQUA\nA4GNADCBiQKBgQCHvRjf/0kStpJ248khtIaN8qkDN3tkw4VjvA9nvPl2anJO+eIB\nUqPfQG09kZlwpWpmyO8bGB2RWqWxCwuB/dcnIob6w420k9WY5C0IIGtDRNauN3ku\nvGXkw3HEnF0EjYr0pcyWUvByWY4KswZV42X7Y7XSS13hOIcL6NLA+H94/QIDAQAB\no4HfMIHcMAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUJdbMCBXKtvCcWdwUUizvtUF2\nUTgwgZkGA1UdIwSBkTCBjoAUJdbMCBXKtvCcWdwUUizvtUF2UTihYKReMFwxCzAJ\nBgNVBAYTAlVTMRkwFwYDVQQIExBXYXNoaW5ndG9uIFN0YXRlMRAwDgYDVQQHEwdT\nZWF0dGxlMSAwHgYDVQQKExdBbWF6b24gV2ViIFNlcnZpY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n-----END CERTIFICATE-----\n" ) From 22fd96974a012453e3a305332afe33dcecfce8f2 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Wed, 31 Jul 2024 22:58:14 +0200 Subject: [PATCH 4/4] Strip tabs from certificates; update them again --- generator/main.go | 2 +- regioncert_gen.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generator/main.go b/generator/main.go index d1313d4..aa2ab11 100644 --- a/generator/main.go +++ b/generator/main.go @@ -77,7 +77,7 @@ func main() { } if tt == html.TextToken && wantText { token := tokenizer.Token() - regionCertMap[region] = token.String() + regionCertMap[region] = strings.ReplaceAll(token.String(), "\t", "") wantText = false } } diff --git a/regioncert_gen.go b/regioncert_gen.go index e4fe74d..b06d40b 100644 --- a/regioncert_gen.go +++ b/regioncert_gen.go @@ -32,8 +32,8 @@ const ( sa_east_1_cert = "-----BEGIN CERTIFICATE-----\nMIIDITCCAoqgAwIBAgIUX4Bh4MQ86Roh37VDRRX1MNOB3TcwDQYJKoZIhvcNAQEL\nBQAwXDELMAkGA1UEBhMCVVMxGTAXBgNVBAgTEFdhc2hpbmd0b24gU3RhdGUxEDAO\nBgNVBAcTB1NlYXR0bGUxIDAeBgNVBAoTF0FtYXpvbiBXZWIgU2VydmljZXMgTExD\nMB4XDTI0MDQyOTE2NDYwOVoXDTI5MDQyODE2NDYwOVowXDELMAkGA1UEBhMCVVMx\nGTAXBgNVBAgTEFdhc2hpbmd0b24gU3RhdGUxEDAOBgNVBAcTB1NlYXR0bGUxIDAe\nBgNVBAoTF0FtYXpvbiBXZWIgU2VydmljZXMgTExDMIGfMA0GCSqGSIb3DQEBAQUA\nA4GNADCBiQKBgQCHvRjf/0kStpJ248khtIaN8qkDN3tkw4VjvA9nvPl2anJO+eIB\nUqPfQG09kZlwpWpmyO8bGB2RWqWxCwuB/dcnIob6w420k9WY5C0IIGtDRNauN3ku\nvGXkw3HEnF0EjYr0pcyWUvByWY4KswZV42X7Y7XSS13hOIcL6NLA+H94/QI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