keybase / keybase-issues

A single repo for managing publicly recognized issues with the keybase client, installer, and website.
902 stars 37 forks source link

I am not able to decrypt saltpack message using keybase #3011

Open gilquinobi opened 7 years ago

gilquinobi commented 7 years ago

My message begins with this BEGIN KEYBASE SALTPACK ENCRYPTED MESSAGE.

I have used these instructions and also used the online keybase decrypt without any luck, please help

keybase decrypt --infile myfile.txt keybase decrypt -i myfile.txt -o decrypted.txt keybase saltpack myfile.txt

example I used keybase decrypt -i myfile.txt -o decrypted.txt

ERROR Wrong saltpack message type: wanted an encrypted message, but got an unknown message type instead

Client: 1.0.20-20170317111045+6cc2f52 Service: 1.0.20-20170317111045+6cc2f52

oconnor663 commented 7 years ago

Could you include the whole error message please? We just shipped a v2 of the saltpack format, and that could've caused some problems, but it's hard to know without seeing the error.

gilquinobi commented 7 years ago

I used keybase decrypt -i myfile.txt -o decrypted.txt

ERROR Wrong saltpack message type: wanted an encrypted message, but got an unknown message type instead

oconnor663 commented 7 years ago

That sounds like a v2 issue. What's the output of keybase version? Could you see if updating Keybase fixes the problem for you?

gilquinobi commented 7 years ago

Client: 1.0.20-20170317111045+6cc2f52 Service: 1.0.20-20170317111045+6cc2f52

cjb commented 7 years ago

@gilquinobi This is an old version, can you upgrade?

oconnor663 commented 7 years ago

For what it's worth, that does look like the wrong error message. We should be checking the version before we check the message type. I'll file a ticket for that.