mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 09:12:24 +00:00
Merge PuTTYgen cosmetic/doc fixes from 'pre-0.78'.
This commit is contained in:
commit
b003ab833b
4
cmdgen.c
4
cmdgen.c
@ -130,13 +130,17 @@ void help(void)
|
|||||||
" public RFC 4716 / ssh.com public key\n"
|
" public RFC 4716 / ssh.com public key\n"
|
||||||
" public-openssh OpenSSH public key\n"
|
" public-openssh OpenSSH public key\n"
|
||||||
" fingerprint output the key fingerprint\n"
|
" fingerprint output the key fingerprint\n"
|
||||||
|
" cert-info print certificate information\n"
|
||||||
" text output the key components as "
|
" text output the key components as "
|
||||||
"'name=0x####'\n"
|
"'name=0x####'\n"
|
||||||
" -o specify output file\n"
|
" -o specify output file\n"
|
||||||
" -l equivalent to `-O fingerprint'\n"
|
" -l equivalent to `-O fingerprint'\n"
|
||||||
" -L equivalent to `-O public-openssh'\n"
|
" -L equivalent to `-O public-openssh'\n"
|
||||||
" -p equivalent to `-O public'\n"
|
" -p equivalent to `-O public'\n"
|
||||||
|
" --cert-info equivalent to `-O cert-info'\n"
|
||||||
" --dump equivalent to `-O text'\n"
|
" --dump equivalent to `-O text'\n"
|
||||||
|
" -E fptype specify fingerprint output type:\n"
|
||||||
|
" sha256, md5, sha256-cert, md5-cert\n"
|
||||||
" --certificate file incorporate a certificate into the key\n"
|
" --certificate file incorporate a certificate into the key\n"
|
||||||
" --remove-certificate remove any certificate from the key\n"
|
" --remove-certificate remove any certificate from the key\n"
|
||||||
" --reencrypt load a key and save it with fresh "
|
" --reencrypt load a key and save it with fresh "
|
||||||
|
@ -12,10 +12,12 @@
|
|||||||
\e bbbbbbbb iiiiiii bb iiiiiii bb iiii bbbbbbbb iiiiii bb
|
\e bbbbbbbb iiiiiii bb iiiiiii bb iiii bbbbbbbb iiiiii bb
|
||||||
\c [ -C new-comment ] [ -P ] [ --reencrypt ]
|
\c [ -C new-comment ] [ -P ] [ --reencrypt ]
|
||||||
\e bb iiiiiiiiiii bb bbbbbbbbbbb
|
\e bb iiiiiiiiiii bb bbbbbbbbbbb
|
||||||
\c [ -O output-type | -l | -L | -p | --dump ] [ -E fptype ]
|
\c [ --certificate cert-file | --remove-certificate ]
|
||||||
\e bb iiiiiiiiiii bb bb bb bbbbbb bb iiiiii
|
\e bbbbbbbbbbbbb iiiiiiiii bbbbbbbbbbbbbbbbbbbb
|
||||||
\c [ --ppk-param key=value,... ]
|
\c [ -O output-type | -l | -L | -p | --dump | --cert-info ]
|
||||||
\e bbbbbbbbbbb iiibiiiiib
|
\e bb iiiiiiiiiii bb bb bb bbbbbb bbbbbbbbbbb
|
||||||
|
\c [ --ppk-param key=value,... | -E fptype ]
|
||||||
|
\e bbbbbbbbbbb iiibiiiiib bb iiiiii
|
||||||
\c [ -o output-file ]
|
\c [ -o output-file ]
|
||||||
\e bb iiiiiiiiiii
|
\e bb iiiiiiiiiii
|
||||||
|
|
||||||
@ -58,8 +60,9 @@ ssh.com's implementation.
|
|||||||
|
|
||||||
You can also specify a file containing only a \e{public} key here.
|
You can also specify a file containing only a \e{public} key here.
|
||||||
The operations you can do are limited to outputting another public
|
The operations you can do are limited to outputting another public
|
||||||
key format or a fingerprint. Public keys can be in RFC 4716 or
|
key format (possibly removing an attached certificate first), or a
|
||||||
OpenSSH format, or the standard SSH-1 format.
|
fingerprint. Public keys can be in RFC 4716 or OpenSSH format, or
|
||||||
|
the standard SSH-1 format.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,7 +151,8 @@ modifying an existing key.
|
|||||||
\dd Adds an OpenSSH-style certificate to the public half of the key,
|
\dd Adds an OpenSSH-style certificate to the public half of the key,
|
||||||
so that the output file contains a certified public key with the same
|
so that the output file contains a certified public key with the same
|
||||||
private key. If the input file already contained a certificate, it
|
private key. If the input file already contained a certificate, it
|
||||||
will be replaced with the new one.
|
will be replaced with the new one. (Use \cq{-} to read a certificate
|
||||||
|
from standard input.)
|
||||||
|
|
||||||
\dt \cw{\-\-remove\-certificate}
|
\dt \cw{\-\-remove\-certificate}
|
||||||
|
|
||||||
@ -288,8 +292,9 @@ SSH.
|
|||||||
|
|
||||||
\lcont{
|
\lcont{
|
||||||
The output consists of a series of \cw{name=value} lines, where each
|
The output consists of a series of \cw{name=value} lines, where each
|
||||||
\c{value} is either a C-like string literal in double quotes, or a
|
\c{value} is either a C-like string literal in double quotes, a
|
||||||
hexadecimal number starting with \cw{0x...}
|
hexadecimal number starting with \cw{0x...}, or a binary blob
|
||||||
|
encoded with base64, denoted by \cw{b64("...")}.
|
||||||
}
|
}
|
||||||
|
|
||||||
If no output type is specified, the default is \c{private}.
|
If no output type is specified, the default is \c{private}.
|
||||||
@ -302,8 +307,9 @@ If no output type is specified, the default is \c{private}.
|
|||||||
this option is not specified, \c{puttygen} will assume you want to
|
this option is not specified, \c{puttygen} will assume you want to
|
||||||
overwrite the original file if the input and output file types are
|
overwrite the original file if the input and output file types are
|
||||||
the same (changing a comment or passphrase), and will assume you
|
the same (changing a comment or passphrase), and will assume you
|
||||||
want to output to stdout if you are asking for a public key or
|
want to output to stdout if you are asking for a public key,
|
||||||
fingerprint. Otherwise, the \c{\-o} option is required.
|
fingerprint, or one of the textual dump types. Otherwise, the
|
||||||
|
\c{\-o} option is required.
|
||||||
|
|
||||||
\dt \cw{\-l}
|
\dt \cw{\-l}
|
||||||
|
|
||||||
|
@ -535,7 +535,8 @@ The options supported on the command line are:
|
|||||||
\dt \cw{\-t} \e{keytype}
|
\dt \cw{\-t} \e{keytype}
|
||||||
|
|
||||||
\dd Type of key to generate. You can select \c{rsa}, \c{dsa},
|
\dd Type of key to generate. You can select \c{rsa}, \c{dsa},
|
||||||
\c{ecdsa}, \c{eddsa} or \c{rsa1}. See \k{puttygen-keytype}.
|
\c{ecdsa}, \c{eddsa}, \c{ed25519}, \c{ed448}, or \c{rsa1}.
|
||||||
|
See \k{puttygen-keytype}.
|
||||||
|
|
||||||
\dt \cw{\-b} \e{bits}
|
\dt \cw{\-b} \e{bits}
|
||||||
|
|
||||||
|
@ -1402,14 +1402,14 @@ static INT_PTR CertInfoProc(HWND hwnd, UINT msg, WPARAM wParam,
|
|||||||
ES_AUTOHSCROLL | ES_READONLY;
|
ES_AUTOHSCROLL | ES_READONLY;
|
||||||
if (item->type == SDT_MORE_INFO_VALUE_BLOB) {
|
if (item->type == SDT_MORE_INFO_VALUE_BLOB) {
|
||||||
rk.left = 12;
|
rk.left = 12;
|
||||||
rk.right = 426;
|
rk.right = 286;
|
||||||
rk.top = y;
|
rk.top = y;
|
||||||
rk.bottom = 8;
|
rk.bottom = 8;
|
||||||
y += 10;
|
y += 10;
|
||||||
|
|
||||||
editstyle |= ES_MULTILINE;
|
editstyle |= ES_MULTILINE;
|
||||||
rv.left = 12;
|
rv.left = 12;
|
||||||
rv.right = 426;
|
rv.right = 286;
|
||||||
rv.top = y;
|
rv.top = y;
|
||||||
rv.bottom = 64;
|
rv.bottom = 64;
|
||||||
y += 68;
|
y += 68;
|
||||||
@ -1420,7 +1420,7 @@ static INT_PTR CertInfoProc(HWND hwnd, UINT msg, WPARAM wParam,
|
|||||||
rk.bottom = 8;
|
rk.bottom = 8;
|
||||||
|
|
||||||
rv.left = 150;
|
rv.left = 150;
|
||||||
rv.right = 438;
|
rv.right = 298;
|
||||||
rv.top = y;
|
rv.top = y;
|
||||||
rv.bottom = 12;
|
rv.bottom = 12;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user