Comments (6)
Hello!
The reason for accessing the OS keychain before the first login is that we didn't want users to go through the whole login process, and at the end get an error, which would force them to start over again from the beginning.
However, it should be possible to postpone the keychain access, save the local key encrypted using the master password in the DB, and display a warning instead of an error if the keychain is unreachable.
What are your opinions?
from dashlane-cli.
Oh ok, I'll have a deeper look then, thanks!
from dashlane-cli.
Hello,
At which step do you stop? There are multiple steps in the authentication process and the local password (stored in the keychain) is required quite early in the process to protect some secrets.
from dashlane-cli.
Hello @Mikescops,
I stopped after entering the mail. In the screenshot the account is test
which is not a valid email but it still creates a keychain password in that case.
? Please enter your email address: test
DashlaneApiError: Internal Error
at requestApi (/snapshot/dashlane-cli-master/dist/requestApi.js:79:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async registerDevice (/snapshot/dashlane-cli-master/dist/middleware/registerDevice.js:15:30)
at async getSecretsWithoutDB (/snapshot/dashlane-cli-master/dist/crypto/keychainManager.js:81:50)
at async connectAndPrepare (/snapshot/dashlane-cli-master/dist/database/connectAndPrepare.js:24:21)
at async Command.<anonymous> (/snapshot/dashlane-cli-master/dist/index.js:34:29)
at async Command.parseAsync (/snapshot/dashlane-cli-master/node_modules/commander/lib/command.js:917:5) {
code: 'internal_error',
type: 'server_error'
}
from dashlane-cli.
Looks good to me!
from dashlane-cli.
This issue should be fixed in next release.
from dashlane-cli.
Related Issues (20)
- Support access to vault operations in non-interactive environment
- --other tag not working HOT 1
- logout vs remove current device behavior HOT 1
- Restructure commands handling
- Human-readable date export option
- CSV export
- 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
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.