Jump to content

Bitwarden CLI - Get passwords, username, TOTP and more from Bitwarden


Recommended Posts

Hey, I cannot get the .bwauto to run, would like to sync new items twice a day. 

 

My AUTOSYNC_TIMES value is "8:15,23:45"

 

AUTO_HOUR = 0

AUTO_MIN = 0

 

 

I'm getting this error: "Could not install service, check logfiles for details"

 

Where do I see the logs and how can I set it up to run correctly?

Edited by prynn
Link to comment
18 hours ago, prynn said:

Hey, I cannot get the .bwauto to run, would like to sync new items twice a day. 

 

My AUTOSYNC_TIMES value is "8:15,23:45"

 

AUTO_HOUR = 0

AUTO_MIN = 0

 

 

I'm getting this error: "Could not install service, check logfiles for details"

 

Where do I see the logs and how can I set it up to run correctly?

 

You can see the output best in the debug mode of the Alfred workflow. Click on the bug icon at the top right for it.

Have you checked these steps https://github.com/deanishe/awgo/wiki/Catalina not sure if they are relevant for this step.

 

Could you please update to the latest version as well. The command changed to .bitauto

Link to comment
  • 3 months later...

 

@blacs30

 

Having trouble with Macbook Pro 2021 (M1) with Mac OS X Monterey with latest updates.

I can successfully log in by using `.bitauth login`, but even after a successful login (Mac Notification window will show up saying "Bitwarden v2. Logged in"), everytime I enter ".bw", it shortly tries to sync data but will ask me to login again.


I have done
- brew install bitwarden-cli
- brew update

- brew upgrade

- softwareupdate --all --install --force
- installed xcode

- added "alfred 4" under Security & Privacy > Privacy > Developer Tools, as well as Accessibility
- .bitconfig workflow:update

- Tried various 2FA methods by changing 2FA_MODE from 0 to 1~4, but Email or Titan Security Key didn't work. After several login attempts, and digging for troubleshootings, I've given up.

 

Not sure whatelse to try. Screencasting here - https://www.loom.com/share/a262addab47d46a9b968b55c39629660
 

Any suggestions?
Thanks.
 

 

[13:53:37.243] Logging Started...

[13:53:46.189] Bitwarden v2[Script Filter] Queuing argument 'login'

[13:53:46.325] Bitwarden v2[Script Filter] Script with argv 'login' finished

[13:53:46.326] STDERR: Bitwarden v2[Script Filter] 🍺

13:53:46 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:53:46 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:true, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"login", Attachment:"", Output:""}

13:53:46 main.go:145: args=[]string{"-auth", "--", "login"} => []string{"login"}

13:53:46 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:53:46 cli.go:305: filtering auth config "login" ...

13:53:46 feedback.go:509: Sent 1 result(s) to Alfred

13:53:46 workflow.go:405: ------------------ 16.034792ms -------------------

[13:53:46.345] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "1C0SYXKBC56IR9MN17YMHJ5H"

  },

  "items": [

    {

      "title": "Login to Bitwarden",

      "subtitle": "↩ or ⇥ to login now",

      "uid": "login",

      "valid": true,

      "icon": {

        "path": "icons/on.png"

      },

      "variables": {

        "action": "-login",

        "email": "{MASKED}@gmail.com",

        "mapsfamode": "Authenticator-app",

        "sfamode": "0",

        "type": "login"

      }

    }

  ]

}

[13:53:49.739] Bitwarden v2[Script Filter] Queuing argument '(null)'

[13:53:49.940] Bitwarden v2[Script Filter] Queuing argument '(null)'

[13:53:49.953] Bitwarden v2[Script Filter] Script with argv '(null)' finished

[13:53:49.955] STDERR: Bitwarden v2[Script Filter] 🍺

13:53:49 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:53:49 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:53:49 main.go:145: args=[]string{} => []string{}

13:53:49 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:53:49 icons.go:79: progress: current=0, next=1

13:53:49 feedback.go:509: Sent 1 result(s) to Alfred

13:53:49 cli.go:560: Sync job already running.

13:53:49 icons.go:79: progress: current=0, next=1

13:53:49 feedback.go:499: Feedback already sent. Ignoring.

13:53:49 workflow.go:405: ------------------- 874.416µs -------------------

[13:53:49.956] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "NQUIJHDRR7MKQ5OJYRD3T4ZM",

    "RELOAD_PROGRESS": "1"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading.png"

      }

    }

  ]

}

[13:53:50.252] Bitwarden v2[Script Filter] Queuing argument ''

[13:53:50.276] Bitwarden v2[Script Filter] Script with argv '' finished

[13:53:50.277] STDERR: Bitwarden v2[Script Filter] 🍺

13:53:50 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:53:50 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:53:50 main.go:145: args=[]string{} => []string{}

13:53:50 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:53:50 icons.go:79: progress: current=1, next=2

13:53:50 feedback.go:509: Sent 1 result(s) to Alfred

13:53:50 cli.go:560: Sync job already running.

13:53:50 icons.go:79: progress: current=1, next=2

13:53:50 feedback.go:499: Feedback already sent. Ignoring.

13:53:50 workflow.go:405: ------------------- 1.463458ms -------------------

[13:53:50.279] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "NQUIJHDRR7MKQ5OJYRD3T4ZM",

    "RELOAD_PROGRESS": "2"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading-15.png"

      }

    }

  ]

}

[13:53:50.582] Bitwarden v2[Script Filter] Queuing argument ''

[13:53:50.664] Bitwarden v2[Script Filter] Script with argv '' finished

[13:53:50.666] STDERR: Bitwarden v2[Script Filter] 🍺

13:53:50 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:53:50 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:53:50 main.go:145: args=[]string{} => []string{}

13:53:50 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:53:50 icons.go:79: progress: current=2, next=0

13:53:50 feedback.go:509: Sent 1 result(s) to Alfred

13:53:50 cli.go:560: Sync job already running.

13:53:50 icons.go:79: progress: current=2, next=0

13:53:50 feedback.go:499: Feedback already sent. Ignoring.

13:53:50 workflow.go:405: ------------------- 2.994792ms -------------------

[13:53:50.668] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "NQUIJHDRR7MKQ5OJYRD3T4ZM",

    "RELOAD_PROGRESS": "0"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading-30.png"

      }

    }

  ]

}

[13:53:50.962] Bitwarden v2[Script Filter] Queuing argument ''

[13:53:51.037] Bitwarden v2[Script Filter] Script with argv '' finished

[13:53:51.038] STDERR: Bitwarden v2[Script Filter] 🍺

13:53:50 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:53:50 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:53:50 main.go:145: args=[]string{} => []string{}

13:53:50 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:53:50 icons.go:79: progress: current=0, next=1

13:53:50 feedback.go:509: Sent 1 result(s) to Alfred

13:53:50 cli.go:560: Sync job already running.

13:53:50 icons.go:79: progress: current=0, next=1

13:53:50 feedback.go:499: Feedback already sent. Ignoring.

13:53:50 workflow.go:405: ------------------- 812.25µs --------------------

[13:53:51.042] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "NQUIJHDRR7MKQ5OJYRD3T4ZM",

    "RELOAD_PROGRESS": "1"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading.png"

      }

    }

  ]

}

[13:53:51.336] Bitwarden v2[Script Filter] Queuing argument ''

[13:53:51.412] Bitwarden v2[Script Filter] Script with argv '' finished

[13:53:51.418] STDERR: Bitwarden v2[Script Filter] 🍺

13:53:51 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:53:51 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:53:51 main.go:145: args=[]string{} => []string{}

13:53:51 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:53:51 icons.go:79: progress: current=1, next=2

13:53:51 feedback.go:509: Sent 1 result(s) to Alfred

13:53:51 cli.go:560: Sync job already running.

13:53:51 icons.go:79: progress: current=1, next=2

13:53:51 feedback.go:499: Feedback already sent. Ignoring.

13:53:51 workflow.go:405: --------------------- 921µs ---------------------

[13:53:51.419] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "NQUIJHDRR7MKQ5OJYRD3T4ZM",

    "RELOAD_PROGRESS": "2"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading-15.png"

      }

    }

  ]

}

[13:53:51.711] Bitwarden v2[Script Filter] Queuing argument ''

[13:53:51.787] Bitwarden v2[Script Filter] Script with argv '' finished

[13:53:51.791] STDERR: Bitwarden v2[Script Filter] 🍺

13:53:51 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:53:51 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:53:51 main.go:145: args=[]string{} => []string{}

13:53:51 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:53:51 icons.go:79: progress: current=2, next=0

13:53:51 feedback.go:509: Sent 1 result(s) to Alfred

13:53:51 cli.go:560: Sync job already running.

13:53:51 icons.go:79: progress: current=2, next=0

13:53:51 feedback.go:499: Feedback already sent. Ignoring.

13:53:51 workflow.go:405: ------------------- 884.042µs -------------------

[13:53:51.793] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "NQUIJHDRR7MKQ5OJYRD3T4ZM",

    "RELOAD_PROGRESS": "0"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading-30.png"

      }

    }

  ]

}

[13:53:51.954] Bitwarden v2[Script Filter] Queuing argument 'login'

[13:53:52.038] Bitwarden v2[Script Filter] Script with argv 'login' finished

[13:53:52.044] STDERR: Bitwarden v2[Script Filter] 🍺

13:53:51 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:53:51 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:true, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"login", Attachment:"", Output:""}

13:53:51 main.go:145: args=[]string{"-auth", "--", "login"} => []string{"login"}

13:53:51 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:53:51 cli.go:305: filtering auth config "login" ...

13:53:51 feedback.go:509: Sent 1 result(s) to Alfred

13:53:51 workflow.go:405: ------------------- 2.123834ms -------------------

[13:53:52.045] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "5ZWB0LTG20MWJSO1HKOFO0JC"

  },

  "items": [

    {

      "title": "Login to Bitwarden",

      "subtitle": "↩ or ⇥ to login now",

      "uid": "login",

      "valid": true,

      "icon": {

        "path": "icons/on.png"

      },

      "variables": {

        "action": "-login",

        "email": "{email@email.com}",

        "mapsfamode": "Authenticator-app",

        "sfamode": "0",

        "type": "login"

      }

    }

  ]

}

[13:53:54.741] Bitwarden v2[Script Filter] Processing complete

[13:53:54.747] Bitwarden v2[Script Filter] Passing output '' to Conditional

[13:53:54.747] Bitwarden v2[Conditional] Processing complete

[13:53:54.748] Bitwarden v2[Conditional] Passing output '' to Run Script

[13:54:07.538] Bitwarden v2[Run Script] Processing complete

[13:54:07.545] Bitwarden v2[Run Script] Passing output 'Logged in.

' to Post Notification

[13:54:15.030] Bitwarden v2[Script Filter] Queuing argument 'login'

[13:54:15.134] Bitwarden v2[Script Filter] Script with argv 'login' finished

[13:54:15.143] STDERR: Bitwarden v2[Script Filter] 🍺

13:54:15 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:54:15 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:true, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"login", Attachment:"", Output:""}

13:54:15 main.go:145: args=[]string{"-auth", "--", "login"} => []string{"login"}

13:54:15 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:54:15 cli.go:305: filtering auth config "login" ...

13:54:15 feedback.go:509: Sent 1 result(s) to Alfred

13:54:15 workflow.go:405: ------------------ 10.711875ms -------------------

[13:54:15.145] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "LVFNHT5202JBOS2DHFPZBQJ3"

  },

  "items": [

    {

      "title": "Login to Bitwarden",

      "subtitle": "↩ or ⇥ to login now",

      "uid": "login",

      "valid": true,

      "icon": {

        "path": "icons/on.png"

      },

      "variables": {

        "action": "-login",

        "email": "{MASKED}@gmail.com",

        "mapsfamode": "Authenticator-app",

        "sfamode": "0",

        "type": "login"

      }

    }

  ]

}

[13:54:17.951] Bitwarden v2[Script Filter] Queuing argument '(null)'

[13:54:18.133] Bitwarden v2[Script Filter] Queuing argument '(null)'

[13:54:18.151] Bitwarden v2[Script Filter] Script with argv '(null)' finished

[13:54:18.153] STDERR: Bitwarden v2[Script Filter] 🍺

13:54:18 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:54:18 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:54:18 main.go:145: args=[]string{} => []string{}

13:54:18 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:54:18 icons.go:79: progress: current=0, next=1

13:54:18 feedback.go:509: Sent 1 result(s) to Alfred

13:54:18 cli.go:560: Sync job already running.

13:54:18 icons.go:79: progress: current=0, next=1

13:54:18 feedback.go:499: Feedback already sent. Ignoring.

13:54:18 workflow.go:405: ------------------- 868.791µs -------------------

[13:54:18.156] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "81KTDY62ZSYHFLWIUZFPNICL",

    "RELOAD_PROGRESS": "1"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading.png"

      }

    }

  ]

}

[13:54:18.455] Bitwarden v2[Script Filter] Queuing argument ''

[13:54:18.532] Bitwarden v2[Script Filter] Script with argv '' finished

[13:54:18.538] STDERR: Bitwarden v2[Script Filter] 🍺

13:54:18 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:54:18 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:54:18 main.go:145: args=[]string{} => []string{}

13:54:18 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:54:18 icons.go:79: progress: current=1, next=2

13:54:18 feedback.go:509: Sent 1 result(s) to Alfred

13:54:18 cli.go:560: Sync job already running.

13:54:18 icons.go:79: progress: current=1, next=2

13:54:18 feedback.go:499: Feedback already sent. Ignoring.

13:54:18 workflow.go:405: ------------------- 804.792µs -------------------

[13:54:18.539] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "81KTDY62ZSYHFLWIUZFPNICL",

    "RELOAD_PROGRESS": "2"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading-15.png"

      }

    }

  ]

}

[13:54:18.837] Bitwarden v2[Script Filter] Queuing argument ''

[13:54:18.854] Bitwarden v2[Script Filter] Script with argv '' finished

[13:54:18.858] STDERR: Bitwarden v2[Script Filter] 🍺

13:54:18 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:54:18 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:54:18 main.go:145: args=[]string{} => []string{}

13:54:18 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:54:18 icons.go:79: progress: current=2, next=0

13:54:18 feedback.go:509: Sent 1 result(s) to Alfred

13:54:18 cli.go:560: Sync job already running.

13:54:18 icons.go:79: progress: current=2, next=0

13:54:18 feedback.go:499: Feedback already sent. Ignoring.

13:54:18 workflow.go:405: ------------------- 1.003167ms -------------------

[13:54:18.860] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "81KTDY62ZSYHFLWIUZFPNICL",

    "RELOAD_PROGRESS": "0"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading-30.png"

      }

    }

  ]

}

[13:54:19.154] Bitwarden v2[Script Filter] Queuing argument ''

[13:54:19.165] Bitwarden v2[Script Filter] Script with argv '' finished

[13:54:19.168] STDERR: Bitwarden v2[Script Filter] 🍺

13:54:19 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:54:19 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:54:19 main.go:145: args=[]string{} => []string{}

13:54:19 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{email@email.com}",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:54:19 icons.go:79: progress: current=0, next=1

13:54:19 feedback.go:509: Sent 1 result(s) to Alfred

13:54:19 cli.go:560: Sync job already running.

13:54:19 icons.go:79: progress: current=0, next=1

13:54:19 feedback.go:499: Feedback already sent. Ignoring.

13:54:19 workflow.go:405: ------------------- 805.583µs -------------------

[13:54:19.170] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "81KTDY62ZSYHFLWIUZFPNICL",

    "RELOAD_PROGRESS": "1"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading.png"

      }

    }

  ]

}

[13:54:19.465] Bitwarden v2[Script Filter] Queuing argument ''

[13:54:19.542] Bitwarden v2[Script Filter] Script with argv '' finished

[13:54:19.547] STDERR: Bitwarden v2[Script Filter] 🍺

13:54:19 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:54:19 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:54:19 main.go:145: args=[]string{} => []string{}

13:54:19 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:54:19 icons.go:79: progress: current=1, next=2

13:54:19 feedback.go:509: Sent 1 result(s) to Alfred

13:54:19 cli.go:560: Sync job already running.

13:54:19 icons.go:79: progress: current=1, next=2

13:54:19 feedback.go:499: Feedback already sent. Ignoring.

13:54:19 workflow.go:405: ------------------- 915.666µs -------------------

[13:54:19.548] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "81KTDY62ZSYHFLWIUZFPNICL",

    "RELOAD_PROGRESS": "2"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading-15.png"

      }

    }

  ]

}

[13:54:19.847] Bitwarden v2[Script Filter] Queuing argument ''

[13:54:19.932] Bitwarden v2[Script Filter] Script with argv '' finished

[13:54:19.939] STDERR: Bitwarden v2[Script Filter] 🍺

13:54:19 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:54:19 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}

13:54:19 main.go:145: args=[]string{} => []string{}

13:54:19 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:54:19 icons.go:79: progress: current=2, next=0

13:54:19 feedback.go:509: Sent 1 result(s) to Alfred

13:54:19 cli.go:560: Sync job already running.

13:54:19 icons.go:79: progress: current=2, next=0

13:54:19 feedback.go:499: Feedback already sent. Ignoring.

13:54:19 workflow.go:405: ------------------- 951.709µs -------------------

[13:54:19.940] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "81KTDY62ZSYHFLWIUZFPNICL",

    "RELOAD_PROGRESS": "0"

  },

  "rerun": 0.3,

  "items": [

    {

      "title": "Syncing Bitwarden secrets…",

      "valid": false,

      "icon": {

        "path": "icons/loading-30.png"

      }

    }

  ]

}

[13:54:20.155] Bitwarden v2[Script Filter] Queuing argument 'login'

[13:54:20.170] Bitwarden v2[Script Filter] Script with argv 'login' finished

[13:54:20.175] STDERR: Bitwarden v2[Script Filter] 🍺

13:54:20 workflow.go:328: -------- Bitwarden v2/2.4.0 (AwGo/0.27.1) --------

13:54:20 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:true, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"login", Attachment:"", Output:""}

13:54:20 main.go:145: args=[]string{"-auth", "--", "login"} => []string{"login"}

13:54:20 main.go:146: (main.config) {

AutoFetchIconCacheAge: (int) 1440,

AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,

BwconfKeyword: (string) (len=10) ".bitconfig",

BwauthKeyword: (string) (len=8) ".bitauth",

BwKeyword: (string) (len=3) ".bw",

BwfKeyword: (string) (len=5) ".bitf",

BwExec: (string) (len=2) "bw",

BwDataPath: (string) "",

Debug: (bool) false,

Email: (string) (len=17) "{MASKED}@gmail.com",

EmptyDetailResults: (bool) false,

IconCacheAge: (int) 43200,

IconCacheEnabled: (bool) true,

IconMaxCacheAge: (time.Duration) 720h0m0s,

MaxResults: (int) 1000,

Mod1: (string) (len=3) "alt",

Mod1Action: (string) (len=13) "username,code",

Mod2: (string) (len=5) "shift",

Mod2Action: (string) (len=3) "url",

Mod3: (string) (len=4) "ctrl",

Mod3Action: (string) (len=4) "totp",

Mod4: (string) (len=7) "cmd,opt",

Mod4Action: (string) (len=4) "more",

NoModAction: (string) (len=13) "password,card",

OutputFolder: (string) (len=21) "/Users/mba/Downloads/",

Path: (string) (len=83) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin",

ReorderingDisabled: (bool) true,

Server: (string) "",

Sfa: (bool) true,

SfaMode: (int) 0,

SyncCacheAge: (int) 10080,

SyncMaxCacheAge: (time.Duration) 168h0m0s,

TitleWithUser: (bool) true,

TitleWithUrls: (bool) true

}

13:54:20 cli.go:305: filtering auth config "login" ...

13:54:20 feedback.go:509: Sent 1 result(s) to Alfred

13:54:20 workflow.go:405: ------------------- 2.275834ms -------------------

[13:54:20.177] Bitwarden v2[Script Filter] {

  "variables": {

    "AW_SESSION_ID": "NDSHCRA1ATZU2S2V3B3UT9ZL"

  },

  "items": [

    {

      "title": "Login to Bitwarden",

      "subtitle": "↩ or ⇥ to login now",

      "uid": "login",

      "valid": true,

      "icon": {

        "path": "icons/on.png"

      },

      "variables": {

        "action": "-login",

        "email": "{MASKED}@gmail.com",

        "mapsfamode": "Authenticator-app",

        "sfamode": "0",

        "type": "login"

      }

    }

  ]

}

Edited by dhahn
Link to comment

@dhahn

Thanks for reporting the issue here (https://github.com/blacs30/bitwarden-alfred-workflow/ would be also a good place alternatively).

Could you please do the following 2 things and let me know the result of it:

1. In the keychain access app can you please search for items which have this name "com.lisowski-development.alfred.bitwarden - the result should be 2, one with account name token and the other encryptPassword

2. could you please try to login in the terminal to bitwarden via the bitwarden cli to verify that this works.

 

I haven't tested this workflow with macOS 12 yet. If others have good or bad experience with this workflow on macOS 12 it would be great to know.

 

Edited by blacs30
Link to comment
  • 2 weeks later...
  • 3 weeks later...
On 4/13/2021 at 8:06 AM, deanishe said:

 

Disable "Alfred filters results" on the main Script Filter, and the workflow uses fuzzy filtering instead of Alfred's word-starts-with filtering.

 

 

So I just purchased the Powerpack for Alfred, one reason being this workflow! Very nice and it works great. I just have one issue with the above. If I enable Alfred's filtering, it's too strict. But if I disable it and use the fuzzy filtering, it's wayyy too loose. In the Safari browser extension and Mac app the search results are exactly what I would like to see in this workflow as well. Is there any way to achieve that? Thanks!!

Link to comment
17 hours ago, deanishe said:

 

Probably, but not particularly easily. I think you'd have to write your own shim script that sits between the workflow binary and Alfred, and implements filtering the way you want.

 

That sounds too difficult for my limited programming knowledge unfortunately. Is there no easier way? It seems Alfred uses a 'starts with string' filtering and I just want to have a 'contains string' filtering.

Link to comment
On 12/7/2021 at 11:29 AM, blacs30 said:

@dhahn

Thanks for reporting the issue here (https://github.com/blacs30/bitwarden-alfred-workflow/ would be also a good place alternatively).

Could you please do the following 2 things and let me know the result of it:

1. In the keychain access app can you please search for items which have this name "com.lisowski-development.alfred.bitwarden - the result should be 2, one with account name token and the other encryptPassword

2. could you please try to login in the terminal to bitwarden via the bitwarden cli to verify that this works.

 

I haven't tested this workflow with macOS 12 yet. If others have good or bad experience with this workflow on macOS 12 it would be great to know.

 


I found only 1 entry. Is there a way to completely uninstall and and try again fresh?
 

Keychain_Access_and_Bitwarden_CLI_-_Get_passwords__username__TOTP_and_more_from_Bitwarden_-_Page_4_-_Share_your_Workflows_-_Alfred_App_Community_Forum_and_Spark_-_mr_hahn_gmail_com_and_Which_Split_is_Easier__Front_Split_vs_Side_Split_–_Jour.jpg

Link to comment
On 1/15/2022 at 2:17 AM, dhahn said:


I found only 1 entry. Is there a way to completely uninstall and and try again fresh?
 

Keychain_Access_and_Bitwarden_CLI_-_Get_passwords__username__TOTP_and_more_from_Bitwarden_-_Page_4_-_Share_your_Workflows_-_Alfred_App_Community_Forum_and_Spark_-_mr_hahn_gmail_com_and_Which_Split_is_Easier__Front_Split_vs_Side_Split_–_Jour.jpg

 

Others seem to run the workflow fine on macOS 12.

- Please update to the latest workflow if you haven't already (https://github.com/blacs30/bitwarden-alfred-workflow/releases/tag/2.4.1)

- remove the one entry in keychain access

 

- use the Bitwarden CLI in the terminal to check that the login works fine (try OTP or email as second factor first)

- then try to use the Alfred Bitwarden again 

Link to comment
  • 4 weeks later...

 

Hello all, has anyone had this issue logging into Bitwarden using this workflow? I have 2FA configured, and the workflow requests my 2FA code. However, no matter how many times I try, I get this error:
 

Quote

 

Error: sh: /usr/local/bin/: is a directory

Token not found.

 

 

Here's Alfred's debugging output, if relevant:
 

Quote

[10:05:02.367] Logging Started...
[10:05:05.047] Logging Stopped.
[10:25:47.551] Logging Started...
[10:25:53.139] Bitwarden v2[Script Filter] Queuing argument '(null)'
[10:25:53.232] Bitwarden v2[Script Filter] Script with argv '(null)' finished
[10:25:53.234] STDERR: Bitwarden v2[Script Filter] 🍺
10:25:53 workflow.go:328: -------- Bitwarden v2/2.4.1 (AwGo/0.27.1) --------
10:25:53 main.go:143: &main.options{Search:false, Config:false, SetConfigs:false, Auth:false, Sfa:false, Lock:false, Icons:false, Folder:false, Unlock:false, Login:false, Logout:false, Sync:false, Open:false, GetItem:false, Force:false, Totp:false, Last:false, Background:false, Id:"", Query:"", Attachment:"", Output:""}
10:25:53 main.go:145: args=[]string{} => []string{}
10:25:53 main.go:146: (main.config) {
 AutoFetchIconCacheAge: (int) 1440,
 AutoFetchIconMaxCacheAge: (time.Duration) 24h0m0s,
 BwconfKeyword: (string) (len=9) ".bwconfig",
 BwauthKeyword: (string) (len=7) ".bwauth",
 BwKeyword: (string) (len=3) ".bw",
 BwfKeyword: (string) (len=4) ".bwf",
 BwExec: (string) (len=2) "bw",
 BwDataPath: (string) "",
 Debug: (bool) false,
 Email: (string) (len=21) "redacted",
 EmptyDetailResults: (bool) false,
 IconCacheAge: (int) 43200,
 IconCacheEnabled: (bool) true,
 IconMaxCacheAge: (time.Duration) 720h0m0s,
 MaxResults: (int) 1000,
 Mod1: (string) (len=3) "alt",
 Mod1Action: (string) (len=13) "username,code",
 Mod2: (string) (len=5) "shift",
 Mod2Action: (string) (len=3) "url",
 Mod3: (string) (len=4) "ctrl",
 Mod3Action: (string) (len=4) "totp",
 Mod4: (string) (len=7) "cmd,opt",
 Mod4Action: (string) (len=4) "more",
 NoModAction: (string) (len=13) "password,card",
 OutputFolder: (string) (len=29) "/Users/username/Downloads/",
 Path: (string) (len=99) "/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin;/usr/local/bin/",
 ReorderingDisabled: (bool) true,
 Server: (string) "",
 Sfa: (bool) true,
 SfaMode: (int) 0,
 SyncCacheAge: (int) 10080,
 SyncMaxCacheAge: (time.Duration) 168h0m0s,
 TitleWithUser: (bool) true,
 TitleWithUrls: (bool) true
}
10:25:53 feedback.go:509: Sent 3 result(s) to Alfred
10:25:53 workflow.go:405: ------------------ 34.327708ms -------------------
[10:25:53.261] Bitwarden v2[Script Filter] {
  "variables": {
    "AW_SESSION_ID": "FVM5CHTY8IAFRZYH9DSUYEGK"
  },
  "items": [
    {
      "title": "Not logged in to Bitwarden.",
      "subtitle": "Need to login first.",
      "valid": false,
      "icon": {
        "path": "icons/warning.png"
      }
    },
    {
      "title": "Login to Bitwarden",
      "subtitle": "↩ or ⇥ to login now",
      "valid": true,
      "icon": {
        "path": "icons/on.png"
      },
      "variables": {
        "action": "-login",
        "email": "redacted",
        "mapsfamode": "Authenticator-app",
        "sfamode": "0",
        "type": "login"
      }
    },
    {
      "title": "Cache expired/not existing. Need to run a sync.",
      "subtitle": "Sync Bitwarden secrets with server.",
      "arg": "-background",
      "valid": true,
      "icon": {
        "path": "icons/reload.png"
      },
      "variables": {
        "action": "-sync",
        "action2": "-force",
        "notification": "Syncing Bitwarden secrets"
      }
    }
  ]
}
[10:25:55.050] Bitwarden v2[Script Filter] Processing complete
[10:25:55.053] Bitwarden v2[Script Filter] Passing output '' to Conditional
[10:25:55.055] Bitwarden v2[Conditional] Processing complete
[10:25:55.055] Bitwarden v2[Conditional] Passing output '' to Run Script
[10:26:42.344] STDERR: Bitwarden v2[Run Script] Error: sh: /usr/local/bin/: is a directory
Token not found.
[10:26:42.348] Bitwarden v2[Run Script] Processing complete
[10:26:42.348] Bitwarden v2[Run Script] Passing output 'Error: sh: /usr/local/bin/: is a directory
Token not found.
' to Post Notification

 

Thanks advance or any clues!

Screenshot 2022-02-14 at 10.18.27.png

Link to comment
39 minutes ago, bargepole said:

 

Hello all, has anyone had this issue logging into Bitwarden using this workflow? I have 2FA configured, and the workflow requests my 2FA code. However, no matter how many times I try, I get this error:
 

 

Here's Alfred's debugging output, if relevant:
 

 

Thanks advance or any clues!

Screenshot 2022-02-14 at 10.18.27.png

 

@bargepole,

that is a strange error, I don't see that it's coming directly from the workflow Golang/js code.
Does the bw cli work fine from the terminal?

If yes could you try and take the PATH env var content from the terminal and set the Path workflow var to the same value?

Link to comment

 

@blacs30 thanks so much for the rapid response! Well, that's embarrassing. I repeated the Path Configuration step, and realised I had added my path with a semicolon (not a colon, as stated). It works now! Thank you for the very helpful workflow.

 

I wonder though, given that my path is "/usr/local/bin/" and that the default PATH value was as follows, perhaps this was a redundant step for me (as it includes "/usr/local/bin/")?

 

/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin

 

 

 

Link to comment
1 minute ago, bargepole said:

 

@blacs30 thanks so much for the rapid response! Well, that's embarrassing. I repeated the Path Configuration step, and realised I had added my path with a semicolon (not a colon, as stated). It works now! Thank you for the very helpful workflow.

 

I wonder though, given that my path is "/usr/local/bin/" and that the default PATH value was as follows, perhaps this was a redundant step for me (as it includes "/usr/local/bin/")?

 

/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/usr/sbin

 

 

 

Good to hear it's working now. Actually that is an improvement that could be maybe implemented to support both, comma and semicolon separated path. It would avoid problems like this.
 

Regarding the redundant step.. it could be, but I think node also needs to be in the path for the typical bitwarden cli installation..  so I'm not absolutely sure in this case.

Link to comment
4 hours ago, bargepole said:

I wonder though, given that my path is "/usr/local/bin/" and that the default PATH value was as follows, perhaps this was a redundant step for me (as it includes "/usr/local/bin/")?

 

The default PATH does not include /usr/local/bin

 

I assume you're talking about your shell's PATH. That only applies in your shell (and programs you execute directly from it).

 

Your macOS user session doesn't care about your shell's environment, and neither do Mac applications.

 

The default PATH, as used by Alfred and all other Mac apps, is /bin:/usr/bin:/sbin:/usr/sbin (or something similar — I'm writing from memory).

Link to comment
  • 3 weeks later...

@jpizzle Thanks for pointing this out. The text doesn't match the behavior.

Currently it's hard coded to open the url. I can make the action configurable, that makes sense I think.

As a workaround you could clone the repo, update this line https://github.com/blacs30/bitwarden-alfred-workflow/blob/master/src/config.go#L400 from "-open" to "output".

Then compile the code again with `make build universal-binary` and replace the existing binary with the new compiled one.

Link to comment

@blacs30 Got it. Man, appreciate your quick reply and help. Would be great if that action is configurable on the next release but it's not a high use case feature I guess. I'll keep an eye out in the next release and if it becomes urgent for me, I'll clone and compile locally. 

 

Also, I just updated from v2.2.2 to v2.4.2 and while I'm using fuzzy filtering on both versions, after the update the fuzzy filtering seems to be drastically worse. i.e. prior to update, searching for Groupon would populate all the Groupon.com results at the top whereas post update maybe one would be at the top while another Groupon item would be like the 7th result. 

 

I'm using fuzzy filtering bc I want to be able to populate results that contain rather than starts with my keyword.

 

I don't understand why fuzzy filtering results are worse now. Do you have any idea why and if it's fixable or possible to improve?

 

I set the env variable REORDERING_DISABLED to false to cache most used items (as a workaround) but I didn't have this set to false prior to updating.

 

Thanks!

 

 

Link to comment
On 3/9/2022 at 2:12 AM, jpizzle said:

@blacs30 thanks, saw your update in release 2.4.3!

 

@deanishe any idea why fuzzy filtering is drastically worse in 2.4.x versions as opposed to 2.2.x and how it can be improved? 

Have you looked that this page https://github.com/blacs30/bitwarden-alfred-workflow/#search---filtermode

Does it change if you try between those 2 modes?
In the end I agree with you the search, specially for Bitwarden, is not even close as good as in the Browser plugin (which btw. I haven't used and not even installed for months.)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...