dashlane

From their README

logo-dark logo-light

made with heart by Benjamin Oddou saythanks Python 3+

Welcome to the Alfred Dashlane repository: An Alfred Workflow ✨

✅ Prerequisites

  • MacOS.
  • Alfred 5. Note that the Alfred Powerpack is required to use workflows.
  • A Dashlane account.
  • Requires python 3 or above.

🏎ī¸ Dashlane CLI

This workflow uses the Dashlane CLI provided by the Dashlane team.

This workflow doesn't hold or register any private data. No sensible data (password, OTP) are exposed directly to Alfred. If you want to know more on how data is stored on the computer, check this README.

This workflow doesn't allow to update or upload items to the Dashlane vault. You can't connect multiple accounts neither. This is a limitation of the Dashlane CLI for now.

âŦ‡ī¸ Installation

  1. Download the workflow
  2. Double click the .alfredworkflow file to install

🧰 Setup the workflow

Install Python 3 or above. Check your version with :

python --version

Install the Dashlane CLI binary using one of the two methods below.

  1. Using the following command in your Terminal :
curl -sSL https://raw.githubusercontent.com/BenjaminOddou/alfred-dashlane/main/install.sh | bash
  1. Manual installation instructions are available here

🧙‍♂ī¸ Invoke the workflow

There is 2 flows in this workflow :

  1. The first one allows you to display all the credentials in your Dashlane vault. It can be triggered by writing pdash keyword.
  2. The second one allows you to display your OTPs from you Dashlane vault. It can be triggered by writing odash keyword.

You can edit these triggers (flagged with a 🕹ī¸ symbol) in the user configuration panel.

🤖 Usage of the workflow

Setup variables

  1. 👤 Login correspond to your address mail link to your Dashlane account. It is required to start the workflow.

  2. đŸĢĨ Icognito mode allows you to hide partially your login (mail address / user name). If ticked :

incognito_yes

if unticked :

incognito_no

  1. đŸ”Ĩ Allow cache enables the workflow to save a backbone (no confidentital data are stored) of your Dashlane vault as JSON files under the alfred_workflow_cache folder (~/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.benjamino.dashlane). This speeds up the response time.

  2. 🎷 Notification sound allows you to personalize the sound of the workflow notification.

Get your one-time password (OTP) code by mail

Note that if you have enabled the two steps authetication for your Dashlane account, you can skip this section.

In order to connect to your Dashlane account, you'll need an OTP. If you haven't configure the two steps authentication on your Dashlane account, just hit enter to receive the 6 digits code by mail.

otp_mail

Sync your Dashlane account

❗ You need an internet connexion to complete this action.

Hit enter, input your master password and finally the OTP (provided via mail or by your 2FA app). If you are already connected you can press enter to refresh the data.

Note that a sync is already done once per hour by default - see Dashlane CLI docs.

You should have received a ✅ Success ! notification and a mail saying that the connection was successfull.

success_sync_notif

success_sync

Download favicons

❗ You need an internet connexion to complete this action.

Hit enter to download all favicons link to your accounts. Wait few seconds / minutes to receive the below notification. You can see icons under the alfred_workflow_cache folder (~/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.benjamino.dashlane).

notif_icons

Reset local data

If you want to log out and / or remove all local data holds by the Dashlane CLI, hit enter. Confirm your action by inputing yes to the alfred search bar.

confirm_delete

Manage connected devices

Remove access to devices connected to your vault. Press ⌘↩ī¸Ž on a device to remove it. You have the possibility to remove all devices (including current device) and other devices (excluding current device).

devices

Get passwords and OTPs

Use pdash / odash keyword to launch these flows.

Search a password / OTP by typing its title (custom name or website link to the credentials).

  1. Press ↩ī¸Ž to copy the password. You should see the below notification popping.
  2. Press ⌘↩ī¸Ž to copy the login (No Login means that you only register a password for this element).
  3. Press âŒĨ↩ī¸Ž to open the url (No URL means that no website is link to this credentials).
  4. Press ⇧↩ī¸Ž to inject credentials to frontmost application (it will print login + password separated by a â‡Ĩ)

⚖ī¸ License

MIT License Š Benjamin Oddou