Coder Social home page Coder Social logo

Comments (4)

Oxalin avatar Oxalin commented on August 11, 2024

There is something wrong the extension interacts with the app for locking and unlocking vaults. I discovered by running a few more tests that requesting to unlock a vault from the extension will properly pop up the Vault Unlock field, but even with a good password, an error will be thrown stating the unlocking source is in an invalid state (pending).

However, the vault is properly unlocked (green dot on tab and entries are visible), even though the Vault Unlock stays visible. And the extension will be able to access the vault's entries.

image

from buttercup-desktop.

perry-mitchell avatar perry-mitchell commented on August 11, 2024

This looks like bad state on the extension side. Does it work if you change it once, close the browser menu and open it again, changing it then? I suspect that the locked/unlocked state is not updated.

It doesn't look like a desktop bug, at least from this cursory glance.

from buttercup-desktop.

Oxalin avatar Oxalin commented on August 11, 2024

I'll have to investigate this a bit more. After updating Buttercup to 2.26.5 from 2.26.4, I can't reproduce it anymore.

from buttercup-desktop.

Oxalin avatar Oxalin commented on August 11, 2024

I installed version 2.27.0 this morning and I just hit the bug once more. So it is still present. I'm beginning to understand how to reproduce it, but I'm not quite there yet. Here is a clue:

  • Have the desktop app running in the background;
  • Ask to unlock it from the extension, close the problematic empty popup in the desktop app but keep the main window opened (which will end up in the state reported here: buttercup/buttercup-browser-extension#487);
  • Unlock the vault in the desktop app. You can then keep the main window opened or close it, the result will be the same;
  • Ask to lock the vault from the extension;
  • The extension will throw the 500 error.

However, I was unable to get the vault in a "pending" state in the desktop app yet.

Also, the first time I did this manoeuvre after updating to 2.27.0, once the error 500 was hit on the extension side after, the desktop app threw the following.
image

Then, no vaults were available in the desktop app and I had to restart it to be back on my feet. I was unable to reproduce this specific error afterward.

from buttercup-desktop.

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.