Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors: Perhaps it would be worth adding help text for when users repeatedly encounter the prompt to rekey? #20

Open
plaidfinch opened this issue May 6, 2024 · 2 comments

Comments

@plaidfinch
Copy link

When I was first getting set up using this library, I got stuck in a loop of being prompted to rekey. It turns out, I skipped the warning in step 4 of the README, mea culpa. But it would have been quicker to realize my error if there was help text in the "you need to rekey" message which indicated that if this error shows up repeatedly, you likely need to configure the extra-sandbox-paths per the README.

Hopefully this user experience note is helpful! I figure that I only get one chance to be a first-time user of a piece of software, so I'm trying to document the gotchas I encounter to smooth the way for others in the future. :)

@oddlama
Copy link
Owner

oddlama commented May 6, 2024

Thanks for the info!
I'll have to think about how to make this specific error better to understand. Maybe the loop can be detected somehow and then an appropriate message can be shown..

@plaidfinch
Copy link
Author

No idea if this would work, but maybe upon failure a file could be put in a well-known temp location, and upon success, deleted? Then, upon second failure, if the file is already there, we know we've gone around the loop before. I've no idea how to do this while skirting the purity requirements Nix imposes, but you've already navigated those deftly in this package, so perhaps you can see a way.

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

No branches or pull requests

2 participants