Package: openssh-common
Version: 1:10.4p1-5
Severity: minor
Tags: patch

  Additional remarks.

  Mails from me to "[email protected]" are no longer acknowledged.  A
Debian maintainer told me, that he would contact the mail administrator
about me not wanting to send bugs upstream.

-.-

Dear Maintainer,

>From "/usr/share/doc/debian/bug-reporting.txt.gz":

  Don't file bugs upstream

   If you file a bug in Debian, don't send a copy to the upstream software
   maintainers yourself, as it is possible that the bug exists only in
   Debian. If necessary, the maintainer of the package will forward the
   bug upstream.

-.-

  For forwarding bug reports to upstream see:

https://www.debian.org/Bugs/Developer#forward

-.-

  "Handling bug reports" in
http://people.debian.org/~enrico/dcg/ch03s02.html

-.-

  I do not send reports upstream if I have to get an account there.
The Debian maintainers have one already.

-.-

   * What led up to the situation?

     Checking for defects with a new version

test-[g|n]roff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z < "man page"

  [Use 

grep -n -e ' $' -e '\\~$' -e ' \\f.$' -e ' \\"' -e ' "$' <file>

  to find (most) trailing spaces.]

  ["test-groff" is a script in the repository for "groff"; is not shipped]
(local copy and "troff" slightly changed by me).

  [The fate of "test-nroff" was decided in groff bug #55941.]

   * What was the outcome of this action?

Output from "test-nroff  -mandoc  -K utf8 -rF0 -rHY=0 -ww -z ":

troff:<stdin>:54: warning [page 1, line 9]: no adjusting mode (.na) is 4 [-w 
break]
troff:<stdin>:54: warning [page 1, line 9]: cannot break line in N adjust mode; 
overset by 4n [-w break]


   * What outcome did you expect instead?

     No output (no warnings).

-.-

  General remarks and further material, if a diff-file exist, are in the
attachments.


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.12+deb14-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages openssh-common depends on:
ii  libc6        2.43-4
ii  libfido2-1   1.17.0-2
ii  libselinux1  3.11-2
ii  libssl3t64   3.6.3-1

openssh-common recommends no packages.

openssh-common suggests no packages.

-- no debconf information
Input file is ssh-keygen.1

Output from "mandoc -T lint  ssh-keygen.1": (shortened list)

      1 WARNING: AUTHORS section without An macro

-.-.

GNU gnulib has recently (2023-06-18) updated its
"build_aux/update-copyright" to recognize "\(en" in man pages.

  '-' is rendered as a hyphen (u2010) in UTF-8 encoding.

ssh-keygen.1:229:Good passphrases are 10-30 characters long, are
ssh-keygen.1:231:prose has only 1-2 bits of entropy per character, and provides 
very bad

-.-.

Add a "\&" (or a comma (Oxford comma)) after an abbreviation
or use English words
(man-pages(7)).
Abbreviation points should be marked as such and protected against being
interpreted as an end of sentence, if they are not, and that independent
of the current place on the line.

748:different domains of use (e.g. file signing vs email signing) must be 
provided
1038:of user presence (e.g. by having the user touch the authenticator).
1053:verified, e.g. by PIN or on-token biometrics.

-.-.


Put a parenthetical sentence, phrase on a separate line,
if not part of a code.
See man-pages(7), item "semantic newline".

ssh-keygen.1:287:resistance to brute-force password cracking (should the keys 
be stolen).
ssh-keygen.1:379:This option will read an unencrypted private (or public) key 
file
ssh-keygen.1:431:safe (Sophie Germain) primes with acceptable group generators.
ssh-keygen.1:466:Specify one or more principals (user or host names) to be 
included in
ssh-keygen.1:635:A raw seconds since epoch (Jan 1 1970 00:00:00 UTC) as a 
hexadecimal
ssh-keygen.1:657:A raw seconds since epoch (Jan 1 1970 00:00:00 UTC) as a 
hexadecimal
ssh-keygen.1:748:different domains of use (e.g. file signing vs email signing) 
must be provided
ssh-keygen.1:833:option, which specifies a different start point (in hex).
ssh-keygen.1:880:Specify start point (in hex) when generating candidate moduli 
for DH-GEX.
ssh-keygen.1:882:Specify desired generator (in decimal) when testing candidate 
moduli for DH-GEX.
ssh-keygen.1:889:more principal (user or host) names and a set of options that
ssh-keygen.1:985:contents (usually indicating a flag).
ssh-keygen.1:998:forwarding (permitted by default).
ssh-keygen.1:1001:Disable port forwarding (permitted by default).
ssh-keygen.1:1004:Disable PTY allocation (permitted by default).
ssh-keygen.1:1014:Disable X11 forwarding (permitted by default).
ssh-keygen.1:1038:of user presence (e.g. by having the user touch the 
authenticator).
ssh-keygen.1:1116:events (user presence) when making signatures.
ssh-keygen.1:1160:The files may either contain a KRL specification (see below) 
or public keys,
ssh-keygen.1:1223:If any key listed on the command line has been revoked (or an 
error encountered)
ssh-keygen.1:1251:The options (if present) consist of comma-separated option 
specifications.

-.-.

Change comment lines of type '.\" ====', '.\" ---', and an empty
'.\"' line) to a single period, as they contain no information and waste
work each time they are processed.

2:.\"
6:.\"
12:.\"
13:.\"
17:.\"
26:.\"
37:.\"

-.-.

Additionally:

Size/bytes:

42167 ssh-keygen.1
42165 ssh-keygen.1.new

-.-

Generally:

Split (sometimes) lines after a punctuation mark; before a conjunction.

-.-

Tables:

  Use the preprocessor 'tbl' to make tables.

  Put data, that are wider than the header in the (centered) last column,
in a "T{...\nT}" block.

  Table headings, that are wider than any data in the corresponding
column, do not need to be centered, so left adjustment (l, L) is
sufficient.  There is thereby no change in the standard output.
--- ssh-keygen.1        2026-09-04 22:50:06.405671715 +0000
+++ ssh-keygen.1.new    2026-09-04 23:13:21.173019224 +0000
@@ -1,20 +1,20 @@
 .\"    $OpenBSD: ssh-keygen.1,v 1.238 2026/07/01 01:14:39 djm Exp $
-.\"
+.
 .\" Author: Tatu Ylonen <[email protected]>
 .\" Copyright (c) 1995 Tatu Ylonen <[email protected]>, Espoo, Finland
 .\"                    All rights reserved
-.\"
+.
 .\" As far as I am concerned, the code I have written for this software
 .\" can be used freely for any purpose.  Any derived versions of this
 .\" software must be clearly marked as such, and if the derived work is
 .\" incompatible with the protocol description in the RFC file, it must be
 .\" called by a name other than "ssh" or "Secure Shell".
-.\"
-.\"
+.
+.
 .\" Copyright (c) 1999,2000 Markus Friedl.  All rights reserved.
 .\" Copyright (c) 1999 Aaron Campbell.  All rights reserved.
 .\" Copyright (c) 1999 Theo de Raadt.  All rights reserved.
-.\"
+.
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
 .\" are met:
@@ -23,7 +23,7 @@
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
-.\"
+.
 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
@@ -34,7 +34,7 @@
 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\"
+.
 .Dd $Mdocdate: July 1 2026 $
 .Dt SSH-KEYGEN 1
 .Os
@@ -226,9 +226,9 @@ arbitrary length.
 A passphrase is similar to a password, except it can be a phrase with a
 series of words, punctuation, numbers, whitespace, or any string of
 characters you want.
-Good passphrases are 10-30 characters long, are
+Good passphrases are 10\(en30 characters long, are
 not simple sentences or otherwise easily guessable (English
-prose has only 1-2 bits of entropy per character, and provides very bad
+prose has only 1\(en2 bits of entropy per character, and provides very bad
 passphrases), and contain a mix of upper and lowercase letters,
 numbers, and non-alphanumeric characters.
 The passphrase can be changed later by using the
@@ -745,7 +745,7 @@ option and may refer to either a private
 half available via
 .Xr ssh-agent 1 .
 An additional signature namespace, used to prevent signature confusion across
-different domains of use (e.g. file signing vs email signing) must be provided
+different domains of use (e.g.\& file signing vs email signing) must be 
provided
 via the
 .Fl n
 flag.
@@ -1035,7 +1035,7 @@ Allows X11 forwarding.
 .Pp
 .It Ic no-touch-required
 Do not require signatures made using this key include demonstration
-of user presence (e.g. by having the user touch the authenticator).
+of user presence (e.g.\& by having the user touch the authenticator).
 This option only makes sense for the FIDO authenticator algorithms
 .Cm ecdsa-sk
 and
@@ -1050,7 +1050,7 @@ format.
 .Pp
 .It Ic verify-required
 Require signatures made using this key indicate that the user was first
-verified, e.g. by PIN or on-token biometrics.
+verified, e.g.\& by PIN or on-token biometrics.
 This option only makes sense for the FIDO authenticator algorithms
 .Cm ecdsa-sk
 and
  Check the output from "lintian" in the Debian distribution.

  Any program (person), that produces man pages, should check the output
for defects by using (both groff and nroff)

[gn]roff -mandoc -t -ww -b -z -K utf8 <man page>

  To find most trailing spaces use

grep -n -e ' $' -e ' \\f.$' -e ' \\"' -e ' "$' <man page>

  The same goes for man pages that are used as an input.

-.-

  For a style guide use

  mandoc -T lint

-.-

  For general input conventions consult the man page "nroff(7)" (item
"Input conventions") or the Texinfo manual about the same item.

-.-

  Any "autogenerator" should check its products with the above mentioned
'groff', 'mandoc', and additionally with 'nroff ...'.

  It should also check its input files for too long (> 80) lines.

  This is just a simple quality control measure.

  The "autogenerator" may have to be corrected to get a better man page,
the source file may, and any additional file may.

  Debian can fix simple bugs in the used generators and distribute them,
and does not need to wait for upstream to do that and distribute them.

-.-

  Common defects:

  Not removing trailing spaces (in in- and output).
  The reason for these trailing spaces should be found and eliminated.

  "git" has a "tool" to point out whitespace,
see for example "git-apply(1)" and git-config(1)")

-.-

  Not beginning each input sentence on a new line.

Line length and patch size should thus be reduced when that has been fixed.

  The script "reportbug" uses 'quoted-printable' encoding when a line is
longer than 1024 characters in an 'ascii' file.

  See man-pages(7), item "semantic newline".

-.-

The difference between the formatted output of the original and patched
file can be seen with a script "cmp.manuals" in the attachment.

  Or

  nroff -mandoc <file1> > <out1>
  nroff -mandoc <file2> > <out2>
  diff -d -u <out1> <out2>

and for groff, using

printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z -

instead of 'nroff -mandoc'

  Add the option '-t', if the file contains a table.

  Read the output from 'diff -d -u ...' with 'less -R' or similar.

-.-.

  If 'man' (man-db) is used to check the manual for warnings,
the following must be set:

  The option "-warnings=w"

  The environmental variable:

export MAN_KEEP_STDERR=yes (or any non-empty value)

  or

  (produce only warnings):

export MANROFFOPT="-ww -b -z"

export MAN_KEEP_STDERR=yes (or any non-empty value)

-.-

Attachment: cmp.manuals.gz
Description: application/gzip

Reply via email to