Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sigtool-3.0.0 cannot decrypt files encrypted with 2.x #11

Open
uli-heller opened this issue Jan 25, 2023 · 1 comment
Open

sigtool-3.0.0 cannot decrypt files encrypted with 2.x #11

uli-heller opened this issue Jan 25, 2023 · 1 comment

Comments

@uli-heller
Copy link
Contributor

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.

@opencoff
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants