Skip to content

Commit 830c138

Browse files
authored
build transitland-lib to support insecure but still used RSA ciphers (#451)
closes interline-io/tlv2#166
1 parent b35d14f commit 830c138

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-and-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
go-version: ${{ matrix.go-version }}
4747
- name: Build on Linux
4848
working-directory: ${{ github.workspace }}/cmd/transitland
49-
run: CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.tag=$(git describe --tags --abbrev=0)"
49+
run: CGO_ENABLED=1 GOOS=linux GOARCH=amd64 GODEBUG=tlsrsakex=1 go build -ldflags "-X main.tag=$(git describe --tags --abbrev=0)"
5050
- name: Store Linux binary
5151
uses: actions/upload-artifact@v4
5252
with:
@@ -68,7 +68,7 @@ jobs:
6868
go-version: ${{ matrix.go-version }}
6969
- name: Build on macOS
7070
working-directory: ${{ github.workspace }}/cmd/transitland
71-
run: CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.tag=$(git describe --tags --abbrev=0)"
71+
run: CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 GODEBUG=tlsrsakex=1 go build -ldflags "-X main.tag=$(git describe --tags --abbrev=0)"
7272
- name: Import Code-Signing Certificates
7373
uses: Apple-Actions/import-codesign-certs@v2
7474
with:
@@ -105,7 +105,7 @@ jobs:
105105
go-version: ${{ matrix.go-version }}
106106
- name: Build on macOS
107107
working-directory: ${{ github.workspace }}/cmd/transitland
108-
run: CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -ldflags "-X main.tag=$(git describe --tags --abbrev=0)"
108+
run: CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 GODEBUG=tlsrsakex=1 go build -ldflags "-X main.tag=$(git describe --tags --abbrev=0)"
109109
- name: Import Code-Signing Certificates
110110
uses: Apple-Actions/import-codesign-certs@v2
111111
with:

0 commit comments

Comments
 (0)