Skip to content

bug: fix(credentials): Windows credentials file unreadable after setup — EPERM on read #304

Description

@aythin

What happened?

After running testsprite setup, all subsequent commands fail with:

Error: EPERM: operation not permitted, open '~/.testsprite/credentials'

The file is created successfully by setup, but becomes immediately unreadable.

Steps to reproduce

1. testsprite setup --from-env --yes
2. testsprite doctor

Relevant output

Error: EPERM: operation not permitted, open 'C:\Users\<username>\.testsprite\credentials'

CLI version

0.4.0

Node.js version

v24.14.0

Operating system

Windows 11 Pro

Confirmations

  • I have searched existing issues and this is not a duplicate.
  • I am on the latest published version, or have noted why I cannot upgrade.
  • I have removed any secrets (API keys, credentials, private URLs) from this report.

Activity

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

Metadata

Metadata

Assignees

Labels

acceptedTriaged and accepted — a PR for this will be reviewedbugSomething isn't workingin-progressAssigned and actively being worked on

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions