Skip to content

Conversation

@x-64
Copy link
Contributor

@x-64 x-64 commented Dec 15, 2025

Line from sage.rings.generic import ProductTree in montgomery_isogenies/kummer_isogeny.py fails but is not necessary.
Fixes #144

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR attempts to fix a failing import by commenting out the ProductTree import from sage.rings.generic. However, ProductTree is actually used in the code on line 428 within the KummerLineIsogeny_VeluSqrt._hI_precomputation method. While the challenge code doesn't trigger this code path due to using small primes (< 587) with a default threshold of 1500, commenting out the import will break the VéluSqrt functionality and cause a NameError if that code path is ever executed.

Key Changes

  • Commented out the import statement for ProductTree from sage.rings.generic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

sekaictf2025 crypto-394-alter-ego

2 participants