Git Product home page Git Product logo

Comments (6)

quexten avatar quexten commented on June 11, 2024 1

Okay, sorry for the confusion, the manual setup instructions were still incorrect. I tested the manual setup and updated them now.

console.log((await this.bitwardenContainerService.cryptoService.getEncKey()).encKeyB64)

should rather be

console.log((await this.bitwardenContainerService.cryptoService.getKey()).encKeyB64) 

(it was the wrong key)

And

secret-tool store --label "com.quexten.bitwarden-biometrics-handler-<userid>" account <userid>

should actually be

secret-tool store --label "com.quexten.bitwarden-biometrics-handler" account <userid>

To fix your setup, clear the previously (incorrectly) stored secret key by running:

secret tool clear account <userid>

after that do the secret tool related part of the setup again. (Make sure to get the key with the updated command)

from bw-bio-handler.

mirenradia avatar mirenradia commented on June 11, 2024 1

Thanks for all the help. That seems to have solved it for me and it now unlocks successfully.

from bw-bio-handler.

quexten avatar quexten commented on June 11, 2024

Thank you for the report. I have reproduced the issue in the automatic setup and will look into it shortly.

About the manual setup, I think I also need to make the instructions more clear.
This:

secret-tool store --label "com.quexten.bitwarden-biometrics-handler-<userid>" --label account <userid>

should be run in a terminal on your system, not in the browser. Also it should rather be:

secret-tool store --label "com.quexten.bitwarden-biometrics-handler-<userid>" account <userid>

For example for a test account of mine I would run:

secret-tool store --label 'com.quexten.bitwarden-biometrics-e5b8f18d-cfa2-4384-a141-afd800ade332' account e5b8f18d-cfa2-4384-a141-afd800ade332 

And then copy paste in the secret key

cm4dmkQQUyyAPVdFwzM2TMkskzh9Om3XcNAA5UagsfM= (without the quotes).

from bw-bio-handler.

quexten avatar quexten commented on June 11, 2024

I only previously tested on a self hosted server, the official server seems to behave differently and require a "deviceid". This should be fixed by #5 , so feel free to pull the latest changes and retry the automatic setup and if that does not work now, the updated manual setup, and let me know if either way works for you now :)

from bw-bio-handler.

mirenradia avatar mirenradia commented on June 11, 2024

Ok, I managed to get the manual setup to work and was able to enable "Unlock with biometrics" in the Bitwarden Firefox browser extension. This seemed to work fine but when I lock the extension and try to unlock it again by clicking on the extension icon, the browser extension box is quickly hidden and a PolicyKit dialog box appears prompting for my fingerprint. My fingerprint seems to be accepted by the dialog box and it disappears but the browser extension continues to be locked and when I click on the icon again, another PolicyKit dialog box appears and the extension box continues to show "Awaiting confirmation from desktop".

from bw-bio-handler.

quexten avatar quexten commented on June 11, 2024

Glad it works, and thanks for the report. Setup instructions are now much better for any other users!

from bw-bio-handler.

Related Issues (2)

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.