Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
1c838ee
generate signature
jwhollingsworth Aug 5, 2026
06a7e8a
trigger workflow
jwhollingsworth Aug 5, 2026
23483e4
trigger workflow
jwhollingsworth Aug 5, 2026
2aaa6f5
CHANGE
jwhollingsworth Aug 5, 2026
3e28e89
specify exact cosign-installer version
jwhollingsworth Aug 5, 2026
f097fc3
do not use signing config
jwhollingsworth Aug 5, 2026
c923902
allow oidc token creation
jwhollingsworth Aug 5, 2026
ba956e4
correct rekor url
jwhollingsworth Aug 5, 2026
563b1ec
try using the base url as rekor
jwhollingsworth Aug 5, 2026
392d9ca
try using the base url as rekor
jwhollingsworth Aug 5, 2026
b53fb03
test fianu login
jwhollingsworth Aug 5, 2026
b8f4236
correct syntax
jwhollingsworth Aug 5, 2026
854b4ad
set FIANU_CLIENT_ID env var
jwhollingsworth Aug 5, 2026
620b0fa
try old version
jwhollingsworth Aug 5, 2026
432905e
remove this flag
jwhollingsworth Aug 5, 2026
cc98508
can not just comment out the command
jwhollingsworth Aug 5, 2026
f2019a2
push the image
jwhollingsworth Aug 5, 2026
2985602
remove commented code
jwhollingsworth Aug 5, 2026
70bf56f
use the new cosign cli
jwhollingsworth Aug 10, 2026
3ed1343
add run id annotation
jwhollingsworth Aug 10, 2026
a53a4e7
use newer version of cosign v2
jwhollingsworth Aug 10, 2026
ba75abe
fix
jwhollingsworth Aug 10, 2026
a58ef60
fix version
jwhollingsworth Aug 10, 2026
a427aee
fix version
jwhollingsworth Aug 10, 2026
4e73d87
up to 2.1.0
jwhollingsworth Aug 10, 2026
30a9ec8
downgrade to 2.0.1
jwhollingsworth Aug 10, 2026
294cbf6
use nonce
jwhollingsworth Aug 10, 2026
75b20e6
try verifying
jwhollingsworth Aug 11, 2026
2229c2e
see what happens
jwhollingsworth Aug 11, 2026
79ce115
see what happens
jwhollingsworth Aug 11, 2026
8948ef0
try using fianu root init
jwhollingsworth Aug 11, 2026
90c963f
get trusted root
jwhollingsworth Aug 11, 2026
dcf95ec
update rekor url
jwhollingsworth Aug 11, 2026
ecd1291
add trusted root
jwhollingsworth Aug 11, 2026
d860724
output trusted root
jwhollingsworth Aug 11, 2026
c11b49b
fix identity regexp
jwhollingsworth Aug 11, 2026
bdcf7d4
correct identity
jwhollingsworth Aug 11, 2026
1253428
try using cosign initialize
jwhollingsworth Aug 11, 2026
6307efa
install fianu twice
jwhollingsworth Aug 11, 2026
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
68 changes: 67 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: Service CI
permissions:
contents: read
packages: write
id-token: write

on:
pull_request:
Expand Down Expand Up @@ -87,8 +88,73 @@ jobs:

- name: Build and push Docker image
uses: docker/build-push-action@v6
id: build
with:
context: ${{ matrix.context }}
push: ${{ github.event_name != 'pull_request' }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Install Cosign
uses: sigstore/cosign-installer@v4.1.0
with:
cosign-release: 'v3.1.3'

- name: Check install
run: cosign version

- name: Setup Fianu
uses: fianulabs/actions@main
with:
version: 1.9.67

- name: Setup Fianu again
uses: fianulabs/actions@main
with:
version: 1.9.67

# - name: Initialize TUF
# env:
# FIANU_HOST: app.fianu.io
# FIANU_CLIENT_ID: ${{ secrets.FIANU_CLIENT_ID }}
# FIANU_CLIENT_SECRET: ${{ secrets.FIANU_CLIENT_SECRET }}
# run: |-
# fianu root init
# curl -sSf "https://app.fianu.io/ledger/root/targets/trusted_root.json" -o trusted_root.json

- name: Initialize Cosign
run: |
cosign initialize \
--mirror "https://app.fianu.io/ledger/root" \
--root "https://app.fianu.io/ledger/root/root.json"

- name: Signing Config
run: |
cosign signing-config create \
--fulcio="url=https://app.fianu.io/ledger/fulcio,api-version=1,start-time=2020-01-01T00:00:00Z,operator=fianu" \
--rekor="url=https://rekor-tiles.prod.fianu.io,api-version=2,start-time=2020-01-01T00:00:00Z,operator=fianu" \
--rekor-config="ANY" \
--tsa="url=https://app.fianu.io/ledger/timestamp,api-version=1,start-time=2020-01-01T00:00:00Z,operator=fianu" \
--tsa-config="ANY" \
--output-file signing_config.json

# - name: Output Trusted Root
# run: cat trusted_root.json

- name: Output the Config
run: cat signing_config.json

- name: Sign Image
run: |
cosign sign \
-a commit=${{ github.sha }} \
--signing-config=signing_config.json \
--yes \
"${{ env.REGISTRY }}/${{ matrix.image }}@${{ steps.build.outputs.digest }}"

- name: Verify Signature
run: |
cosign verify \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
--certificate-identity-regexp="^https://github\.com/Coveros/.*$" \
"${{ env.REGISTRY }}/${{ matrix.image }}@${{ steps.build.outputs.digest }}"
2 changes: 2 additions & 0 deletions services/auth-service/nodejs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Codeveros Auth Service Node.js

Repository for Node.js-based Codeveros Auth Service

CHANGE
Loading