I'm working on a 1Password Github Action - https://github.com/RobotsAndPencils/1password-action and one of the options I'd like to include is the ability to get the pin code of an OTP.
Currently in v1.8.0 the json that gets returned doesn't include this. It only has a
"n":"TOTP_990EB3DFF7FD4A42B1150FF47A8A93F3" (as well as the value behind the OTP field.
I'm assuming that hash(?) is what the UI generates the expiring TOTP pin code. Could the cli return this? Or perhaps have a function on the cli, that if I pass in that
n value, it gives me a pin code?
edit: I do see
totp option in https://support.1password.com/command-line/#manage-objects but not sure how to use that when getting items?
Thank a bunch for a great tool
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided