Repository navigation
test_ssl.rb: Refactor test_pqc_sigalg - #1048
Conversation
|
Sorry, I've missed this PR. I don't really see what this changes, though. It seems we're checking things as expected with or without this diff? |
76abbde to
fbe16b3
Compare
There are 2 issues:
Does it make sense? |
9ac99e6 to
4fa97ae
Compare
* Align key numbers with the pattern in test/openssl/utils.rb setup: rsa-1 for CA, rsa-2 for server, rsa-3 for client. * Use rsa-2 for server, because rsa-1 is already used for CA (@ca_key, @ca_cert). * Use mldsa65-1 for CA and mldsa65-2 for server. Assisted-by: Claude:Opus 4.6
4fa97ae to
22b8d7b
Compare
The current test is not wrong, but this PR is about refactoring the test to make it better. |
|
Thanks for the explanation. Using the same key shouldn't cause any issues, but I agree this seems inconsistent. BTW, I don't really like that |
I noticed that the rsa-1 is used for certificate (CA) and server in the test/openssl/test_ssl.rb test_pqc_sigalg test, as
@ca_keyand@ca_certare created by rsa-1 according to the following logic:test/openssl/test_ssl.rb
I assume that this may not be intentional. So, I changed the key numbers
certificate (CA), rsa-2 for server, rsa-3 for client.
@ca_cert).
Assisted-by: Claude Code