Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by blacs30

  1. With version 2.0.0 I have rewritten the complete workflow and added many new features. I've released version 2.0.3 now and updated the first post in this thread You can find the latest version on github https://github.com/blacs30/bitwarden-alfred-workflow/release
  2. If Alfred is allowed to send notifications you should set a confirmation notification like this (screenshot 1) You can also double check the keychain if items have been created there. Open the app "Keychain Access", search for "bitwarden", you should be able to see couple of entries, but at least the one for the email-address. Can you try to search for an item like "bw google", it could be that you also need to run "bwunlock", that is needed in case bitwarden cli unlock is run in the meantime. It is so that bitwarden then invalidates the previous generated session
  3. Also sorry to you @thomasSDK for my very very last reply. I will configure my notifications here on the forum. This error you showed looks heavily like this one https://stackoverflow.com/questions/53603246/strange-error-running-osascript-e-command-on-macos-mojave
  4. I'm sorry not to have answered before @Al30 . I think I messed up my notifications here from the forum. Do you still need help? For the logs it looked like that the setting for 2fa mode might have been wrong. I would ask you to try to login via cli in the terminal. If the cli asks you to choose an 2fa auth method (which only happens if multiple 2fa ways are setup) then you need to configure the method otherwise it's 0.
  5. @alexbet just for confirmation, are you using version 1.2.4? You can also find it here on Github https://github.com/blacs30/bitwarden-alfred-workflow/releases
  6. Hi @alexbet, thanks for the information. That is a strange behaviour. Can you please check the logs of the workflow (in the Alfred Preferences select the workflow and then enable the debug mode by clicking on the bug icon at the top right )
  7. @alexbet Thanks for reporting this issue. So the workflow doesn't ask you for the password for your bitwarden account, correct? Which macOS version do you run? Are you running Alfred 4 and have you upgraded it from version 3 or is it der first time you are using Alfred? Did you allow Alfred in the Accessibility settings (System Preferences > Security & Privacy > Privacy > Accessibility > add Alfred here) Currently there is a known issue for a clean Alfred 4 installation on macOS without having Alfred 3 installed before that. I didn't find time to fix it ye
  8. The workflow requires the Bitwarden CLI to be installed. You can find binaries here: https://github.com/bitwarden/cli/releases or you can use Homebrew to install it
  9. Which version is your bitwarden cli? With the latest version 1.7.4 it is still running.
  10. @andresm1126 I understand, I have it the same way. The bitwarden alfred workflow will ask you for the 2fa code (6 digits) - but for this you need to use the command `bwset2fa on` in Alfred. That will tell the workflow when you login via alfred to ask 1. for the password and then 2. for the 6 digit 2fa code. Screenshot attached, hope that helps.
  11. Hi @andresm1126 for 2fa please enable 2fa in the Alfred workflow with `bwset2fa on` In case you were already logged in in Alfred (which I think is not the case for you) logout first `bwlogout` and then login again with `bwlogin`
  12. Thanks @deanishe for pointing out this. There might be probably more odd in the code: https://github.com/blacs30/bitwarden-alfred-workflow/tree/master/workflow-main-scripts Feel free to either create an issue or pull request if you want. I am happy to be able to learn more as I am still quite unexperienced in Python.
  13. Glad it’s of help. Feel free to report issues here or on github for things you notice.
  14. Hi @springles, thanks for reporting this issue and fixing it. Version 1.2.2 supports spaces in passwords now. I've used shlex.split() and double quotes around the password. https://github.com/blacs30/bitwarden-alfred-workflow/releases/tag/1.2.2 def login(login_mail, mfa_enabled=None, mfa_method=None): [...] if not mfa_enabled: cmd = "/usr/local/bin/bw --raw login \"{login_mail}\" \"{password}\"".format(login_mail=login_mail.strip(), password=password.strip()) elif mfa_enabled and not mfa_method: mfa_code, err, status, mess
  15. Hi Andrey, oh, I am sorry. It could be now some issue with keychain. Can you please do the following: Check in the keychain if a session-key entry exist. And could you please also enable debug (the bug in the top right corner) in Alfred and post the result, shouldn't contain complete secrets. Thanks a lot. Edit: Please see version 1.2.1. I hope this fixes your issue. Thanks for your patience.
  16. Hi Andrey, I've just released version 1.2.0 which hopefully fixes that issue of yours. Can you please try that version and let me know if it works now? https://github.com/blacs30/bitwarden-alfred-workflow/releases/tag/1.2.0 Thanks!
  17. Thanks Andrey, that is indeed an issue in the code (which is currently still a mixture of old and new). I will look into it this week.
  18. Hi Andrey, could you send me a screenshot of the error please? Do you get a pop-up which asks you for the password? If not then it might be that Alfred 3 or Script Editor have to be allowed in the Accessibility settings. Regards Claas
  19. Bitwarden Alfred Workflow https://github.com/blacs30/bitwarden-alfred-workflow Features * Completely rewritten in go * fast secret / item search thanks to caching (no secrets are cached only the keys/names) * cache is encrypted * access to (almost) all object information via this workflow * download attachments via this workflow * show favicons of the websites * auto update * uses the [awgo](https://pkg.go.dev/github.com/deanishe/awgo?tab=doc) framework/library * many customizations possible Installation - Download t
  • Create New...