Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Algorithm #299

Closed
mzellho opened this issue Nov 22, 2024 · 10 comments · Fixed by #300 or #301
Closed

Invalid Algorithm #299

mzellho opened this issue Nov 22, 2024 · 10 comments · Fixed by #300 or #301
Labels
bug Something isn't working

Comments

@mzellho
Copy link
Contributor

mzellho commented Nov 22, 2024

Describe the bug
With the latest release 6.2247.0, I can no longer fetch OTP values - I get "error: Invalid algorithm", which does not seem to be thrown in dashlane-cli, so maybe it's about a transitive dependency? I works nicely in the previous version 6.2436.0.

Screenshots
image
image

Environment (please complete the following information):

  • OS: Ubuntu
  • Version: 24.04.1 LTS
@mzellho mzellho added the bug Something isn't working label Nov 22, 2024
@Mikescops
Copy link
Contributor

Hello,

Sorry for this bug I may have created this issue while solving another one for someone else.

Can you print your credential as json and check wether your secret for otp is contained in otpSecret or otpUrl.

If it's otpUrl can you send just the beginning of it oauth://<something> ?

Please make sure you don't paste any secret on Github!

@mzellho
Copy link
Contributor Author

mzellho commented Nov 22, 2024

@Mikescops , thanks for the quick reply! The secrect is contained in both properties, otsSecret and otpUrl (as a query parameter of the otpauth://totp url)

image

@Mikescops
Copy link
Contributor

And the secret is the same in both?

@mzellho
Copy link
Contributor Author

mzellho commented Nov 22, 2024

yes, same value

Mikescops pushed a commit that referenced this issue Nov 22, 2024
@Mikescops
Copy link
Contributor

Can you try v6.2447.1 when it will be available (in a few minutes) ?

@mzellho
Copy link
Contributor Author

mzellho commented Nov 22, 2024

almost! unfortunately now the OTP returned is 0 (tried multiple OTPs):

image

@Mikescops Mikescops reopened this Nov 22, 2024
Mikescops pushed a commit that referenced this issue Nov 22, 2024
@Mikescops
Copy link
Contributor

Sorry @mzellho I wasn't woken up, I tested with all credentials I had, it should be fine in the v6.2447.2

@Mikescops
Copy link
Contributor

@mzellho is it good now?

@mzellho
Copy link
Contributor Author

mzellho commented Nov 22, 2024

@Mikescops : works perfectly, thanks a lot for the quick fixes!

@Mikescops
Copy link
Contributor

You're welcome! Happy to have reports like this too 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants