detunized / password-manager-access

Password Manager Access for .NET in C#
MIT License
38 stars 8 forks source link

Dashlane: the version no longer supported #112

Closed detunized closed 10 months ago

detunized commented 11 months ago

The Dashlane module doesn't seem to work anymore. Probably the protocol has changed.

PasswordManagerAccess.Common.InternalErrorException: Request failed with error: 'This version is no longer supported. The user must update to continue.'
- PasswordManagerAccess.Dashlane.Client.PostJson[T](String endpoint, Dictionary`2 parameters, RestClient rest)
- PasswordManagerAccess.Dashlane.Client.RequestDeviceRegistration(String username, RestClient rest)
- PasswordManagerAccess.Dashlane.Client.RegisterNewDeviceWithMultipleAttempts(String username, Ui ui, IRestTransport transport)
- PasswordManagerAccess.Dashlane.Client.OpenVault(String username, Ui ui, ISecureStorage storage, IRestTransport transport)
- PasswordManagerAccess.Dashlane.Vault.Open(String username, String password, Ui ui, ISecureStorage storage, IRestTransport transport)
- PasswordManagerAccess.Dashlane.Vault.Open(String username, String password, Ui ui, ISecureStorage storage)
- ...
detunized commented 10 months ago

Seems RequestDeviceRegistration got replaced with GetAuthenticationMethodsForDevice and some new parameters got added. Investigate that and figure out what else to send. Just changing the endpoint name leads to the following error:

{
    "requestId": "f254ddb9-241f-4f79-ba68-a3290e09c7e6",
    "errors": [{
        "type": "invalid_request_error",
        "code": "request_malformed",
        "message": "Request is malformed"
    }]
}