CLI 2.0 beta

XIIIXIII
edited December 2021 in CLI

This might be interesting to many here:

> op signup CLI 2.0 beta 🤖🛠
Developers! If you know your ; from your ~, our brand new betas are just for you. Register your interest for a chance to share feedback and win rewards: https://bit.ly/1P21BetaTwitter

Source: 1Password on Twitter


1Password Version: CLI 2.0 beta

Comments

  • ag_anaag_ana 1Password Alumni

    Indeed, thank you very much for spreading the word :)

  • @ag_ana When will AgileBits be distributing invites? (To the happy chosen ones)

  • ag_anaag_ana 1Password Alumni

    @XIII:

    They did already. I will check if they plan to do new rounds soon.

  • hi @ag_ana may I ask if the cli 2.0 could use the touchID or somehow trigger the GUI version for touchID support?

  • They did already. I will check if they plan to do new rounds soon.

    Guess I was not chosen then :cry:

    Too bad; I was hoping to use the CLI to work around the clumsy Quick Access / Alfred / Keyboard Maestro combination.

  • ag_anaag_ana 1Password Alumni

    @kwz:

    You certainly may ask :) Biometrics support in the CLI will be coming soon!

  • ag_anaag_ana 1Password Alumni

    @XIII:

    Fingers crossed you will make it into the next round then :+1::)

  • I now see an additional forum "CLI 2.0 [Private Beta]" which I can access.

    Does this mean I made it into that next round, but did not get an email (yet)?

    Or is CLI 2.0 a public beta now?

  • Ah, received the email confirmation :)

    (several hours after having access on the forum)

  • BenBen AWS Team

    Team Member

    Glad to hear it worked out, @XIII. I'm sure the team will appreciate your feedback. :+1:

    Ben

  • I think it would be a more secure option if the CLI didn't return the password in clear text but copied it to the clipboard (or something) unless I add a flag to intentionally opt-in for it to be clear text

  • XIIIXIII
    edited January 13

    I think it would be a more secure option if the CLI didn't return the password in clear text but copied it to the clipboard

    Wouldn't it then end up in your clipboard manager (if you use one)?

    The one I use excludes pastes from 1Password, but that will only be the App; not the CLI...

  • BenBen AWS Team

    Team Member

    I don't know that the system clipboard is any more or less secure than STDOUT in your Terminal.

    Ben

  • bhekanikbhekanik
    edited January 13

    the clipboard is not more secure, I can easily see what's in there if I want to. The key being 'if I want to'. For the same reason that we hide the password on login forms, sure if I want to see it I can click a button to show it or change the input type to text.

    My suggestion is that the default return format for the password to not be clear text unless I ask for it to be clear text by adding a flag or something. That way I won't accidentally show it when people are watching.

    The clipboard thing was just an additional thing/option to hide it.

  • That's strange, I got the email but when i click to access the private forum it says I do not have access.... Could someone fix that?

  • simon_1Psimon_1P

    Team Member

    @ag_tyler can you help @Vytux access to the Early Access forum?

  • Hey @Vytux - I've made sure that you're added to that private forum. If you're referring to the invite email for the beta that we sent out it's possible that you might have registered with a different email than what's connected to your forum account. Regardless - I've made sure that you're in so you should be able to access the private forum group now. Let me know if you need any additional help!

  • @ag_tyler - I've got a similar issue - Could you please add me to the Early Access forum?
    Thanks!

  • @AndyQ You bet! I've gone ahead and added you to the private forum group. Let me know if you have any troubles finding/viewing it!

  • Awesome thanks - I'm in.

  • Is it possible to have me added as well ? Thanks !

  • @pvanwelt - Of course. I've added you to the private forum group. Let me know if you have any troubles getting access!

  • BackspazeBackspaze
    edited January 26

    Just checking in here about the CLI 2.0 beta. I'm using the beta of the Windows desktop app and today I got version 8.5.0-103 installed and found that you'd added a setting for integrating with 1Password CLI. Naturally I began poking around for getting my hands on CLI 2.0 and found the documentation as well as the change log where I could download it. I ran into an error with the integration with the desktop app when trying to sign in to CLI 2.0. It triggered the Windows Hello prompt but returned the error Invoke-Expression : Cannot bind argument to parameter 'Command' because it is null.. Without the integration with the desktop app, it asks for for my account password and I can sign in just fine.

    I figured I should report this and headed to this forum as usual but couldn't find a category for the beta of CLI 2.0. As the documentation I linked to above is public and anyone can download the beta from the change log page I thought there would be a forum category ready. But according to this thread you'll have to be invited either by asking here in this thread or by filling in the form (which also is referenced in the documentation).

    So, I guess I should stop writing short novels here and fill out the form and see if I'll get access...?

    EDIT: I've filled out the form but for the sake of completeness, I'll just leave the full error message below in case I don't get access to the forum.

    [ERROR] 2022/01/26 20:49:17 received unexpected response from 1Password app. Please make sure 1Password CLI and the 1Password app are up-to-date.
    Invoke-Expression : Cannot bind argument to parameter 'Command' because it is null.
    At line:1 char:19
    + Invoke-Expression (op signin my)
    +                   ~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidData: (:) [Invoke-Expression], ParameterBindingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.InvokeExpre
       ssionCommand
    

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file