Repository navigation
CI: pin opencryptoki to v3.28.0 - #252
afchine1337 wants to merge 2 commits into
Conversation
opencryptoki fixed its AES-CTR implementation on 2026-11-06: it no longer requires the data to be a multiple of the block size (1c5ac77c8) and no longer ignores the nonce for counter widths under 128 bits (e987dd3aa). CI builds opencryptoki from its master branch, so the three tests marked FIXME.opencryptoki for that limitation now pass there, and the strict xfail reports them as unexpected successes: 12 failures per Python version in the opencryptoki jobs, which fail-fast then turns into cancelled macOS and coverage jobs on every new pull request. The markers are removed from test_encrypt_ctr, test_encrypt_ctr_nonce_mismatch and test_aes_ctr_test_vector. test_encrypt_ctr_exactly_padded is kept as it is.
|
Hi, good catch. Pinning to a release is certainly something worth considering--back when this job was first set up it needed some unreleased features, but that doesn't seem to be the case anymore. Feel free to pin the job to the latest release tag. |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #252 +/- ##
==========================================
+ Coverage 91.52% 92.32% +0.80%
==========================================
Files 15 15
Lines 2713 2788 +75
Branches 27 27
==========================================
+ Hits 2483 2574 +91
+ Misses 228 212 -16
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The install-opencryptoki action cloned opencryptoki master, so the suite's results could change with no change in this repository. That is what turned CI red: two AES-CTR fixes merged on opencryptoki master on 2026-11-10 made three strict FIXME.opencryptoki xfails in tests/test_aes.py pass unexpectedly. Pin the clone to the latest release, v3.28.0 (2026-11-04). Both fixes landed after that tag, so the three markers are still right against it and are restored here; the previous commit on this branch had removed them. They go when the pin moves to a release that contains the fixes.
|
Thanks! Pinned to |
The
install-opencryptokiaction cloned opencryptokimaster, so CI results could change with no change in this repository. Two AES-CTR fixes merged on opencryptokimasteron 2026-11-10 (opencryptoki/opencryptoki@1c5ac77c8 and opencryptoki/opencryptoki@e987dd3aa) turned three strictFIXME.opencryptokixfails intests/test_aes.pyinto unexpected successes, which is why #250 and #251 went red.This pins the clone to the latest release,
v3.28.0(2026-11-04), with--depth 1.Both fixes landed after that tag, so the three markers are still correct against it. The first version of this PR removed them; they are back, and the diff against
masteris now the pin alone. They should be dropped together with the next bump of the pin, once a release contains the fixes.