1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/doc
Simon Tatham 0fadffe0cb Add command-line passphrase-file options to command-line PuTTYgen.
Patch due to Colin Watson.

Putting the passphrase in a file avoids exposing it to 'ps' which can
print out every process's command line, while at the same time not
being as platform-specific as the approach of providing an fd number
(since cmdgen.c is in principle a potential cross-platform PuTTYgen,
not just a Unix one, which is why it's not in the 'unix' directory).

Of course it introduces its own risks if someone can read the file
from your disk after you delete it; probably the best approach to
avoiding this, if possible, is to point the option at a file on an
in-memory tmpfs type file system. Or better still, use bash-style
/dev/fd options such as

  puttygen --new-passphrase <(echo -n "my passphrase") [options]

Failing that, try a secure file-wipe utility, as the man page change
mentions.

(And a use case not to be overlooked, of course, is the one where you
actually want to generate an unprotected key - in which case, just
pass /dev/null as the filename.)
2016-03-17 18:55:57 +00:00
..
blurb.but Autogenerate licence text in doc subdir from LICENCE. 2016-02-29 19:59:35 +00:00
chm.but Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00
chm.css Minor style tweaks for the CHM. 2006-12-19 10:28:44 +00:00
config.but Update docs/usage for 'plink -shareexists'. 2015-10-22 01:48:35 +01:00
errors.but Document 'Cannot assign requested address' error. 2016-02-29 19:59:33 +00:00
faq.but Add a FAQ for 'checksum mismatch' reports. 2015-10-29 09:27:53 +00:00
feedback.but Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00
gs.but Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00
index.but Update docs/usage for 'plink -shareexists'. 2015-10-22 01:48:35 +01:00
intro.but Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00
Makefile Autogenerate licence text in doc subdir from LICENCE. 2016-02-29 19:59:35 +00:00
man-pag.but Unix Pageant: man page and online help. 2015-05-19 18:24:04 +01:00
man-pg.but Add command-line passphrase-file options to command-line PuTTYgen. 2016-03-17 18:55:57 +00:00
man-pl.but Rationalise and document log options somewhat. 2016-02-29 19:59:32 +00:00
man-pscp.but Rationalise and document log options somewhat. 2016-02-29 19:59:32 +00:00
man-psft.but Rationalise and document log options somewhat. 2016-02-29 19:59:32 +00:00
man-ptel.but Rationalise and document log options somewhat. 2016-02-29 19:59:32 +00:00
man-pter.but Rationalise and document log options somewhat. 2016-02-29 19:59:32 +00:00
man-putt.but Rationalise and document log options somewhat. 2016-02-29 19:59:32 +00:00
mancfg.but Now that Halibut is capable of generating man pages better than I 2004-03-24 19:36:04 +00:00
manpages.but Now that Halibut is capable of generating man pages better than I 2004-03-24 19:36:04 +00:00
pageant.but Update docs for Ed25519 and ChaCha20-Poly1305. 2015-10-22 01:48:02 +01:00
pgpkeys.but Mention the new Secure Contact Key in the GPG docs appendix. 2016-02-29 19:59:37 +00:00
plink.but Merge branch 'pre-0.67' 2016-02-29 19:59:59 +00:00
pscp.but Update version number for 0.67 release. 2016-02-29 19:59:59 +00:00
psftp.but Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00
pubkey.but Update docs for Ed25519 and ChaCha20-Poly1305. 2015-10-22 01:48:02 +01:00
site.but Hmm, that relative link wasn't too good. Try a more helpful one. 2003-10-30 10:41:59 +00:00
sshnames.but Cross-reference the description of winadj@putty.projects.tartarus.org 2014-10-21 11:33:33 +00:00
udp.but Stop using abs(unsigned) in X11 time comparison. 2015-08-27 18:44:51 +01:00
using.but Document the new session-logging command line options. 2015-11-07 09:53:03 +00:00
vids.but Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00