Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

otpauth require apple-otpauth on import #2

Closed
idarek opened this issue Sep 16, 2021 · 6 comments
Closed

otpauth require apple-otpauth on import #2

idarek opened this issue Sep 16, 2021 · 6 comments

Comments

@idarek
Copy link

idarek commented Sep 16, 2021

Great script!
not able to use go get but downloaded and run go run main.go... instead and all fine.

Just a heads up, that otpauth://totp need to be manually changed to apple-otpauth://totp if you want to import it correctly in MacOS Monterey.

Not a big issue, as Excel Replace can deal with that, but if you want to amend will make very good tool!

@IngmarStein
Copy link
Owner

Ah, thanks for finding the missing link! I'll change that right away.

@IngmarStein
Copy link
Owner

Updated in 23e5f61

@IngmarStein
Copy link
Owner

I've just tried the batch import again (which takes an astounding amount of time for ~700 passwords) and it looks like the OTPAuth links for existing entries are not amended. It works when I open the apple-otpauth links in Safari. Did it work for you without manual steps?

@idarek
Copy link
Author

idarek commented Sep 17, 2021

I open my csv file generated by your script, changed otpauth to apple-otpauth and yes, it import in Monterey correctly and showing codes that match with what I got in other Authenticator app.

@IngmarStein
Copy link
Owner

Ok, I just verified with a smaller subset and Monterey indeed does update existing entries with TOTP data. Looks like something may be broken when processing a large number (the secd process goes crazy). Thanks for your feedback!

@idarek
Copy link
Author

idarek commented Sep 17, 2021

I imported 890 :) with like 20-30OTP

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants