sigtool icon indicating copy to clipboard operation
sigtool copied to clipboard

sigtool-3.0.0 cannot decrypt files encrypted with 2.x

Open uli-heller opened this issue 2 years ago • 1 comments

When you try to decrypt a file encrypted with an older version of sigtool, you'll get an error like below:

./bin/linux-amd64/sigtool decrypt  ~/.ssh/my-private-key -o b a.enc
Enter passphrase for private key:
./bin/linux-amd64/sigtool: decrypt: Unsupported version 2; this tool only supports v3

This means you cannot decrypt any files you previously encrypted. Maybe such a behavior should at least be mentioned within the release notes? I'll stick with 2.x for now.

uli-heller avatar Jan 25 '23 14:01 uli-heller

V sorry - I had to bump the version# to 3 to add sender integrity protection; this caused format changes (including addition of a new 'trailer' at the end of the encrypted file.

opencoff avatar Nov 12 '23 20:11 opencoff