Tartarus CVS: putty simon

tartarus-commits-admin@lists.tartarus.org tartarus-commits-admin@lists.tartarus.org
Sun, 25 Nov 2001 14:31:47 +0000


CVSROOT:	/home/cvs
Module name:	putty
Changes by:	simon	01/11/25 14:31:46

Modified files:
	.              : pageant.c plink.c psftp.c puttygen.c scp.c 
	                 ssh.h sshdss.c sshpubk.c windlg.c 

Log message:
INCOMPATIBLE CHANGE to the SSH2 private key file format. There is
now a passphrase-keyed MAC covering _all_ important data in the
file, including the public blob and the key comment. Should
conclusively scupper any attacks based on nobbling the key file in
an attempt to sucker the machine that decrypts it. MACing the
comment field also protects against a key-substitution attack (if
someone's worked out a way past our DSA protections and can extract
the private key from a signature, swapping key files and
substituting comments might just enable them to get the signature
they need to do this. Paranoid, but might as well).