[GH-ISSUE #785] review details-create fails with keychain auth — tries to read .p8 file from disk #213

Closed
opened 2026-02-26 21:34:02 +03:00 by kerem · 3 comments
Owner

Originally created by @marcelscruz on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/785

Originally assigned to: @rudrankriyam on GitHub.

Bug

When credentials are stored in the system keychain, asc review details-create fails because it attempts to read the .p8 private key file from its original disk path instead of using the keychain.

Steps to reproduce

  1. Authenticate with asc auth and store credentials in the system keychain
  2. Delete the .p8 file from disk (as recommended for security)
  3. Verify auth works: asc auth status shows credentials stored in keychain
  4. Run any other command (e.g. asc localizations list) — works fine
  5. Run asc review details-create --version-id "VERSION_ID" --contact-phone "+1234567890" — fails

Expected behavior

The command should use the keychain-stored credentials, same as all other commands.

Actual behavior

Error: review details-create: invalid private key: failed to open key file: open /Users/.../AuthKey_XXXXXXXX.p8: no such file or directory

Environment

  • Auth method: System Keychain
  • Other commands (localizations update, categories set, age-rating set, pricing schedule create) all work correctly with keychain auth
  • Only review details-create tries to read the .p8 file from disk

Workaround

Set review details via the App Store Connect web UI instead.

Originally created by @marcelscruz on GitHub (Feb 25, 2026). Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/785 Originally assigned to: @rudrankriyam on GitHub. ## Bug When credentials are stored in the system keychain, `asc review details-create` fails because it attempts to read the `.p8` private key file from its original disk path instead of using the keychain. ## Steps to reproduce 1. Authenticate with `asc auth` and store credentials in the system keychain 2. Delete the `.p8` file from disk (as recommended for security) 3. Verify auth works: `asc auth status` shows credentials stored in keychain 4. Run any other command (e.g. `asc localizations list`) — works fine 5. Run `asc review details-create --version-id "VERSION_ID" --contact-phone "+1234567890"` — fails ## Expected behavior The command should use the keychain-stored credentials, same as all other commands. ## Actual behavior ``` Error: review details-create: invalid private key: failed to open key file: open /Users/.../AuthKey_XXXXXXXX.p8: no such file or directory ``` ## Environment - Auth method: System Keychain - Other commands (`localizations update`, `categories set`, `age-rating set`, `pricing schedule create`) all work correctly with keychain auth - Only `review details-create` tries to read the `.p8` file from disk ## Workaround Set review details via the App Store Connect web UI instead.
kerem 2026-02-26 21:34:02 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rudrankriyam commented on GitHub (Feb 26, 2026):

Thank you so much for this! It turned out to be a bigger issue. Fix coming now

<!-- gh-comment-id:3964074139 --> @rudrankriyam commented on GitHub (Feb 26, 2026): Thank you so much for this! It turned out to be a bigger issue. Fix coming now
Author
Owner

@rudrankriyam commented on GitHub (Feb 26, 2026):

Fixed by #786 and released in v0.34.1: https://github.com/rudrankriyam/App-Store-Connect-CLI/releases/tag/0.34.1

<!-- gh-comment-id:3964258332 --> @rudrankriyam commented on GitHub (Feb 26, 2026): Fixed by #786 and released in v0.34.1: https://github.com/rudrankriyam/App-Store-Connect-CLI/releases/tag/0.34.1
Author
Owner

@marcelscruz commented on GitHub (Feb 26, 2026):

Awesome, thank you for the quick fix.
I can confirm it works, I just had to run asc auth login again, and next run it picked up from the keychain!

<!-- gh-comment-id:3967761189 --> @marcelscruz commented on GitHub (Feb 26, 2026): Awesome, thank you for the quick fix. I can confirm it works, I just had to run `asc auth login` again, and next run it picked up from the keychain!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#213
No description provided.