roddhjav / pass-import

A pass extension for importing data from most existing password managers
https://www.passwordstore.org/
GNU General Public License v3.0
806 stars 89 forks source link

Import OTP from 1Password #116

Closed menteb closed 2 years ago

menteb commented 4 years ago

When importing from 1Password using a 1pif export file, the OTP field gets imported as:

sections: [{'title': 'Related Items', 'name': 'linked items'}, {'fields': [{'k': 'concealed', 'n': 'TOTP_XXXXXXXXXXXXXXXXXXXXXXXXXXX', 'v': 'otpauth://totp/YYYYYYYYYYYYYYYYYYYYYYYYY', 't': 'One-Time Password'}], 'name': 'Section_ZZZZZZZZZZZZZZZZZZZ'}]

This makes that pass-otp cannot find the OTP secret when querying. I reckon this is a pass-import issue as I'm sure there is a specific way of storing the OTP.

If there an easy fix I can apply?

roddhjav commented 3 years ago

Similar to #126, I will have a look a it once I get the time.

b123400 commented 3 years ago

I've sent a PR for that https://github.com/roddhjav/pass-import/pull/157