Comments (10)
latest version & error:
❯ rbw login
rbw login: failed to log in to bitwarden instance: unimplemented cipherstring type: 0
❯ rbw --version
rbw 0.4.1
from rbw.
OK - I just exported my entire vault. Purged it and reported back into Bitwarden via the web interface.
I am still getting:
rbw login: failed to log in to bitwarden instance: invalid cipherstring
So that did not seem to help.
from rbw.
are you using two-step login, by any chance? (and if so, which type are you using?) i don't have that implemented yet, but i'll try to get to it soon.
if that's not the issue, let me know and i'll dig further.
from rbw.
I did not even think of that. Yeah I am. The one I use is Google Authenticator based.
from rbw.
i've added authenticator-based two-step login support in version 0.4.0 - let me know if it works for you!
from rbw.
Well, I have the prompt for 2fa, however, after entering the token I am faced with:
❯ rbw login
rbw login: failed to log in to bitwarden instance: invalid cipherstring
Thank You.
from rbw.
hmmm, interesting. this one is a bit difficult to track down without an actual copy of your vault to poke at. can you try again with version 0.4.1? i've added some more logging that might at least give me a place to start looking.
out of curiosity, what clients are you currently using? also, how long have you been using bitwarden?
from rbw.
It is a google authenticator using the authy client.
The interesting thing - bitwarden registers the login. I received my email stating that I had a new login from a new device. I have been using BW for years.
I'll try again with the new version.
from rbw.
ah, yeah, i only currently have support for the cryptographic algorithms that the current bitwarden clients use, but it looks like you still have some entries encrypted with an older version. the code for this should be fairly straightforward, but it's a bit tricky for me to fix because i'm not really sure how to generate test entries using the older format (to make sure i'm implementing the right thing). i'm open to pull requests for this, otherwise i'll see if i can dig up some old bitwarden clients to test this with at some point.
the other workaround here is that i'm fairly sure that if you export your vault and then reimport it, it should start working, although i know that's pretty annoying.
from rbw.
based on #40 (comment) it looks like rotating your encryption key is the thing that you actually need to do, since just deleting and recreating the vault with the same account won't actually change the encryption method.
i'm going to close this out for now, but feel free to reopen or file another ticket if this issue persists.
from rbw.
Related Issues (20)
- Support Compiling on Windows HOT 1
- Cannot view custom fields of secure notes HOT 3
- Support for organizations and collections when adding / getting a password
- Completion credentials HOT 1
- Sync - 2 way? HOT 4
- rbw fails to build due to crate `Region` failing to build HOT 8
- Issues with pinentry and running rbw from distrobox HOT 2
- Add --raw option for rbw list
- Use rbw as a pinentry program HOT 2
- [Feature request] Add --version flag HOT 5
- Continuous (push) sync HOT 15
- Improve "rbw get" search HOT 6
- Modify folder HOT 2
- Support for SSO? HOT 2
- [Feature request] Filter list by existing TOTP HOT 4
- rbw get --raw does not properly escape json
- rbw register: failed to log in HOT 3
- Add ability to authenticate into rbw using email 2fa
- rotate encrytion key HOT 2
- Cannot source auto completion script for zsh HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbw.