Skip to content

fix(authentication): service account becomes invalid on macos when the service account key is too big for keychain - #1758

Merged
marceljk merged 4 commits into
mainfrom
fix/STACKITCLI-252-authentication-on-macos-fails-with-new-sa-keys
Nov 23, 2026
Merged

marceljk merged 4 commits into
mainfrom
fix/STACKITCLI-252-authentication-on-macos-fails-with-new-sa-keys

Conversation

@marceljk

@marceljk marceljk commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Description

relates to STACKITCLI-252 and #1716

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see e.g. here)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@marceljk
marceljk requested a review from a team as a code owner November 19, 2026 13:55
@marceljk
marceljk force-pushed the fix/STACKITCLI-252-authentication-on-macos-fails-with-new-sa-keys branch from e71e239 to e061960 Compare November 19, 2026 14:05
Comment thread internal/pkg/auth/storage_test.go Resolved
Comment thread internal/pkg/auth/storage.go Resolved
Comment thread internal/pkg/auth/service_account.go Resolved
@marceljk
marceljk force-pushed the fix/STACKITCLI-252-authentication-on-macos-fails-with-new-sa-keys branch 2 times, most recently from bd04533 to 355a48e Compare November 23, 2026 15:03
@marceljk
marceljk force-pushed the fix/STACKITCLI-252-authentication-on-macos-fails-with-new-sa-keys branch from 355a48e to 817c8e0 Compare November 23, 2026 16:04
@github-actions

Copy link
Copy Markdown

Merging this branch changes the coverage (1 decrease, 1 increase)

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/stackit-cli/internal/pkg/auth 58.80% (+1.20%) 👍
github.com/stackitcloud/stackit-cli/internal/pkg/config 69.76% (-0.97%) 👎
Coverage details

Compared to commit ae066ef (run #45184936474)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/stackitcloud/stackit-cli/internal/pkg/auth/service_account.go 74.39% (-3.39%) 82 (+10) 61 (+5) 21 (+5) 👎
github.com/stackitcloud/stackit-cli/internal/pkg/auth/storage.go 78.97% (+2.05%) 214 (+32) 169 (+29) 45 (+3) 👍
github.com/stackitcloud/stackit-cli/internal/pkg/config/config.go 86.67% (-4.88%) 75 (+4) 65 10 (+4) 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files:

  • github.com/stackitcloud/stackit-cli/internal/pkg/auth/service_account_test.go
  • github.com/stackitcloud/stackit-cli/internal/pkg/auth/storage_test.go

@marceljk
marceljk merged commit ce12cde into main Nov 23, 2026
9 checks passed
@marceljk
marceljk deleted the fix/STACKITCLI-252-authentication-on-macos-fails-with-new-sa-keys branch November 23, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants