Autofilling OPNsense OTP codes 1Password CLI & Keyboard Maestro: New and Improved!

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 4

  • @bobcastro9386
    @bobcastro9386 ปีที่แล้ว

    Nicely explained; thanks!

  • @NiravGajera-bs3yi
    @NiravGajera-bs3yi 8 หลายเดือนก่อน

    Hello, I am just getting consfused why --otp shows "(ERROR) unknown flag: --otp" in my CMD.
    I use this syntax to get session token: echo [Password]|op signin [URL] [email] [SecretKey] and use the session token to get item from a vault: op get item [item] --vault [vault] --session [session] It gives perfect result in json format but otp field is kind of encoded with "TOPT_something" values and when I use op get item [item] --vault [vault] --otp --session [session] , it throws error "(ERROR) unknown flag: --otp". Any Idea ? It would be a big help.

    • @postproductive
      @postproductive  8 หลายเดือนก่อน

      Are you using 1Password CLI v2.0? The v2 syntax changed from earlier versions of op-cli.

    • @NiravGajera-bs3yi
      @NiravGajera-bs3yi 8 หลายเดือนก่อน

      @@postproductive We have a very old Library for login with 1Password for so may clients, It is just that some of them has opted for MFA OTP and I want to just get otp without changing much in old library. I could not get much on community and documentation for old otp syntax.