feat(push): implement push command with signing support - #8
Conversation
Implement the push command to upload directories to OCI registries as blob archives. Features include: - Zstd compression (default) or no compression - Skip compression for already-compressed files - Optional Sigstore keyless signing - Annotation support (key=value format) - Text and JSON output formats Also fixes error display in main.go - errors were silenced but not printed to stderr. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Kusari Analysis Results:Caution Flagged Issues Detected Critical conflict detected between analyses that must be resolved before merge. The dependency analysis identifies 13 active heap-buffer-overflow vulnerabilities in github.com/google/flatbuffers@v25.12.19+incompatible (via sigstore dependency chain) with specific CVE identifiers and no available fix. These memory corruption vulnerabilities can enable arbitrary code execution. However, the code analysis reports zero vulnerabilities and suggests the issue has been resolved. This discrepancy requires immediate investigation to determine: (1) which scan reflects the actual post-merge dependency state, (2) whether the flatbuffers dependency was truly removed/replaced, or (3) if there is a gap in one of the scanning tools. Additionally, the CC-BY-SA-4.0 license compatibility concern needs verification. Given the critical severity of heap-buffer-overflow vulnerabilities and concrete evidence in the dependency analysis, the secure approach is to block until the conflict is definitively resolved. Action required: Re-run both scans, manually verify go.mod/go.sum for flatbuffers presence, and confirm vulnerability status before proceeding. Note View full detailed analysis result for more information on the output and the checks that were run. Required Dependency Mitigations
Found this helpful? Give it a 👍 or 👎 reaction! |
The replace directive pointing to ../blob only works locally and breaks CI builds. Use the published module instead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Kusari PR Analysis rerun based on - 45371a3 performed at: 2026-01-22T16:56:04Z - link to updated analysis |
Summary
pushcommand to upload directories to OCI registries as blob archives--signflag--annotation key=value)Test plan
cmd/push_test.go)docker.io/meigma/blob-test:v1just cito verify lint/test/build pass🤖 Generated with Claude Code