| Summary: | Enable ecdsa-sk and ed25519-sk SSH keys for git@gitrepo.freebsd.org | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Services | Reporter: | Christian Weisgerber <naddy> | ||||||
| Component: | Core Infrastructure | Assignee: | Cluster Admin <clusteradm> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Some People | CC: | emaste, grahamperrin, mat, philip | ||||||
| Priority: | --- | ||||||||
| Version: | unspecified | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Christian Weisgerber
2023-09-22 13:31:27 UTC
Created attachment 245206 [details]
Proposed patch to devel/gitolite port
Cc:ing mat@FreeBSD.org since he maintains the devel/gitolite port. The problem in the cluster is that "gitolite trigger SSH_AUTHKEYS" mangles sk-ssh-* keys by adding a comma behind them. This is caused by the existing patch (by glebius) that tries to distinguish between bare keys and keys with options. This patch updates the regex to additionally recognise sk-ssh-* keys. It hasn't been tested in the cluster yet. If this works -- and if mat@ approves -- I'd like to commit this patch to the devel/gitolite port. Created attachment 245214 [details]
Proposed patch to devel/gitolite port
Address feedback from lwhsu. The patch I proposed earlier did not (always?) apply cleanly. Instead of adding it as an additional patch, regenerate the existing patch.
Removed the Git commentary from that patch. It doesn't apply cleanly with git am anyway.
This patch should be submitted upstream and removed in due course.
Any progress? lwhsu@ has deployed this and I have successfully used it to push ports commit fa0f0fcc333a4a5244e02a1933a3c1c0b5b6c0f9. Thank you, everybody! |