MFA 6 digit code - TOTP

evanista
evanista
Community Member

When getting an item with a section for MFA, I don't see the actual 6 digit code, just a really long value that doesn't change every 30 seconds.

It essentially appears as this:
{
"sections": [
{
"fields": [
{
"k": "concealed",
"n": "TOTP_bunchOfChars",
"t": "MFA",
"v": "secretChars?"
}
],
"name": "Section_5asdf56535asdf6d",
"title": "Section"
}
]
}

Is there a plan to implement getting the 6 digit code in the future? I'd like to use this powershell scripts that require an MFA.

Thanks.


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided

Comments

  • Hi @evanista,

    What you're seeing is the actual TOTP secret. In order to have it calculated, you'll want to use op get totp which should find the secret and calculate the current time based one time password from it for you.

    Rick

  • evanista
    evanista
    Community Member

    Ahhh! Perfect!

  • cohix
    cohix
    1Password Alumni

    Glad Rick could be of assistance :)

  • evanista
    evanista
    Community Member
    edited October 2017

    And here i went and got a powershell script to calculate it :P

  • cohix
    cohix
    1Password Alumni

    Oops! :D

This discussion has been closed.