Bug 2047

Summary: Definition of Sophie Germain primes is wrong in manual moduli.5
Product: Portable OpenSSH Reporter: Petr Lautrbach <plautrba>
Component: DocumentationAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: djm
Priority: P5    
Version: 6.1p1   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 2035    

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