Skip to content

Commit

Permalink
sagemathgh-36625: RSA primes must be odd (textbook code fix)
Browse files Browse the repository at this point in the history
this will fix sagemath#36624

URL: sagemath#36625
Reported by: Dima Pasechnik
Reviewer(s): Kwankyu Lee
  • Loading branch information
Release Manager committed Nov 2, 2023
2 parents 51796b5 + 5997da9 commit 15aa6af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=0f90c993748bfc21ae382ac3ce6c19b434edb36c
md5=b8d9355c732997566f68b60c8a8eb9cc
cksum=2280021929
sha1=258e1362858a00bef7751f92fa654499abbc5602
md5=9b18ad20854152ba275af4ce522abfc7
cksum=2307785582
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c0221f90a86e4b4bea4b45ff8de54727313bd755
b7cf01f1c327396edc13388124fc7e102231734a
2 changes: 1 addition & 1 deletion src/sage/tests/book_stein_ent.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
....: proof=proof)
....: q = next_prime(ZZ.random_element(2**(bits//2 +1)),
....: proof=proof)
....: if (p != q): break
....: if (p != q and p > 2 and q > 2): break
....: n = p * q
....: phi_n = (p-1) * (q-1)
....: while True:
Expand Down

0 comments on commit 15aa6af

Please sign in to comment.