this post was submitted on 12 Jul 2023
59 points (96.8% liked)

Programming

17375 readers
447 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] static_motion 30 points 1 year ago (8 children)

Very mixed feelings on GitHub's recent approaches to security. Tighter security measures are great, but deprecating password authentication on git operations seems obtuse to me. What if I want to push a change from a machine that's not mine and doesn't have my registered SSH key on it? I don't have a Yubikey or anything similar nor do I intend to get one in the foreseeable future.

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (6 children)

I just got a repo token and do git add remote origin https://[email protected]/username/repo.git and say bye-bye to usernames and passwords. Easiest pushes and pulls ever with private, public or org repos.

[–] dbx12 13 points 1 year ago* (last edited 1 year ago) (5 children)

But now you have the only credential, the REPO_TOKEN in plaintext in your .git/config file. That's even worse.

Edit: typo

[–] [email protected] 2 points 1 year ago

That's amazing! 😍 (and retarded too lol) :)

load more comments (4 replies)
load more comments (4 replies)
load more comments (5 replies)