Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
System
4 years agoSuper Contributor
[51] Trouble with OTP codes
This discussion was created from comments split from: Stay tuned for this week!.
Former Member
4 years agoHey @rknshia , thanks for trying our beta and for reaching out to us!
Indeed, this is undesired behaviour. I assume that op item get MyItem, which outputs in human readable format, returns all OTP codes to you, and not the otpauth addresses.
I will take this issue up with my team, I see how the use case of having more otp codes under the same item is not covered by the recently introduced --otp flag.
In the meantime, in case your problem is urgent, a workaround that would help you achieve the desired result would be something like:
op item get MyItem --format json --fields OTP.prod | jq -r .totp
Let me know if this helps you, and thank you, once again, for your feedback.
Keep the good suggestions coming. We're here to listen and to help you.
Best,
Horia