Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix aes and kuznyechik CI workflows #311

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

tarcieri
Copy link
Member

Looks like they were broken in #284

@tarcieri tarcieri force-pushed the fix-aes-and-kuznyechik-workflows branch from 731f35a to fac0297 Compare March 17, 2022 16:21
@@ -3,6 +3,7 @@ name: aes
on:
pull_request:
paths:
- ".github/workflows/aes.yml"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably do this everywhere in order to ensure changes to a workflow trigger the workflow

Looks like they were broken in #284
@tarcieri tarcieri force-pushed the fix-aes-and-kuznyechik-workflows branch from fac0297 to 35bd0b4 Compare March 17, 2022 16:38
@tarcieri tarcieri requested a review from newpavlov March 17, 2022 16:38
@@ -81,7 +81,7 @@ impl AlgorithmName for Kuznyechik {
#[cfg_attr(docsrs, doc(cfg(feature = "zeroize")))]
impl Drop for Kuznyechik {
fn drop(&mut self) {
self.keys.zeroize();
self.keys.iter_mut().for_each(|key| key.zeroize());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately the Zeroize impl on core::slice::IterMut couldn't handle this case, I believe because this explicit version works due to implicit deref coercion.

@tarcieri tarcieri merged commit 7fcdd7c into master Mar 17, 2022
@tarcieri tarcieri deleted the fix-aes-and-kuznyechik-workflows branch March 17, 2022 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant