keeweb / kdbxweb

Web Kdbx library
https://app.keeweb.info
MIT License
409 stars 57 forks source link

Small question about the otp field #43

Closed dploeger closed 2 years ago

dploeger commented 2 years ago

I'm currently using kdbxweb to create a tool to migrate keepass to Bitwarden (because my company is switching to it) and I have a question about the otp field. If you manage the field with Keeweb, it stores the otp values in the form of otpauth://totp/default?secret=. Is this the native format for that field or Keeweb-specific? Bitwarden only expects the secret in that field so I need to map it.

antelle commented 2 years ago

I think it was a format created by one of two popular OTP plugins for KeePass.

dploeger commented 2 years ago

Okay, thanks. I went ahead and used a regexp to extract the secret, so it can be updated if another format comes along.