sigtool
sigtool copied to clipboard
sigtool-3.0.0 cannot decrypt files encrypted with 2.x
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.
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.