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

bun shell inconsistent empty string argument parsing #15340

Open
chefnaphtha opened this issue Nov 22, 2024 · 1 comment
Open

bun shell inconsistent empty string argument parsing #15340

chefnaphtha opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working shell Something to do with Bun as a shell

Comments

@chefnaphtha
Copy link

What version of Bun is running?

1.1.36+ededc168c

What platform is your computer?

Linux 6.11.7-arch1-1 x86_64 unknown

What steps can reproduce the bug?

await $`ssh-keygen -t rsa -b 4096 -f /path/to/key -q -N '' -C ''`

What is the expected behavior?

the exact same command, ssh-keygen -t rsa -b 4096 -f /path/to/key -q -N '' -C '' executed in any regular shell will generate a key WITHOUT a passphrase

What do you see instead?

the bun shell example generates a key WITH a passphrase, despite -N ''. this might be a ssh-keygen bug, sure, but it's still inconsistent with regular shells

Additional information

No response

@chefnaphtha chefnaphtha added bug Something isn't working needs triage labels Nov 22, 2024
@Jarred-Sumner Jarred-Sumner added shell Something to do with Bun as a shell and removed needs triage labels Nov 22, 2024
@chefnaphtha
Copy link
Author

chefnaphtha commented Nov 22, 2024

same behavior in node exec nevermind, node exec works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working shell Something to do with Bun as a shell
Projects
None yet
Development

No branches or pull requests

3 participants