Conversation
ef3f1dd to
b293b4c
Compare
|
@norrisjeremy , would you also like me to look into the SonarQube remark? |
|
Hi @tc-tlv, No, I don't think any changes are needed to for SonarQube. Thanks! |
norrisjeremy
left a comment
There was a problem hiding this comment.
I don't see any immediate issues with this.
@luigidemasi, do you see any problems with this change?
| @Test | ||
| public void testPrincipalPatternMatching() { | ||
| assertTrue(HostKey.matchesWildcardPattern("*.example.com", "host.example.com")); | ||
| assertFalse(HostKey.matchesWildcardPattern("*.example.com", "example.com")); |
There was a problem hiding this comment.
Does principal matching in OpenSSH also support other types of match patterns, such as:
host?.example.com => host1.example.com
192.168.1.* => 192.168.1.1
If so, should tests covering those also be included?
There was a problem hiding this comment.
Hey Jeremy, I looked at the code base of OpenSSH to find similar tests and I added them here.
|
Do you see any issues with these changes? Thanks! |
|
Hi @norrisjeremy, I reviewed the changes in depth, including a comparison with the OpenSSH 10.3 sources, and I don't see any security issue with this PR. What I checked:
One gap worth closing before merge — not a security issue: the new loop in Minor/optional: the pattern-level vectors test a |
|
Hi @luigidemasi, Thank you for the review! @tc-tlv, can you review the comments from @luigidemasi and try to address them? Thanks! |
|
I will look into it this week. Thanks guys. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
e5f612f to
2dcd3a4
Compare
|
Hi @tc-tlv, Thank you for the additional changes! @luigidemasi, Thanks! |
|
I was wondering how the merge process happens, is this something initiated by one of you, or is this something I have to do? I am asking because I don't know. This is my first PR. |
|
@norrisjeremy @tc-tlv LGTM! Ready to merge from my side. |
9e526cf to
93c4daf
Compare
|



See #1107