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

rustle publish hangs if --secret-file arg is a path #2

Open
sbillig opened this issue Nov 25, 2019 · 1 comment
Open

rustle publish hangs if --secret-file arg is a path #2

sbillig opened this issue Nov 25, 2019 · 1 comment

Comments

@sbillig
Copy link
Member

sbillig commented Nov 25, 2019

E.g.

./target/debug/rustle --secret-file ~/.ssb-rustle publish --dbpath /tmp/ssb-db.sqlite3 --offsetpath /tmp/ssb-db.offset --content '{"type":"post", "text": "rustle rustle rustle"}'

This hangs indefinitely; it should fail gracefully.

--secret-file ~/.ssb-rustle/secret works fine.

@llebout
Copy link

llebout commented Jan 18, 2020

Does not happen on Fedora 31 with Linux.

Error: ReadSecretFile { source: FileRead { path: "/home/user/.ssb-rustle", source: Os { code: 21, kind: Other, message: "Is a directory" } } }

I would file a bug against the std.

What platform are you on?

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