Skip to content

fix: add windows-native keyring feature for credential persistence on Windows - #90

Open
lihaooo wants to merge 1 commit into
artifact-keeper:mainfrom
lihaooo:fix/windows-keyring-credential-persist
Open

fix: add windows-native keyring feature for credential persistence on Windows#90
lihaooo wants to merge 1 commit into
artifact-keeper:mainfrom
lihaooo:fix/windows-keyring-credential-persist

Conversation

@lihaooo

@lihaooo lihaooo commented Jun 10, 2026

Copy link
Copy Markdown

Summary

  • Add windows-native feature to the keyring crate so that Windows Credential Manager is used as the native backend for storing login credentials.

Fixes #89

Background

The keyring v3 crate has no default features. Only apple-native and linux-native were enabled, leaving Windows without any credential store backend. set_password() silently returned Ok without persisting, causing ak auth whoami to fail after a successful ak auth login.

Test plan

  • cargo build --release succeeds on Windows
  • cargo test --workspace — 1409 tests pass
  • Manual test: ak auth loginak auth whoami roundtrip works on Windows 11

… on Windows

The keyring v3 crate has no default features. Without `windows-native`,
there is no credential store backend on Windows. `set_password()` silently
returns Ok without persisting, causing `ak auth whoami` to fail after login.

Fixes artifact-keeper#89
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.

fix: ak auth login fails to persist credentials on Windows

1 participant