Add optional support for GOST 2012 DNSSEC (RFC 9558)

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c

調査の方向性

Start by reading RFC 9558 and the issue’s description of the existing implementation and test coverage. The issue does not name systemd files or test entry points, and maintainers have not yet decided whether a libgcrypt- or OpenSSL-based approach is preferred. Done would include GOST DNSKEY, RRSIG verification, and DS digest validation with regression tests, while accepting valid signatures and rejecting invalid ones.

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

説明

resolve RFE 🎁
Component

systemd-resolved

Is your feature request related to a problem? Please describe

Hello,

We would like to propose adding support for DNSSEC algorithm 23 (GOST R 34.10-2012) and DS digest type 5 (GOST R 34.11-2012), as specified in [RFC 9558](https://www.rfc-editor.org/rfc/rfc9558.html).

RFC 9558 describes the use of Russian GOST 2012 cryptographic algorithms in DNSSEC.

We have already implemented this functionality in [NICE.OS Linux](https://niceos.ru) and successfully tested it with two cryptographic backends:

  • libgcrypt — native GOST 2012 support without additional cryptographic engines.
  • OpenSSL — working implementation that requires an additional GOST engine.

Our implementation supports GOST 2012 DNSKEY, RRSIG signature verification, and DS digest validation.

We have successfully completed:

  • RFC 9558 cryptographic test vectors.
  • Positive and negative signature verification tests.
  • Integration testing with systemd-resolved in an isolated network environment.
  • Verification that correctly signed DNS responses are accepted with AD=1.
  • Verification that invalid GOST signatures are rejected with SERVFAIL and AD=0.
  • Testing of the compiled RPM binaries.

Both implementations are functional, but we prefer libgcrypt, as it provides the required GOST algorithms natively without an additional OpenSSL GOST engine.

We would like to contribute our implementation to upstream systemd.

Before submitting a pull request, we would appreciate feedback from the maintainers on whether a libgcrypt-based implementation would be acceptable, or whether integration through OpenSSL would be preferred.

We are ready to prepare a clean upstream patch with the implementation and regression tests.

Thank you!

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

The systemd version you checked that didn't have the feature you are asking for

No response

主要言語
C
スター
17k
フォーク
4.8k
平均マージ
2日 10時間
マージ済み PR(30日)
342

環境構築

はじめの一歩

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

systemd/systemd のほかの issue

systemd/systemd の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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