When try to factor RSA-260
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyecm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
time pyecm -r 221128255295296
----
output:
Factoring 221128255295296
Searching for primes around 15 digits
Searching for primes around 20 digits
Searching for primes around 25 digits
Searching for primes around 30 digits
Searching for primes around 35 digits
Traceback (most recent call last):
File "/usr/bin/pyecm", line 1478, in <module>
main()
File "/usr/bin/pyecm", line 1472, in main
command_
File "/usr/bin/pyecm", line 1395, in command_line
for factor in factors(n, veb, ra, ov, pr):
File "/usr/bin/pyecm", line 1287, in factors
for factor in ecm(n, ra, ov, veb, trial_division_
File "/usr/bin/pyecm", line 1216, in ecm
for factor in sure_factors(n, u, list(range(sigma, sigma + nc)), veb, ra, ov, tdb, pr):
File "/usr/bin/pyecm", line 797, in sure_factors
f = mainloop(n, u, curve_params)
File "/usr/bin/pyecm", line 927, in mainloop
pgiant_step = multiply(p1, big_multiple, n)
File "/usr/bin/pyecm", line 1134, in multiply
if (d >> pos) & 1:
TypeError: unsupported operand type(s) for >>: 'float' and 'int'
real 149m54.131s
user 120m29.276s
sys 0m4.455s
Thanks for taking your time to report this issue and help making Ubuntu better.
I get the same error message when running the command with pyecm 2.0.3-1 on Ubuntu Groovy. Marking as confirmed.