Complete and qualify the Crypt::OpenSSL::RSA CPAN port

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

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

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

評価

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

調査の方向性

Start by reading src/main/java/org/perlonjava/runtime/perlmodule/CryptOpenSSLRSA.java, CryptOpenSSLBignum.java, src/main/perl/lib/Crypt/OpenSSL/Bignum.pm, and dev/modules/rdf_crypt.md; first pin the upstream release and run its unmodified suite on system Perl and both PerlOnJava backends. Track failures and environment exclusions, then use those results to define compatibility gaps and focused regressions. Done means the stated acceptance checks pass and the porting documentation records the release, test evidence, and unsupported surface.

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

説明

Goal

Complete and document the existing PerlOnJava implementation of Crypt::OpenSSL::RSA against the current upstream distribution.

Current state

The repository already has a Bouncy Castle-backed Java provider (CryptOpenSSLRSA) and a bundled Crypt::OpenSSL::Bignum provider. RDF::Crypt work reused these providers and fixed the use_pkcs1_padding selector. The RSA API is also listed as an exit criterion for the Net::SSLeay completion plan. This issue tracks the standalone module port and its upstream compatibility qualification; it does not assume that a second crypto provider is needed.

Work

  • Pin the upstream Crypt-OpenSSL-RSA release and inspect its Perl, XS, tests, fixtures, and supported behavior.
  • Run the unmodified upstream suite on system Perl and PerlOnJava; record unavailable prerequisites or environment-specific exclusions separately.
  • Close remaining compatibility gaps in the existing Java/Perl providers, preserving upstream Perl behavior and using Bouncy Castle where needed.
  • Add project-owned regressions for externally observed gaps and validate them first with system Perl.
  • Verify bundled loading without an installed CPAN overlay and run the module tests on both JVM and interpreter backends.
  • Update bundled-module and feature-matrix documentation when acceptance is met.

Acceptance

  • The selected upstream test suite passes on both PerlOnJava backends, with any unsupported or environment-dependent cases explicitly documented and justified.
  • Focused project regressions cover each externally observed defect and pass with system Perl and both PerlOnJava backends.
  • The bundled providers load in an isolated CPAN home without relying on installed copies.
  • The porting documentation records the upstream release, test evidence, and remaining unsupported surface.

Initial evidence

The implementation lives in src/main/java/org/perlonjava/runtime/perlmodule/CryptOpenSSLRSA.java and CryptOpenSSLBignum.java; the Perl wrapper is in src/main/perl/lib/Crypt/OpenSSL/Bignum.pm. dev/modules/rdf_crypt.md records previous reuse and one compatibility fix. dev/modules/netssleay_complete.md lists Crypt::OpenSSL::RSA tests as an exit criterion for its RSA phase.

No current standalone upstream run or failing test is asserted here; refresh the evidence against the pinned release before implementation.

主要言語
Perl
スター
67
フォーク
8
平均マージ
5時間 12分
マージ済み PR(30日)
131

環境構築

はじめの一歩

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

fglock/PerlOnJava のほかの issue

fglock/PerlOnJava の issue をすべて見る

似ている issue

Perl の issue をもっと見る

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

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