Closed losuler closed 3 years ago
hi @losuler. This is indeed because you were using the encrypted keys option which is no longer currently supported (still trying to figure out what i want to do with that, but feel free to add your +1 in https://github.com/dan-v/rattlesnakeos-stack/issues/188). Basically new keys got generated in <stackname-keys>
which do not match what you are currently using and the OTA update is being rejected. In order to go from encrypted keys option back to non encrypted, you'll need to:
<stackname-keys-encrypted>
S3 bucket<stackname-keys>
<stackname-keys>
Let me know if that is enough detail. Apologies for dropping support for the encrypt keys option, I think there is a total of 4 people that I've heard from so far that were using this setup, so definitely still some interest in bringing this back in some form.
Thanks for the help. After I wrote this issue I was looking at the S3 bucket and figured this probably was the case seeing as stackname-keys
had newly generated keys in them. I'm glad it was just as easy as replacing those files with my decrypted ones. After doing this the rebuild and OTA update applied without error.
Thanks again for all your work on RattlesnakeOS. I really appreciate it.
Prerequisites
Description
Updating from stack version 11.0.6 (which built RQ1A.210205.004, the February security update) to 11.0.10 (which built RQ2A.210405.005, the April security update) and completing the migration steps as per https://old.reddit.com/r/RattlesnakeOS/comments/lvuwfi/mar_2021_update_and_v1107/. Results in the RattlesnakeOS Updater showing the error, "Signature doesn't match any trusted key" upon downloading the update.
I've included my
~/.rattlesnakeos.toml
that I used for this and prior to the migration further below. My only guess is this is possibly related the fact that I was usingencrypted-keys = true
prior to the migration. Could this be the reason for the update error?Steps to Reproduce
~/.rattlesnakeos.toml
../rattlesnakeos-stack deploy --dry-run --save-config
.~/.rattlesnakeos.toml
../rattlesnakeos-stack deploy
followed by./rattlesnakeos-stack build start
.Platform
Linux.
Full Config Used for Setup
You can mask stack name and email from here.
Full Config Used for Setup Prior
You can mask stack name and email from here.
Error Message