Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

dhkem: X25519 secret keys aren't zeroized on drop

オープン
#395 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust

調査の方向性

The issue identifies the dhkem feature configuration and x25519-dalek/zeroize dependency feature as the relevant areas. Read the crate’s feature declarations and compare them with how x-wing enables zeroization; verify the behavior in a standalone crate, since workspace tests mask it. Done means downstream X25519DecapsulationKey values are zeroized on drop when dhkem’s default zeroize feature is enabled.

索引モデルが issue の本文から書いたものです。

説明

dhkem enables its zeroize feature by default, but doesn't enable x25519-dalek/zeroize. As a result, X25519DecapsulationKey isn't zeroized on drop for downstream users.

This doesn't show up when testing the full workspace because x-wing enables the feature. I confirmed the issue in a standalone crate.

I'll start working on a PR to address this.

主要言語
Rust
スター
119
フォーク
58
平均マージ
1日 21時間
マージ済み PR(30日)
11

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RustCrypto/KEMs のほかの issue

RustCrypto/KEMs の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。