This fixes the No directory provided for file keyring issue when trying to run stripe login on WSL. On that system, there may not be a keyring backend, so we fail open to avoid blocking the login flow from completing.
I verified this on Ubuntu 22.04.4 LTS. Our unit tests actually catch this when running make test on this platform, so I also made sure those pass. We should consider ways to handle catching errors like this before they make it into a release.
Reviewers
cc @stripe/developer-products
Summary
This fixes the
No directory provided for file keyring
issue when trying to runstripe login
on WSL. On that system, there may not be a keyring backend, so we fail open to avoid blocking the login flow from completing.I verified this on Ubuntu 22.04.4 LTS. Our unit tests actually catch this when running
make test
on this platform, so I also made sure those pass. We should consider ways to handle catching errors like this before they make it into a release.