Comments (2)
Hello,
Thanks for the suggestion, actually we already thought about it but there is a security constraints that prevents us to do so.
In fact, when using the keychain (on any of the OSes) the owner of the secrets is the process that created them, and when you use the npm package with node directly, node is the owner which means that any other node process can grab the secret from the keychain.
I believe that's a security issue, which we mitigate when the application is packaged in its own binary.
I'll leave the thread open because I agree that would be a nice to have.
from dashlane-cli.
So after reviewing this option again with the security team at Dashlane, we think that running the CLI with the nodejs process causes a risk when used with the keychain. As it is the default and most common behaviour, we won't publish on npmjs the resulting package.
On the other hand, we are going to provide a homebrew package (with compatibility on both macos and linux x64/arm64).
Hope this covers your use cases.
from dashlane-cli.
Related Issues (20)
- Support multiple accounts HOT 2
- Read secrets from their ID HOT 3
- Exec commands with templated environment variables
- Template files with secrets from the vault
- Cannot run CLI - Error:'MODULE_NOT_FOUND' HOT 2
- Retrieve otp from dcli read HOT 2
- CLI Error Message for B2B Customer HOT 1
- Can't login to the CLI HOT 2
- dcli password -o json displays selector instead of printing all logins HOT 4
- dcli --version and brew list dashlane-cli versions differ HOT 1
- Unable to reach OS keychain (Void Linux) HOT 1
- Email validation in `dcli sync` is too restrictive. HOT 3
- Error when running dcli HOT 2
- "The user must update to continue" on most recent version (Linux) HOT 4
- Clipboard does not work on Wayland / Sway HOT 3
- Not working on macOS since update HOT 6
- How to add secret with dcli to the vault? HOT 3
- Feedback for โInstallโ HOT 1
- Brew install fails if corepack is install via brew HOT 2
- Password JSON output is cut off when using CLI with Nodejs HOT 4
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 dashlane-cli.