Skip to content

Fix private key comparison#985

Merged
maraino merged 1 commit intomasterfrom
mariano/fix-972
Mar 24, 2026
Merged

Fix private key comparison#985
maraino merged 1 commit intomasterfrom
mariano/fix-972

Conversation

@maraino
Copy link
Contributor

@maraino maraino commented Mar 24, 2026

This commit fixes the test TestKMS_CreateKey on the platform package. Big integers, specially the precomputed ones in RSA keys might have leading zeros, causing flaky test runs. This change uses the Equal method to compare the keys, and then just use the response key instead.

Fixes #972

This commit fixes the test TestKMS_CreateKey on the platform package.
Big integers, specially the precomputed ones in RSA keys might have
leading zeros, causing flaky test runs. This change uses the Equal
method to compare the keys, and then just use the response key instead.

Fixes #972
@maraino maraino requested a review from hslatman March 24, 2026 17:59
@maraino maraino enabled auto-merge March 24, 2026 18:10
@maraino maraino merged commit 36bcd36 into master Mar 24, 2026
14 checks passed
@maraino maraino deleted the mariano/fix-972 branch March 24, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Flaky softkms test

3 participants