bitwardentools icon indicating copy to clipboard operation
bitwardentools copied to clipboard

Argon2id algorithm support?

Open Garulf opened this issue 5 months ago • 0 comments

When attempting to login to a vaultwarden instance using argon2id the program crashes with a invalid username or password.

image

from bitwardentools import Client


client = Client(SERVER, EMAIL, PASSWORD)


client.sync()
Traceback (most recent call last):
  File "E:\Users\Garulf\Projects\Garulf\bitwarden-flow\src\plugin.py", line 11, in <module>
    client = Client(SERVER, EMAIL, PASSWORD)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Users\Garulf\Projects\Garulf\bitwarden-flow\.venv\Lib\site-packages\bitwardentools\client.py", line 728, in __init__
    self.login()
  File "E:\Users\Garulf\Projects\Garulf\bitwarden-flow\.venv\Lib\site-packages\bitwardentools\client.py", line 829, in login
    raise exc
bitwardentools.client.LoginError: Failed login for *****@****.com ()

This is the text response from the server:

{"ErrorModel":{"Message":"Username or password is incorrect. Try again","Object":"error"},"ExceptionMessage":null,"ExceptionStackTrace":null,"InnerExceptionMessage":null,"Message":"Username or password is incorrect. Try again","Object":"error","ValidationErrors":{"":["Username or password is incorrect. Try again"]},"error":"","error_description":""}

Garulf avatar Jan 11 '24 09:01 Garulf