Skip to content

require CryptX as primary crypto backend#47

Merged
toddr merged 1 commit intomainfrom
koan.toddr.bot/require-cryptx-prereq
Apr 5, 2026
Merged

require CryptX as primary crypto backend#47
toddr merged 1 commit intomainfrom
koan.toddr.bot/require-cryptx-prereq

Conversation

@toddr-bot
Copy link
Copy Markdown
Contributor

@toddr-bot toddr-bot commented Apr 5, 2026

What

Promote CryptX from a recommended dependency to a required one in PREREQ_PM.

Why

With Crypt::OpenSSL::RSA removed, the only crypto backend in PREREQ_PM was Crypt::Perl (pure Perl). Users would get the slow pure-Perl crypto by default, with the fast XS backend (CryptX) merely recommended. Since the runtime code in AccountKey.pm already prefers CryptX, making it a hard dependency ensures users actually get it installed.

How

  • Added CryptX => 0 to PREREQ_PM in Makefile.PL
  • Removed CryptX from META_MERGE recommends (no longer optional)
  • Updated POD in Net::ACME2.pm to reflect CryptX as primary, Crypt::Perl as fallback
  • Crypt::Perl stays in PREREQ_PM because tls_alpn_01.pm needs Crypt::Perl::X509v3 for certificate generation

Testing

Full test suite passes (158 tests, 10 test files). Verified edited files compile cleanly.

🤖 Generated with Claude Code


Quality Report

Changes: 2 files changed, 7 insertions(+), 21 deletions(-)

Code scan: clean

Tests: passed (OK)

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

Now that Crypt::OpenSSL::RSA has been removed, promote CryptX from
a recommended dependency to a required one in PREREQ_PM. This ensures
users get the fast XS crypto backend (Crypt::PK::RSA, Crypt::PK::ECC)
by default. Crypt::Perl remains required for X.509 certificate
generation (tls-alpn-01) and as a runtime fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@toddr toddr marked this pull request as ready for review April 5, 2026 21:48
@toddr toddr merged commit 02e883a into main Apr 5, 2026
20 checks passed
@toddr toddr deleted the koan.toddr.bot/require-cryptx-prereq branch April 5, 2026 21:48
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