-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: change git clone to https:// link #17
base: master
Are you sure you want to change the base?
Conversation
Using `git clone [email protected]:sparkbox/laptop.git` didn't work for me on a fresh Mojave install. The https:// link did.
@ethanmuller Would it make sense to have adding your public key to Github as a prerequisite to running the laptop script rather than using HTTPS? |
@yock What's the benefit of using a As long as it's nothing major, I think it'd make sense to include instructions for that after this point in the readme. I like the idea of putting that somewhere though! Setting that up is really relevant to this process, and I wasn't looking forward to digging around to find it. |
@ethanmuller SSH is the preferred way to authenticate with Github anyway and it would help us ensure from the get-go that it's working correctly. |
@yock What benefits does SSH provide over HTTPS for somebody trying to run this script? I'm picturing a new hire* with a fresh laptop trying to run this script. Maybe they haven't gone through the process of setting up public keys yet. I think it'd streamline things for them if we switch this to HTTPS, to eliminate the possibility of them getting hung up on SSH stuff. * or me trying to run this script last night, having a bad time 😉 |
@ethanmuller I think the main benefit here is that we ensure, from the start, that we are preferring SSH over HTTPS. If this seems reasonable I'm happy to take on making this easier by improving the docs, the laptop script, or both. |
@yock Yeah... I guess don't feel too strongly on exactly how we improve the documentation. I mostly care that it gets improved in the first place, since it failed for me. I still don't quite understand why we prefer SSH over HTTPS. GitHub recommends using HTTPS. Is SSH more secure somehow? |
Github recommends HTTPS for portability concerns. They don’t have to ask what platform you’re using if they just say “use HTTPS.” PKI is more secure than username and password authentication. This Security StackExchange thread is a good summary. Parts of it are irrelevant from our point of view (as long as you’re using 1Password) but much of it is universally applicable. My opinion is one of many on this team and not authoritative. If others similarly believe that HTTPS vs SSH isn’t a big deal then that’s fine. |
@yock If we could find a way to clearly explain this process to the people running this script, I'd be into the idea of putting that first! My main motivation with this PR was to make running the script a little easier. |
I ran into a little snag while setting up a new laptop (running Mojave).
Using
git clone [email protected]:sparkbox/laptop.git
didn't work for a fresh install. Thehttps://
link did.