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

Command egnkey stores files in root if output dir already exists #388

Open
MegaRedHand opened this issue Nov 1, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@MegaRedHand
Copy link

Describe the bug

When generating keys with egnkey, if the output directory already exists, the keys are stored in the file-system root (/).

To Reproduce

mkdir -p foobar
egnkey generate --key-type ecdsa --num-keys 1 --output-dir foobar
ls foobar  # output dir is empty
ls /keys /private_key_hex.txt /password.txt  # ...because everything is in root

Expected behavior

The keys to be in the output dir

OS details

macOS 15

@MegaRedHand MegaRedHand added the bug Something isn't working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant