r/git • • 10h ago

support post-quantum encryption

NSA advisory about changing to post-quantum encryption. Does git have anything specific for ssh we can use to comply? Also, since I use github, I hope they are on the same page with it.

Thanks.

0 Upvotes

9 comments sorted by

View all comments

Show parent comment

-52

u/wjrasmussen 9h ago

So you don't know. My bad, I assumed someone might have dealt with this and had a solution and wouldn't be a punk about it.

31

u/waterkip detached HEAD 9h ago edited 9h ago

No, git has nothing to do with the transport layer. You can configure custom commands via core.sshCommand to add options to the default invocation of how git calls your ssh client. However, openssh needs to be able to understand that (or whatever your ssh client is, but I'm assuming openssh in any normal environment).

But, if you teach your ssh to use post quantum sshkeys, and the forges can deal with those kind of keys, you don't need to do anything special with git.

Therefore: me telling you that it is another layer that is responsible for it has nothing to do with me (not) knowing it.

14

u/JustAnAverageGuy 7h ago

lol wow. Take about 10% off the top there bud. You seem to be the one here who doesn't know, and you're the one being a punk about it.

Git does not manage or implement security for you. Encryption issuing authorities, like OpenSSH, are responsible for this.

You should already have a _basic_ understanding of this if you're in IT.

9

u/quarethalion 6h ago

Are you conflating commit SHAs with cryptography?