This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

Writing Extensions

Is it possible to write extensions to 1Password? I'm truely impressed by the 1Password. It made my life easy. Now I want to extend the power of 1Password with some small extensions. Example I want to add a Copy SSH command to UNIX server accounts. This way I can get the full ssh (ssh -l <userid> <servername>) so that I can directly paste into my shell.



Is there any documentation on how to write these kind of extensions?



-kesav

Comments

  • khad
    khad Social Choreographer
    Welcome to the forums, Kesav! Thanks for the kind words. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    At this time 1Password does not support scripting (via AppleScript) or extensions (to itself).



    You might consider creating a new Login item and setting the URL to:



    [code]ssh://username@example.com[/code]

    Then double-click the item in 1Password to open Terminal. If Terminal is not launching, check that Terminal is configured to handle the ssh:// protocol. You can view and modify your protocol handlers with an application like [url="http://www.rubicode.com/Software/RCDefaultApp/"]RCDefaultApp[/url].



    Please let me know how it turns out.
  • Thanks for reply. That was cool but only thing was I couldn't pass password in this SSH URL.
  • [quote name='Kesav Kolla' timestamp='1301934722' post='23924']

    That was cool but only thing was I couldn't pass password in this SSH URL.[/quote]

    Insecure, but maybe this would work:



    [code]ssh://username:password@example.com[/code]

    ?
  • khad
    khad Social Choreographer
    edited April 2011
    I take it you are not using [url="http://www.bartbusschots.ie/blog/?p=491"]SSH keys[/url] (with [font="Menlo"]ssh-agent[/font]) to store your credentials then. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_worried.png' class='bbc_emoticon' alt=':S' />



    Might I suggest [url="http://www.phil.uu.nl/~xges/ssh/"]SSH Agent[/url]? <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_bigsmile.png' class='bbc_emoticon' alt=':-D' />
  • lotusone
    lotusone Junior Member
    [quote name='Kesav Kolla' timestamp='1301674701' post='23711']

    Is it possible to write extensions to 1Password? I'm truely impressed by the 1Password. It made my life easy. Now I want to extend the power of 1Password with some small extensions.

    [/quote]



    AWS is so cool and 1P so awesome that it's hard to get mad at the lack of scriptability <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' /> For the time being, I've just copied the 1P (unscriptable) passwords that I use programmatically into my keychain (which is scriptable). This seems to be the best workaround until we get scriptability.



    Sean
  • [quote name='khad' timestamp='1301982954' post='23968']

    Might I suggest [url="http://www.phil.uu.nl/~xges/ssh/"]SSH Agent[/url]? <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_bigsmile.png' class='bbc_emoticon' alt=':-D' />

    [/quote]

    Or [url=http://sshkeychain.sourceforge.net/screenshots.php]SSHKeychain[/url]. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/tongue.gif' class='bbc_emoticon' alt=':P' />
  • [quote name='sjk' timestamp='1303419488' post='25337']

    [quote name='khad' timestamp='1301982954' post='23968']

    I take it you are not using [url="http://www.bartbusschots.ie/blog/?p=491"]SSH keys[/url] (with [font="Menlo"]ssh-agent[/font]) to store your credentials then. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_worried.png' class='bbc_emoticon' alt=':S' />



    Might I suggest [url="http://www.phil.uu.nl/~xges/ssh/"]SSH Agent[/url]? <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_bigsmile.png' class='bbc_emoticon' alt=':-D' />

    [/quote]

    Or [url=http://sshkeychain.sourceforge.net/screenshots.php]SSHKeychain[/url]. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/tongue.gif' class='bbc_emoticon' alt=':P' />

    [/quote]



    Ooh, burn! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/wink.gif' class='bbc_emoticon' alt=';)' />
  • [quote name='brenty' timestamp='1303453822' post='25362']

    Ooh, burn! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/wink.gif' class='bbc_emoticon' alt=';)' />

    [/quote]

    <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/laugh.gif' class='bbc_emoticon' alt=':lol:' /> None intended!
  • brenty
    edited April 2011
    [quote name='sjk' timestamp='1303506929' post='25417']

    <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/laugh.gif' class='bbc_emoticon' alt=':lol:' /> None intended!

    [/quote]



    Oh, I know. Just harassing the Choreographer. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/laugh.gif' class='bbc_emoticon' alt=':lol:' />
  • khad
    khad Social Choreographer
    [quote]Oh, I know. Just harassing the Choreographer. [/quote]

    Laugh it up, chuckles. I don't think you have admin privileges yet — or it that [i]anymore[/i]. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/cool.gif' class='bbc_emoticon' alt='B)' />