Can I extract the TOTP shared secret out of the 1Password vault?
I started using 1Password to generate my one-time secrets and now I need to be able to generate the secrets of one of the sites from the command line.
I use mmfa to do that and now I need to extract the shared secret from 1Password so I can configure mmfa
with it.
Is there a way to achieve that?
Thanks.
1Password Version: 7.5
Extension Version: 70500003
OS Version: 10.15.5
Sync Type: Not Provided
Referrer: forum-search:copy totp secret
Comments
-
Never mind - I found the solution:
When opening to edit the entry in 1Password and choosing to edit the one-time field, it shows the original URL with the shared secret in it. I could extract it and hand it to
mmfa
and get the right codes.0 -
Hi @amossc
Our command line tool can also do this for you, without sharing your TOTP secrets with a 3rd party app:
1Password command-line tool: Getting started
Specifically, the command
op get totp <item>
should help. Please let me know if you have any questions. :)Ben
0 -
Thanks. It took some guessing to follow the documentation (wasn't sure about the "signin address") but yeah it finally worked.
0