Skip to content

feat: Add zeroize feature#136

Merged
kigawas merged 3 commits intoecies:masterfrom
CCristi:patch-1
Aug 9, 2025
Merged

feat: Add zeroize feature#136
kigawas merged 3 commits intoecies:masterfrom
CCristi:patch-1

Conversation

@CCristi
Copy link
Contributor

@CCristi CCristi commented Aug 6, 2025

Added a new zeroize feature that enables the zeroize support for both x25519-dalek and ed25519-dalek.
Other algorithms already implement zeroize by default .

@codecov
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b3fefdb) to head (13f9a08).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #136   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          531       489   -42     
=========================================
- Hits           531       489   -42     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kigawas kigawas requested a review from Copilot August 7, 2025 16:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new zeroize feature to enable secure memory clearing for cryptographic keys in the x25519-dalek and ed25519-dalek libraries. This feature allows users to opt into secure memory handling for these Curve25519-based cryptographic algorithms.

  • Adds a zeroize feature flag that conditionally enables zeroize support
  • Uses optional dependency syntax to avoid requiring x25519 or ed25519 features to be enabled

@kigawas
Copy link
Member

kigawas commented Aug 7, 2025

Wait for #137

@kigawas kigawas merged commit 8e1eef8 into ecies:master Aug 9, 2025
17 checks passed
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.

2 participants