-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
specify extended key usage attributes via x509.ExtraExtensions (#292)
* specify extended key usage attributes via x509.ExtraExtensions Directly specifying extended key usage attributes means Critical flag is always set to false. But as seen with timestamping - https://www.ietf.org/rfc/rfc3161.txt , there may be a need to set Critical flag for certain EKUs. Using x509.ExtraExtensions field provides this flexibility. Currently all EKUs except timestamping one have Critical flag set to false, but we can revise other EKUs or make them configurable if deemed necessary later.
- Loading branch information
Showing
12 changed files
with
245 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
go-version: 1.20.6 | ||
- uses: actions/[email protected] | ||
- name: golangci-lint | ||
uses: golangci/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
- name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
go-version: 1.20.6 | ||
- name: checkout | ||
uses: actions/[email protected] | ||
- name: Install addlicense | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,13 +43,13 @@ jobs: | |
steps: | ||
- name: Checkout release | ||
if: ${{ inputs.tag == 'release'}} | ||
uses: actions/[email protected] # v2.4.0 | ||
uses: actions/[email protected] # v3.5.3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Checkout image | ||
if: ${{ inputs.tag == 'image'}} | ||
uses: actions/[email protected] # v2.4.0 | ||
uses: actions/[email protected] # v3.5.3 | ||
|
||
- name: Unshallow | ||
if: ${{ inputs.tag == 'image'}} | ||
|
@@ -58,7 +58,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v4 # v2.1.5 | ||
with: | ||
go-version: ~1.18.6 | ||
go-version: ~1.20.6 | ||
|
||
- name: Install Cosign | ||
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
|
||
steps: | ||
- name: "Checkout code" | ||
uses: actions/[email protected] # v2.4.0 | ||
uses: actions/[email protected] # v3.5.3 | ||
with: | ||
persist-credentials: false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"validity": 432000,"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICZjCCAU4CAQAwITELMAkGA1UEBhMCVVMxEjAQBgNVBAMMCWxvY2FsaG9zdDCC\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANycK6JNgdOromSB6Ym90+Ss\nr+k5to+os0sshmpgXRf/4/rbq5IYafulyrKPZ4Ymj9kuvqkpp99d7gbzndee8vQi\nxv7hEvfkCHzPbLjHkf7pNYHSFVJSpBn3ySxfq0/Ie9A6XHkFeLD3J/exFJ4Vlv4K\nQl4xher7ie5sFSYw47b0IhCzcnTaGUwbLnnhnRga7Ly4NC4zSk3KjEQYGg8QFOY0\nPlQ5Zvq3d7zldAs8MypGgxlyurz/UyorFdTQ2cF+c8o2SvpvBD9EbbmUSVh7KTZi\nduLIefRhV+VsHG8EIcM7fhLrTRUdO9KESL76GvUG77f96cU3ZeoRlMF/+jgwRoEC\nAwEAAaAAMA0GCSqGSIb3DQEBCwUAA4IBAQBY6Ff3Eb6H0AEjaz8+aum7H5MkGNeF\n8et2zVSRErPEQ5hkjB6nI9qBQ9TAyI99RdltJE5IP443bPmNLjZvRCdihC2EgDvf\n3TYEAAlHh4ihtIn7vKi9Rw9M09uAi3yJRs3zhBmN2rZvV3JmwqSdd/4dmiCaa+Y0\nTAESbwGv7fURGlsJJ6xa3/6osxb6DmbaGFOK7a1+2onHi4Xmlmmc3GawzW8Q/mXJ\nayRjLZGdwbOa5fMfWWlLtlSBaPKo/zTYuRl0idYIUFIuInJDx1ydQQQQ/opl4Qpo\nynt0uhRtvugQ+TYN0Yjp5ONK8oinmT6AEVckIfJ4aKIOCf3snUkPfQBi\n-----END CERTIFICATE REQUEST-----", "ext_key_usage": [1,2,3,4,8]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.