Skip to content

feat: add Secret Service secret backend#137

Merged
rmanibus merged 2 commits into
mainfrom
feat/secret-service-backend
Mar 17, 2026
Merged

feat: add Secret Service secret backend#137
rmanibus merged 2 commits into
mainfrom
feat/secret-service-backend

Conversation

@rmanibus
Copy link
Copy Markdown
Contributor

Closes #89

Summary

  • add a native secret-service://collection/item backend using the Linux Secret Service D-Bus API
  • distinguish missing collection/item from unavailable DBus or keyring session errors and include env://... fallback guidance for unavailable environments
  • add unit and Linux-specific integration coverage that skips cleanly when Secret Service is unavailable

Testing

  • go test ./internal/secretref
  • go test ./cmd/cloudstic ./internal/secretref
  • GOOS=linux GOARCH=amd64 go test -c ./internal/secretref

@rmanibus rmanibus force-pushed the feat/secret-service-backend branch from edbe1a9 to 2f84308 Compare March 17, 2026 20:14
@rmanibus rmanibus force-pushed the feat/secret-service-backend branch from 44d0a15 to bdc4cf8 Compare March 17, 2026 20:23
@rmanibus rmanibus merged commit b26a0ae into main Mar 17, 2026
6 checks passed
@rmanibus rmanibus deleted the feat/secret-service-backend branch March 17, 2026 20:26
@rmanibus rmanibus added the enhancement New feature or request label Mar 17, 2026
@rmanibus rmanibus added this to the v1.13.0 milestone Mar 17, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 17, 2026

Codecov Report

❌ Patch coverage is 32.80000% with 84 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/secretref/secret_service_backend_linux.go 13.04% 79 Missing and 1 partial ⚠️
internal/secretref/secret_service_backend.go 86.20% 3 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC 0011: Implement Linux Secret Service backend for profile secrets

1 participant