summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/moduli.513
-rwxr-xr-xdebian/rules5
3 files changed, 15 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index b80418653..0f313a92f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,7 @@ openssh (1:4.7p1-1) UNRELEASED; urgency=low
49 * Refactor debian/rules configure and make invocations to make development 49 * Refactor debian/rules configure and make invocations to make development
50 easier. 50 easier.
51 * Remove the hideously old /etc/ssh/primes on upgrade (closes: #123013). 51 * Remove the hideously old /etc/ssh/primes on upgrade (closes: #123013).
52 * Update moduli(5) to revision 1.11 from OpenBSD CVS.
52 53
53 -- Colin Watson <cjwatson@debian.org> Sun, 23 Dec 2007 12:53:46 +0000 54 -- Colin Watson <cjwatson@debian.org> Sun, 23 Dec 2007 12:53:46 +0000
54 55
diff --git a/debian/moduli.5 b/debian/moduli.5
index b3997658b..3871e88ba 100644
--- a/debian/moduli.5
+++ b/debian/moduli.5
@@ -1,4 +1,4 @@
1.\" $OpenBSD: moduli.5,v 1.7 2003/03/06 20:48:35 jmc Exp $ 1.\" $OpenBSD: moduli.5,v 1.11 2007/05/31 19:19:58 jmc Exp $
2.\" 2.\"
3.\" Copyright 1997, 2000 William Allen Simpson <wsimpson@greendragon.com> 3.\" Copyright 1997, 2000 William Allen Simpson <wsimpson@greendragon.com>
4.\" All rights reserved. 4.\" All rights reserved.
@@ -30,7 +30,7 @@
30.\" 30.\"
31.\" Manual page, using -mandoc macros 31.\" Manual page, using -mandoc macros
32.\" 32.\"
33.Dd July 28, 1997 33.Dd December 24 2007
34.Dt MODULI 5 34.Dt MODULI 5
35.Os 35.Os
36.Sh NAME 36.Sh NAME
@@ -68,7 +68,7 @@ meets basic structural requirements.
68.It 3 : 68.It 3 :
69Schnorr. 69Schnorr.
70.It 4 : 70.It 4 :
71Sophie-Germaine (q = (p-1)/2); 71Sophie-Germain (q = (p-1)/2);
72usually generated in the process of testing safe or strong primes. 72usually generated in the process of testing safe or strong primes.
73.It 5 : 73.It 5 :
74strong; 74strong;
@@ -129,7 +129,7 @@ unused
129.El 129.El
130.Pp 130.Pp
131.Fa Size : decimal . 131.Fa Size : decimal .
132Specifies the number of significant bits. 132Specifies the number of the most significant bit (0 to M).
133.Pp 133.Pp
134.Fa Generator : hex string . 134.Fa Generator : hex string .
135Specifies the best generator for a Diffie-Hellman exchange. 135Specifies the best generator for a Diffie-Hellman exchange.
@@ -144,9 +144,14 @@ Time, Size and Generator criteria.
144When more than one meet the criteria, 144When more than one meet the criteria,
145the selection should be weighted toward newer moduli, 145the selection should be weighted toward newer moduli,
146without completely disqualifying older moduli. 146without completely disqualifying older moduli.
147.Pp
148New moduli may be generated using the
149.Xr ssh-keygen 1
150tool.
147.Sh FILES 151.Sh FILES
148.Bl -tag -width /etc/ssh/moduli -compact 152.Bl -tag -width /etc/ssh/moduli -compact
149.It Pa /etc/ssh/moduli 153.It Pa /etc/ssh/moduli
150.El 154.El
151.Sh SEE ALSO 155.Sh SEE ALSO
156.Xr ssh-keygen 1 ,
152.Xr sshd 8 157.Xr sshd 8
diff --git a/debian/rules b/debian/rules
index cbb119d23..9f86f44c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -396,6 +396,11 @@ binary: binary-indep binary-arch
396faq: 396faq:
397 wget -O debian/faq.html http://www.openssh.org/faq.html 397 wget -O debian/faq.html http://www.openssh.org/faq.html
398 398
399debian/moduli.5:
400 wget -q -O - 'http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/share/man/man5/moduli.5?content-type=text/plain' | \
401 sed 's,/etc/moduli,/etc/ssh/moduli,g; s/\$$Mdocdate\$$/$(shell date +'%B %-d %Y')/' \
402 > debian/moduli.5
403
399.PHONY: build clean binary-indep binary-arch binary install 404.PHONY: build clean binary-indep binary-arch binary install
400.PHONY: build-deb build-udeb 405.PHONY: build-deb build-udeb
401.PHONY: binary-openssh-client binary-openssh-server binary-ssh 406.PHONY: binary-openssh-client binary-openssh-server binary-ssh