Comments (6)
Any solution to this? I'm using WSL2 on Windows, and have just installed zed.
Running the first command from the manual is already a problem, exactly like the author described, except that no matter what I type in, it just re-prompts for pwd 3 times and then exits
from zed.
I think this happens sometimes if you ^C
or just press enter without any input on the first time you're prompted for the password.
Does this work if you delete the $HOME/.zed
directory and try again?
from zed.
Hi @jzelinskie, thanks for the prompt response.
Yes, it also happens when I delete the folder:
rm -rf ~/.zed/
zed context set local localhost:50051 "somerandomkeyhere" --insecure
Entering your password a lot? Try setting the environment variable `ZED_KEYRING_PASSWORD`
Enter passphrase to unlock "/home/XYZ/.zed/keyring.jwt":
from zed.
Oh! I think I realized the issue -- the first time zed prompts you for a password is actually the time it's setting the password.
We should probably detect if that's the case and change the text in the prompt so that it's clear.
If you confirm that's the case, I'll open up a PR with a fix.
from zed.
Oh yes, that actually seems to be the issue. Thanks!
from zed.
Any solution to this? I'm using WSL2 on Windows, and have just installed zed. Running the first command from the manual is already a problem, exactly like the author described, except that no matter what I type in, it just re-prompts for pwd 3 times and then exits
I got around this for now by setting the removing the ~/.zed directory, setting the environment variable, and then running the "zed context set ..." command again.
Though I was also able to get it working by just clearing the directory and specifying a new password like jzelinskie mentioned. You just need to re-enter the same password each time (it's set the first time).
For context, I am also using WSL2 on windows.
from zed.
Related Issues (20)
- zed permission lookup-subjects is causing a segfault HOT 3
- Exporting schema and relationships in a format that is compatible with zed import HOT 1
- Print "success" if error code is 0 HOT 2
- Make docs for cli
- Add a curl-like command that uses the zed context
- Make documentation and error more clear when trying to execute zed without context HOT 2
- --certificate-path flag is not respected
- Store backup snapshot timestamp in the backupfile
- zed backup to stdout or existing file HOT 2
- Proper signal handling for backup and restore operations
- Validate `.zaml` file should support sourcing schema from a file HOT 2
- Add argument to zed validate to auto-create playground link
- The context token doesn't appear to be using the stored NoVerifyCA and CACert
- zed command relationship read, could not use the subject option without giving the relation option HOT 1
- zed backup create to existing file
- Package shell completion into DEB and RPM
- add retries on serialization errors for write operations
- Some errors seem to always be in json, even if using an interactive shell
- zed import ignores value of --schema-definition-prefix when referencing caveats
- Support command shorthands HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zed.