Bug 2047 - Definition of Sophie Germain primes is wrong in manual moduli.5
Summary: Definition of Sophie Germain primes is wrong in manual moduli.5
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 6.1p1
Hardware: Other Linux
: P5 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_2
  Show dependency treegraph
 
Reported: 2012-11-06 03:33 AEDT by Petr Lautrbach
Modified: 2013-03-22 12:02 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Lautrbach 2012-11-06 03:33:38 AEDT
+++ This bug was initially created as a clone of Bug https://bugzilla.redhat.com/show_bug.cgi?id=841065 +++

Description of problem:
man moduli says:
 4     Sophie Germain; (p+1)*2 is also prime.
but, (p+1)*2 is obviously NOT a prime.
It should be p*2+1.
http://mathworld.wolfram.com/SophieGermainPrime.html

Version-Release number of selected component (if applicable):
openssh-server-5.8p2-25.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1. man moduli
2. search for "Sophie"
  
Actual results:
 4     Sophie Germain; (p+1)*2 is also prime.

Expected results:
 4     Sophie Germain; p*2+1 is also prime.
Comment 1 Damien Miller 2012-11-07 08:37:10 AEDT
oops. It seems we fixed this upstream about a year ago but didn't get the manpage fix into portable OpenSSH. I've merged it and it will be included in openssh-6.2.
Comment 2 Damien Miller 2013-03-22 12:02:07 AEDT
mark bugs closed by openssh-6.2 release as CLOSED