r/git • • 9h 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

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.