Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PKI Authentication #6

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/dependabot.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This is a GitHub action that will have two jobs: build and publish
# The build job will create a Golang Docker image with a production target for multiple architectures
# The publishing job will push the image to GitHub packages with the commit sha and build number as labels
# The image will also have some metadata labels about the build
# act --secret-file act.env --container-architecture linux/amd64 --workflows .github/workflows/build.yaml
name: build
on:
push:
jobs:
# This job will build the image using ubuntu
binary:
runs-on: ubuntu-latest
steps:
# Checkout the code from the repository
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22
cache-dependency-path: |
protocol/go/go.sum
lib/ocrypto/go.sum
sdk/go.sum
service/go.sum
# Build a linux application
- name: Build Service
# Build optimized
run: |
go work init protocol/go lib/ocrypto sdk service
CGO_ENABLED=1 GOARCH=amd64 GOOS=linux go build -o tdfsvc -a -installsuffix=cgo -ldflags="-s -w -extldflags -static" service/main.go
- name: Upload Go binary
uses: actions/upload-artifact@v4
with:
name: tdfsvc-${{ github.sha }}
path: ./tdfsvc
219 changes: 0 additions & 219 deletions .github/workflows/checks.yaml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/lint-all.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/vulnerability-check.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tmp/
__pycache__

# Userland files
opentdf.yaml
service/opentdf.yaml
.vscode/settings.json
.idea/

Expand All @@ -40,3 +40,4 @@ tmp-gen/

*.zip
sensitive.txt.tdf
/act.env
Loading