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

Explore ctor crate or equivalent that calls before any other function is called

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust
領域
cryptography

調査の方向性

まず、公開 API のエントリーポイントを確認し、現在の symcrypt_init() 呼び出しを特定します。ctor-crate を使用するアプローチと、SymCrypt オブジェクトを介した初期化を必須にするアプローチを比較し、選択した方針とその適用範囲を文書化します。初期化戦略について合意され、API 全体で一貫して適用されていれば完了です。

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

説明

We need to call symcrypt_init() each time we enter the API, since we do not know where the API will enter we must call it at every public entry point possible.

This can be avoided by using a crate like ctor that will call before any other function is called, doing this adds the complexity and maintenance of another crate.

Another approach is to refactor the code so that you must init a symcrypt object before calling other method, and all methods would extend from the symcrypt object. This would require refactoring of all of the code.

主要言語
Rust
スター
73
フォーク
16
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

microsoft/rust-symcrypt のほかの issue

microsoft/rust-symcrypt の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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