News for hackers. Stuff that matters.
Re:1Password: Standalone / Local Vault Option Gone? by stouset on Friday July 12, 2019 @01:47AM (#20418545)
I took one look at BitWarden and, as a security person, ran the other way when I saw the CLI expects you to enter your password on the command line in order to operate it. This password gets exposed in your shell history, to anyone who can view a process list, etc.

If a company writing a security product can be this incompetent about something so basic, I don’t have any interest in gambling that the rest of their product is any better.

Re:1Password: Standalone / Local Vault Option Gone? by txcwpalpha on Friday July 12, 2019 @04:09AM (#20419113)
Did you actually try using the CLI tool, or did you only read the documentation? The documentation isn't super clear, but in actual usage your password (nor your email) doesn't get entered into shell history or otherwise.

You can pass your email and password as arguments to the "bw login [email] [password]" command, which will put them into your history, but the default way of typing "bw login" will then prompt you for them both, masking your password just like any other CLI tool does.

Re:1Password: Standalone / Local Vault Option Gone? by stouset on Friday July 12, 2019 @03:44PM (#20423778)
If if you can do this, the fact that the documentation encourages you to do otherwise is extremely worrisome. Securely-written tools shouldn't even allow you to do this in the first place, much less promote it.

https://help.bitwarden.com/article/cli/

Re:1Password: Standalone / Local Vault Option Gone? by krmbzds on Saturday July 13, 2019 @02:12AM (#20426747)
I don't think it's extremely worrisome. The arguments are in brackets a.k.a. they are optional. If a user doesn't know that they probably shouldn't be using the command line tool in the first place. Besides, if you run help on the cli tool the first example it suggests is "bw login" (without the arguments).
Re:1Password: Standalone / Local Vault Option Gone? by Fnoord on Friday July 12, 2019 @04:10AM (#20419116)
Regardless that this is one way to operate it (just like many CLI commands can also prompt for password) you're aware you can tell your shell to not save commands to its history?
Re:1Password: Standalone / Local Vault Option Gone? by xref on Friday July 12, 2019 @03:13AM (#20418880)
You mean the cli doesn’t prompt you to type the pwd separate from the cli command itself, akin to how Postgres ‘psql -p’ works?
Re:1Password: Standalone / Local Vault Option Gone? by stouset on Friday July 12, 2019 @03:43PM (#20423768)
According to the docs, all of the relevant commands accept the password as an argument to the binary itself.

https://help.bitwarden.com/article/cli/

Re:1Password: Standalone / Local Vault Option Gone? by krmbzds on Saturday July 13, 2019 @02:21AM (#20426778)
It does. In fact, when you --help in the cli tool the first example it suggests is to login with "bw login" command which is the default way.