~vcs-imports/putty/master

Viewing all changes in revision 5936.

  • Committer: Simon Tatham
  • Date: 2021-02-22 20:53:18 UTC
  • Revision ID: git-v1:b8f3fc4bd1c17c74fa1f17f78eb55a24a4f7a53e
cmdgen: add a --reencrypt option.

This allows you to load and save the same key without making any
semantic changes to it. Currently, you can only do that by pretending
to make a change, like changing the passphrase or the comment to the
same thing it was before.

With two key file formats now supported, and a bunch of reconfigurable
parameters in the v3 key derivation, it's now more likely that you'd
want to re-encrypt the same key in a different way, to upgrade or
downgrade or tinker with it. (Or perhaps even just re-randomise the
salt, so that someone reading the key file doesn't know _whether_
you've changed the passphrase!)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: