From db3810390319f528c2fa483e9c2b1144be36fd32 Mon Sep 17 00:00:00 2001 From: mchavez Date: Wed, 15 May 2024 15:32:36 -0600 Subject: [PATCH 1/2] Fix deprecated linter --- .golangci.yml | 2 -- .vscode/launch.json | 24 ++++++++++++++++++++++++ auth-new.pem | 27 +++++++++++++++++++++++++++ auth.pem | 28 ++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+), 2 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 auth-new.pem create mode 100644 auth.pem diff --git a/.golangci.yml b/.golangci.yml index dcce3816..4f91ccf3 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -57,7 +57,6 @@ linters-settings: linters: disable-all: true enable: - - deadcode # Finds unused code - errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases - gosimple # Linter for Go source code that specializes in simplifying a code - govet # Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string @@ -65,7 +64,6 @@ linters: - staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks - typecheck # Like the front-end of a Go compiler, parses and type-checks Go code - unused # Checks Go code for unused constants, variables, functions and types - - varcheck # Finds unused global variables and constants - asasalint # Check for pass []any as any in variadic func(...any) - asciicheck # Simple linter to check that your code does not contain non-ASCII identifiers - bidichk # Checks for dangerous unicode character sequences diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..25529cea --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Launch Package", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${fileDirname}", + "env": { + "token": "eebc60e5-4d5f-440f-a078-d2e78eea487e", + "org": "7e0f685e-d61a-41f5-87b8-36342b4c6336", + }, + "args": [ + "--okta-client-id=", + "--okta-private-key=", + "--okta-private-key-id=", + "--provisioning=false", + "--api-token=00keLdk8TEjhTu_TJfyMgvZr8i-mHOFO2AewgQkQ1C", + "--domain=dev-18887393.okta.com", + ] + } + ] +} \ No newline at end of file diff --git a/auth-new.pem b/auth-new.pem new file mode 100644 index 00000000..83973fe1 --- /dev/null +++ b/auth-new.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEogIBAAKCAQEAr6MeLMTvCWb6B2isumindthd1cKo/NlqJOL5ayJNrK27vFU3 +dpJbFC076goFl1iNiP4WJkupFv9lBZQLrp28ZFBWZnodSMorlH4bcNnbm++CrNop +6E45VS6g0YIQPiBimnOwne69cFE0nWMNWD0KJwSFXEiv9RY0ogDaoPm6/QxIzg7x +u73tpQtUEitJKbp3zIb9RIyZCQm53lSdyIj/G+32K8Z8COGewraOGhPX1qUHrwIb +12I1kShP/M/02N/1GwcfwBQHyj1Xeh3fpe+Ot7X0TlrGDtmD5+iWyZ7F0TYm8wJ0 +4qMNhDOeZdiBWle8nZUe2/TBAgA5ljL2aP1UBwIDAQABAoIBABpP24NldVH5RVe6 +zLWYXA4n19bgNKS8hXRFNIxiNTS7SjaqpYZz4oUhSaqEGdZUg8+UEQlnqEszs5Sk +WyOrqb91cZwkiyKOdvzl74J2gLnZpb/zZvfQUDJ8q8b3Lyu/ekYdMsZWL7cV00YI +wsUHT/AMc1Yh5YpX60ahzh7zipnB79WsfLUnVhdUAeDdYhAeHhxk9r4hUM4cwGyy +RrVtw66HEAdSFzE2SzROHde1yMbdaZrUKlQ0RF9NDCig1WrAXW7vCVlLAxCXTUay +X9QMwMWGbJ2hoMhiskYrm5tf/BQKI6XLa3MjN+V1sFgPk0zZ2ai16P5r/5KuyXWt +cKVvLQECgYEA1JOrLdsMv7WCIQc4I61/EkGQ/LOKrFKAjUfBwV4/Q2ZurW1u6atQ +wZm8SBANQonJtPTR4tLKEZaf3CLJKCDXPldjBNq3sflxwVJ3VkVMPf0rXDLBYEIz +E4iL7bIYHoE9u7Zz2junNW/l7ENpbCx9pyXWiXmgEAQrBV/M/cO1wMcCgYEA04PB +T4ragFBf0E1AJX+QmjM31j629kVvm2tgPV46r3JB8Toxb/cbNGPRzVGIKTr28y8P +frtPKz0XJYg7GqP2WkUdctznMvAt8XfQFfXfoWVnIQzIUjDk8tO1r1L8k7QkpkVl +AkIOzKQW5Gmr9RimO/3HZ4lP/4KlsUEDZqhPEsECgYBm3ja97/yRYOJh3T57dV/C +k9v3jWKT1TDELW9DhboTgaQZZJWBmhdwOFb2gF4KTuc/HCHdI6gJLtyZCHRTaOEA +GAWgub6e71ju9lstckdc0ACFk0IktKRG1ZLxKXeme2BGUBpsBuX5Y/bdiBmh8T20 +/wh8alDcr0eqSBvIyUZQzQKBgEk+KKSIqp0gN+2DsqDJiaM79SvlT6n75WfmSM83 +YA78+8SyqAfjg7IilrYIc6QDXRxcwXrbFdEdOHSwtfbFrDsaD9aElDLZZK9nE9Fm +8OeMm6egK4X6lG1ZzmJF1Fy5Vq+U/CNKCKHoeFzkEr2uqXHAsVoy/Fa4QPQeVTUp +NyiBAoGAc8ehI7ueVrSrUIPNllU+Gh4KuV6qWDt0vusZ0xeSejmxZNXP1o+hysti +Y9gbtbYo5/rtAnf/bLjrVUnApQP2qkaePWSQG+TXrO3bmVZ2MrkhZ9weuwUS0zbP +gd4gDXbX/QsG5lKtAP7fXoozsMU+3j9swQfPn2m/Hxy1XAgYpIU= +-----END RSA PRIVATE KEY----- diff --git a/auth.pem b/auth.pem new file mode 100644 index 00000000..b70da273 --- /dev/null +++ b/auth.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCvox4sxO8JZvoH +aKy6aKd22F3Vwqj82Wok4vlrIk2srbu8VTd2klsULTvqCgWXWI2I/hYmS6kW/2UF +lAuunbxkUFZmeh1IyiuUfhtw2dub74Ks2inoTjlVLqDRghA+IGKac7Cd7r1wUTSd +Yw1YPQonBIVcSK/1FjSiANqg+br9DEjODvG7ve2lC1QSK0kpunfMhv1EjJkJCbne +VJ3IiP8b7fYrxnwI4Z7Cto4aE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ANdHFzB +etsV0R04dLC19sWsOxoP1oSUMtlkr2cT0Wbw54ybp6ArhfqUbVnOYkXUXLlWr5T8 +I0oIoeh4XOQSva6pccCxWjL8VrhA9B5VNSk3KIECgYBzx6Eju55WtKtQg82WVT4a +Hgq5XqpYO3S+6xnTF5J6ObFk1c/Wj6HKy2Jj2Bu1tijn+u0Cd/9suOtVScClA/aq +Rp49ZJAb5Nes7duZVnYyuSFn3B67BRLTNs+B3iANdtf9CwbmUq0A/t9eijOwxT7e +P2zBB8+fab8fHLVcCBikhQ== +-----END PRIVATE KEY----- \ No newline at end of file From cdd60828afac97a719fcad10064a0b50db829ec1 Mon Sep 17 00:00:00 2001 From: mchavez Date: Wed, 15 May 2024 15:36:44 -0600 Subject: [PATCH 2/2] Fix deprecated linter --- .vscode/launch.json | 24 ------------------------ auth-new.pem | 27 --------------------------- auth.pem | 28 ---------------------------- 3 files changed, 79 deletions(-) delete mode 100644 .vscode/launch.json delete mode 100644 auth-new.pem delete mode 100644 auth.pem diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 25529cea..00000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "name": "Launch Package", - "type": "go", - "request": "launch", - "mode": "auto", - "program": "${fileDirname}", - "env": { - "token": "eebc60e5-4d5f-440f-a078-d2e78eea487e", - "org": "7e0f685e-d61a-41f5-87b8-36342b4c6336", - }, - "args": [ - "--okta-client-id=", - "--okta-private-key=", - "--okta-private-key-id=", - "--provisioning=false", - "--api-token=00keLdk8TEjhTu_TJfyMgvZr8i-mHOFO2AewgQkQ1C", - "--domain=dev-18887393.okta.com", - ] - } - ] -} \ No newline at end of file diff --git a/auth-new.pem b/auth-new.pem deleted file mode 100644 index 83973fe1..00000000 --- a/auth-new.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEogIBAAKCAQEAr6MeLMTvCWb6B2isumindthd1cKo/Nlq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ELW9DhboTgaQZZJWBmhdwOFb2gF4KTuc/HCHdI6gJLtyZCHRTaOEA -GAWgub6e71ju9lstckdc0ACFk0IktKRG1ZLxKXeme2BGUBpsBuX5Y/bdiBmh8T20 -/wh8alDcr0eqSBvIyUZQzQKBgEk+KKSIqp0gN+2DsqDJiaM79SvlT6n75WfmSM83 -YA78+8SyqAfjg7IilrYIc6QDXRxcwXrbFdEdOHSwtfbFrDsaD9aElDLZZK9nE9Fm -8OeMm6egK4X6lG1ZzmJF1Fy5Vq+U/CNKCKHoeFzkEr2uqXHAsVoy/Fa4QPQeVTUp -NyiBAoGAc8ehI7ueVrSrUIPNllU+Gh4KuV6qWDt0vusZ0xeSejmxZNXP1o+hysti -Y9gbtbYo5/rtAnf/bLjrVUnApQP2qkaePWSQG+TXrO3bmVZ2MrkhZ9weuwUS0zbP -gd4gDXbX/QsG5lKtAP7fXoozsMU+3j9swQfPn2m/Hxy1XAgYpIU= ------END RSA PRIVATE KEY----- diff --git a/auth.pem b/auth.pem deleted file mode 100644 index b70da273..00000000 --- a/auth.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCvox4sxO8JZvoH -aKy6aKd22F3Vwqj82Wok4vlrIk2srbu8VTd2klsULTvqCgWXWI2I/hYmS6kW/2UF -lAuunbxkUFZmeh1IyiuUfhtw2dub74Ks2inoTjlVLqDRghA+IGKac7Cd7r1wUTSd -Yw1YPQonBIVcSK/1FjSiANqg+br9DEjODvG7ve2lC1QSK0kpunfMhv1EjJkJCbne -VJ3IiP8b7fYrxnwI4Z7Cto4aE9fWpQevAhvXYjWRKE/8z/TY3/UbBx/AFAfKPVd6 -Hd+l7463tfROWsYO2YPn6JbJnsXRNibzAnTiow2EM55l2IFaV7ydlR7b9MECADmW -MvZo/VQHAgMBAAECggEAGk/bg2V1UflFV7rMtZhcDifX1uA0pLyFdEU0jGI1NLtK -Nqqlh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