ravenac95 / sudolikeaboss

Get 1password access from iterm2
http://sudolikeaboss.com
MIT License
1.51k stars 51 forks source link

1Password 6.5 will break connection #29

Open rafcontreras opened 7 years ago

rafcontreras commented 7 years ago

I've been beta testing 1P 6.5 and on sudolikeaboss Coprocess from iTerm it requests and update on the browser extension.

screen shot 2016-11-01 at 07 06 06

I have raised this issue on the agilebits forums and they've asked me to create a bug report so they can provide you with additional documentation to keep this working.

Cheers

rickfillion commented 7 years ago

1Password 6.5 will require what we call Simple Mutual Authentication, which is a means of allowing a pairing between 1Password mini and the apps that talk to it. This will break the current version of sudolikeaboss.

Give it a shot with the current betas of 1Password 6.5 and if you have any questions, let us know and we can try to point you in the right direction.

charliwest commented 7 years ago

+1 for getting this fixed, damn my clicking the beta updates :)

rudyrichter commented 7 years ago

adding myself as a watcher in the event i'm able to assist with any question answering

brettrann commented 7 years ago

adding myself as a watcher too. happy to test. Thanks for offering this awesome tool proactive support Rick!

ravenac95 commented 7 years ago

@rickfillion Thanks so much for reaching out! Jeffrey from Agilebits also reached out to me. I sent him a response about getting some docs on the protocol. Let me know if there's anything else I may need.

bwithem commented 7 years ago

Thanks @ravenac95 I hope you know how much time you save us on a daily basis! <3

ssgelm commented 7 years ago

@ravenac95 Let me know if there's anything I can do to help - I'd love to be able to use this again too! 😀

nzkller commented 7 years ago

Hello Guys,

The new update has been pushed and now im on 1Password Version 6.5 (650034) and my sudolikeaboss is broken.

Do you have any news about this? I think I've become sudolikeaboss dependant for my daily work.

Let me know if I can help.

Best regards,

Nzk

ravenac95 commented 7 years ago

@ssgelm @nzkller I've been moving apartments recently which has taken up most my time. I just finished with all that and should have time to address these concerns. I'm starting development tonight. I will send out some beta builds once I get them! Would you guys be willing to test?

knilob commented 7 years ago

I would totally be willing to help test.

JamesValero commented 7 years ago

Me too! Use it everyday

ssgelm commented 7 years ago

I'd be very happy to test!

ssloss commented 7 years ago

I don't know how many testers you need, but I'd be very happy to test too.

warrengottlieb commented 7 years ago

Also happy to test!

nzkller commented 7 years ago

@ravenac95 Count me in happy to test and help 👍

rcreasey commented 7 years ago

+1 for testing.

charliwest commented 7 years ago

Willing to test here as well

cchalasani commented 7 years ago

I can help too

kguay commented 7 years ago

Happy to test!

mhe-de commented 7 years ago

+1 add me to the list

Gee19 commented 7 years ago

I am also willing to test or help out!

rudyrichter commented 7 years ago

@ravenac95, if you run into any scenarios where you need any assistance debugging the interaction with 1Password mini let me know and i can take a look. I spent many weeks working on that code.

targeter commented 7 years ago

Let me know if I can help with testing

kdorff commented 7 years ago

I'm happy to test. I will be sad until sudolikeaboss is restored to it's former glory.

ravenac95 commented 7 years ago

Hey guys. Just an update. I've been working on this a bit this week. Some of the documentation I was given wasn't quite correct but I was able to figure it out. I think I am unblocked now so it's simply following the updates for new 1password protocol. I will post a build up here once I have it! Hoping I can have an experimental build up this weekend.

rudyrichter commented 7 years ago

@ravenac95 I'm curious what wasn't right in the documentation, did you sent feedback to Jeff to let him know so we can update it accordingly?

ravenac95 commented 7 years ago

@rudyrichter I will totally send feedback to Jeff :)! I haven't had a moment to write the email.

rudyrichter commented 7 years ago

@ravenac95 thanks, I'll look forward to reading it. maybe i know the why of why it differs!

ssgelm commented 7 years ago

Very exciting! I've got tons of free time in the coming days so let me know if you need help with the code at all - happy to help.

sibartlett commented 7 years ago

Is there any chance of myself also obtaining the documentation too? So I can update 1password integration for hyperterm? @rudyrichter @rickfillion?

rudyrichter commented 7 years ago

@sibartlett if you send an email to support+security@ it should get in front of the correct people. but it seems like based on the requirement for your hyperterm support that the update to sudolikeaboss should take care of you as well?

harrybiddle commented 7 years ago

Very excited for this! Really appreciate the hard work

roodkcab commented 7 years ago

Finally got it work!

I've updated my master repo

I think it'll be better to wait formal release of sudolikeaboss, but if u are really impatient, feel free to check it out and using

CC=clang go build

to build it.

cheers!

ravenac95 commented 7 years ago

@shuoshi kick ass job man. I'm close to wrapping up what I have as well. Tho the holidays have kept me busy. I will have a beta release very soon.

roodkcab commented 7 years ago

@ravenac95 I have to say, even with source code of javascript, it not a easy job to get it work. the encrypt and decrypt is so complex, and hard to debug. Anyway, thanks for hard work 💯

ravenac95 commented 7 years ago

Hey guys, here's the first beta build. It's super duper hacky right now. But I don't want to keep people waiting for a solution whilst I clean things up.

Here's how to use it:

  1. Download it sudolikeaboss_0.3.0-beta1_darwin_amd64.zip

  2. Install it to /usr/local/bin/sudolikeboss (or wherever you previously had it)

  3. There is now a registration step that must be run BEFORE it's first use. I'm trying to come up with a better UX for this but this will have to do for now. For those of you with more bravery, run the command below and follow the instructions.

$ sudolikeaboss register
  1. Now you can use sudolikeaboss as you normally would
jpbarraca commented 7 years ago

Works perfectly. Congratulations for the excellent work.

The registration interface seems reasonable to me. Simple and effective.

charliwest commented 7 years ago

worked great for me to, I don't think you need to worry about that register bit and improving the UX, I think people using sudolikeaboss will be ok with it as it is. If they want a nicer clicky interface should they be using something like sudolikeaboss ;)

daenney commented 7 years ago

I just tried it, works! And I'm with @charliwest, I think the UX is perfectly fine. It's probably nice if it prompts you about it if you just execute sudolikeaboss but other than that this is great.

BjornB2 commented 7 years ago

Works indeed! I think that the people who use this are perfectly fine with the CLI registration :)

Coopeh commented 7 years ago

Thanks for the hard work. I think the CLI registration is the best way it could be done, perfect as it is!

cchalasani commented 7 years ago

Works very well. Thank you for your hard work.

planetsizebrain commented 7 years ago

Works like a charm again. Thank you for the quick fix and I don't mind the command line registration step.

nigelm commented 7 years ago

Thanks for all your work on getting this going again - the last week or so has shown how much sudolikeaboss is part of my workflow - its been like having a hand out of action!

A couple of questions, thinking about the registration process/requirements:-

Ralnoc commented 7 years ago

With how well initial testing of this is looking, do we have an ETA for the full release of this? If I have to, I can put together a go environment for compiling from scratch, (I'm a Mac User) but I would prefer to be able to brew install it.

I agree with most everyone that a CLI registration seems fine. We are all using this utility because of our desire for a CLI integration for 1Password.

daenney commented 7 years ago

@Ralnoc The provided zip you can just use on your Mac, there's no need to build it yourself. Also, everyone's a Mac user, this doesn't work on Windows and there's no 1Password for Linux.

erikhusby commented 7 years ago

Just a note.

I normally run from an account that does not have the SUDO privs to update the /usr/local/bin/sudolikeaboss directory. So I did the install by switching to the Administrator account and ran the registration process there. Sudolikeaboss said "Authenticating sudolikeaboss...". At that time I had an older version of 1Password and its extension installed.

Switched back to my normal account and tried to invoke from iTerm2. Nothing happened except that iTerm2 displayed double arrows in the upper right corner of the terminal window.

I then updated 1Password and its extension to the latest versions.

So I then ran the registration from the normal account. Sudolikeaboss wrote out the instructions and the 1Password authorization window appeared. I accepted and Sudolikeaboss said I was registered. It then worked as expected.

So the update instructions should be very explicit as to the order of installation.

On Mon, Nov 28, 2016 at 5:30 AM Nigel Metheringham notifications@github.com wrote:

Thanks for all your work on getting this going again - the last week or so has shown how much sudolikeaboss is part of my workflow - its been like having a hand out of action!

A couple of questions, thinking about the registration process/requirements:-

  • Registration will be required on first install
  • Re-registration will presumably be required on each update of sudolikeaboss (although historically these have been quite rare events - its not a weekly update)?
  • Is Re-registration needed on 1Password update (it is meant to be mutual authentication)?
  • What happens if sudolikeaboss is run to inject a password, but is not currently registered?
    • Can an automated registration be run here?
    • Will it just fail and then work after a manual registration (can a useful message be put out at this stage)?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ravenac95/sudolikeaboss/issues/29#issuecomment-263236530, or mute the thread https://github.com/notifications/unsubscribe-auth/AEACEfVTNxxLj4XKgRh4Isotaph7Ewiuks5rCq1HgaJpZM4KlUwl .

--


Erik Husby Senior Software Engineer I Broad Institute Rm. 2195, 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.714.8443 email: mhusby@broadinstitute.org

rudyrichter commented 7 years ago

@erikhusby you're going to need to register in any account you're attempting to use it from.

Ralnoc commented 7 years ago

@daenney Good to know. Depending on the expected timeframe for full release, I may do that.

kdorff commented 7 years ago

I replaced the binary that came from brew (0.2.1) in the folder

/usr/local/Cellar/sudolikeaboss/0.2.1/bin

with the binary in the zip mentioned above for 3.0. Did the register process. Back in business. Thanks!