- Added DefaultCryptoHmac class implementing ICryptoHmac interface. - Introduced purpose-based HMAC computation methods. - Implemented verification methods for HMACs with constant-time comparison. - Created HmacAlgorithms and HmacPurpose classes for well-known identifiers. - Added compliance profile support for HMAC algorithms. - Included asynchronous methods for HMAC computation from streams.
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
name: cli-build
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
rids:
|
|
description: "Comma-separated RIDs (e.g., linux-x64,win-x64,osx-arm64)"
|
|
required: false
|
|
default: "linux-x64,win-x64,osx-arm64"
|
|
config:
|
|
description: "Build configuration"
|
|
required: false
|
|
default: "Release"
|
|
sign:
|
|
description: "Enable cosign signing (requires COSIGN_KEY)"
|
|
required: false
|
|
default: "false"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Task Pack offline bundle fixtures
|
|
run: python3 scripts/packs/run-fixtures-check.sh
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: "10.0.100"
|
|
|
|
- name: Install syft (SBOM)
|
|
uses: anchore/sbom-action/download-syft@v0
|
|
|
|
- name: Build CLI artifacts
|
|
run: |
|
|
chmod +x scripts/cli/build-cli.sh
|
|
RIDS="${{ github.event.inputs.rids }}" CONFIG="${{ github.event.inputs.config }}" SBOM_TOOL=syft SIGN="${{ github.event.inputs.sign }}" COSIGN_KEY="${{ secrets.COSIGN_KEY }}" scripts/cli/build-cli.sh
|
|
|
|
- name: List artifacts
|
|
run: find out/cli -maxdepth 3 -type f -print
|
|
|
|
- name: Upload CLI artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: stella-cli
|
|
path: out/cli/**
|