op-askpass - unlock your ssh keys using 1Password items

Hey guys,

I've developed a python package/application that allows you to unlock your ssh keys using passwords stored in 1Password, from the terminal.
I hope this is a proper place to post such messages.

The package is using the official CLI and is a tiny wrapper over SSH_ASKPASS mechanism.
If you would like to help me test it (I'm already using it in day-to-day work), check it out here: https://gitlab.com/maciej.gol/op-askpass


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


  • graham_1Pgraham_1P

    Team Member

    Hey @askriz

    This absolutely is the best place to post extensions of our cli! I'm happy to see you using the cli.

    I took a quick look at your tool. A piece of feedback:

    If a user already has op installed, you are downloading a secondary binary. (https://gitlab.com/maciej.gol/op-askpass/blob/master/op_askpass/cli/main.py#L46) Why not check for an existing op installation in the environment? That way you no longer have to refer to our static version download link, and instead rely on the user updating op separately for your tool.


  • @graham_1P thanks! Will look into adding support for that!

  • ag_anaag_ana

    Team Member

    On behalf of Graham, you are welcome @askriz! Keep up the good work :)

  • graham_1Pgraham_1P

    Team Member

    Thanks Ana! No problem @askriz Thanks for building with the CLI.

Leave a Comment

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