Giter VIP home page Giter VIP logo

Comments (18)

trmartin4 avatar trmartin4 commented on August 30, 2024 7

@lbouriez we have verified that this issue will be resolved in the latest build of the CLI for our upcoming release.

from clients.

trmartin4 avatar trmartin4 commented on August 30, 2024 5

@dsmith73 @kmukherjee2005 the release that includes this fix is currently scheduled for this week. I apologize for the delay in my response.

from clients.

MaxKeller12 avatar MaxKeller12 commented on August 30, 2024 3

Same issue here:

bw unlock $myPassword --raw
bw unlock --passwordenv BW_PASSWORD

Both worked yesterday and now yield Invalid master password.

from clients.

andrew-azarov avatar andrew-azarov commented on August 30, 2024 3

2024.6.0 is working

from clients.

kmukherjee2005 avatar kmukherjee2005 commented on August 30, 2024 3

@trmartin4 Do you have a timeline on the next release of the CLI ?

from clients.

daniellbw avatar daniellbw commented on August 30, 2024 2

Hi there,

Thank you for your report!

I was able to reproduce this issue, and I have flagged this to our engineering team.

If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time - our engineering team will be happy to review these.

Thanks once again!

from clients.

iscrow avatar iscrow commented on August 30, 2024 2

Same issue on Ubuntu 20.04 LTS (snap install):

  • ⚠️ 2024.6.1 is not working
  • ✔️ 2024.6.0 is working (so a sudo snap revert bw fixes this, for now).

I can confirm this works. Just heads up for others: you must do bw logout first (if you're logged in) and login again or you still get the error if you are logged in from before the revert.

from clients.

dsmith73 avatar dsmith73 commented on August 30, 2024 2

Any update on the timeline for the fix?

I see that it's planned for an upcoming release, but I'd like to know "when" that release is expected to drop so that I know how many passwords we'll need to manually rotate.

from clients.

trmartin4 avatar trmartin4 commented on August 30, 2024 2

Hello,

Due to an unforeseen release preparation delay, we will not be releasing the new version of the CLI this week. It is currently scheduled for next week.

I apologize for the inconvenience and we appreciate your patience.

from clients.

lbouriez avatar lbouriez commented on August 30, 2024 1

I am having the same issue also in Windows using Chocolatey to install it.

from clients.

andrew-azarov avatar andrew-azarov commented on August 30, 2024

Confirmed here to, Unlock gives Invalid Master password error
But unable to rollback as this is first release installed...

bw downloaded from page for linux gives errors:

./bw help
/snapshot/clients/apps/cli/build/bw.js:37158
                state.accounts[userId].profile = diskAccount.profile;
                                                             ^

TypeError: Cannot read properties of null (reading 'profile')
    at StateService.<anonymous> (/snapshot/clients/apps/cli/build/bw.js:37158:62)
    at Generator.next (<anonymous>)
    at /snapshot/clients/apps/cli/build/bw.js:37066:71
    at new Promise (<anonymous>)
    at /snapshot/clients/apps/cli/build/bw.js:37062:12
    at /snapshot/clients/apps/cli/build/bw.js:37153:61
    at StateService.<anonymous> (/snapshot/clients/apps/cli/build/bw.js:37774:44)
    at Generator.next (<anonymous>)
    at /snapshot/clients/apps/cli/build/bw.js:37066:71
    at new Promise (<anonymous>)

Node.js v20.11.1

from clients.

andrew-azarov avatar andrew-azarov commented on August 30, 2024

The node one also gives errors.
/usr/local/lib/node_modules/@bitwarden/cli/build/bw.js --help
/usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:37158
state.accounts[userId].profile = diskAccount.profile;
^

TypeError: Cannot read properties of null (reading 'profile')
at StateService. (/usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:37158:62)
at Generator.next ()
at /usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:37066:71
at new Promise ()
at state_service_awaiter (/usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:37062:12)
at /usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:37153:61
at StateService. (/usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:37774:44)
at Generator.next ()
at /usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:37066:71
at new Promise ()

Node.js v20.15.0

from clients.

andrew-azarov avatar andrew-azarov commented on August 30, 2024

Ok the profile error can be circumvented by specifying variable BITWARDENCLI_APPDATA_DIR=~/.bw/

It still doesn't work and gives Invalid master password

from clients.

andrew-azarov avatar andrew-azarov commented on August 30, 2024

Versions 2024.6.1 and 2024.6.4 both not working for us.

Ubuntu 22.04

from clients.

roland-ewald avatar roland-ewald commented on August 30, 2024

Same issue on Ubuntu 20.04 LTS (snap install):

  • ⚠️ 2024.6.1 is not working
  • ✔️ 2024.6.0 is working (so a sudo snap revert bw fixes this, for now).

from clients.

gfsd3v avatar gfsd3v commented on August 30, 2024

Also happening for me on 2024.6.1

OS: NixOS 24.11 (Vicuna)
Kernel: 6.9.7-zen1

I can login on the web with the same password I'm getting an error on the CLI. It only happens for my company account (SSO required). I'm able to unlock my personal one.

from clients.

nilz-bilz avatar nilz-bilz commented on August 30, 2024

I faced an issue with the npm version on Fedora 40, Alpine 3.18, and Ubuntu 22.04. This issue was also faced while testing a script in a Docker container. The script required the Bitwarden CLI installed via npm, but it consistently denied the master password for multiple accounts in both US and EU regions.

The same master password worked just fine from the web vault.

from clients.

butterflywaltz avatar butterflywaltz commented on August 30, 2024

If one ever forgot to do 'bw logout' before upgrade/revert bw version, one can delete the data.json and then do a 'bw status' to populate a clean copy and login again to get the correct database. Works on Windows at least.

from clients.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.