Menu

Post image 1
Post image 2
1 / 2
0

Stop Using HTTPS for Git — Switch to SSH Before AI Agents Leak Your Credentials

DEV Community·Ken Imoto·27 days ago
#AfXkwuZ3
#why#git#security#fullscreen#agent#enter
Reading 0:00
15s threshold

"Your git pull is going to break." I stored business documents — PDFs, images, spreadsheets, about 110 files totaling 35MB — in a private GitHub repo. The plan was simple: version-control everything, let AI agents access it from any machine. Then I ran git pull from a second PC: error: RPC failed; curl 56 GnuTLS recv error (-54) fatal: early EOF fatal: fetch-pack: invalid index-pack output Enter fullscreen mode Exit fullscreen mode Clone didn't work either. My repository was unreachable. The cause? HTTPS and its dependency on GnuTLS. Why HTTPS Breaks Under Load When you run git clone https://... , here's the stack: git clone (HTTPS) └→ git-remote-https └→ libcurl (HTTP library) └→ libgnutls (SSL/TLS) ← breaks here └→ TCP → GitHub Enter fullscreen mode Exit fullscreen mode Ubuntu's default Git uses GnuTLS for HTTPS.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More