-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
signald: 0.19.1 -> 0.23.0 #198121
signald: 0.19.1 -> 0.23.0 #198121
Conversation
Replaces/Closes NixOS#174256 Needed because the CA of a signal server seems to have changed[1] which has caused the following errors to appear while trying to send messages from Matrix (via `mautrix-signal` and subsequently `signald`): ⚠ Your message was not bridged: org.whispersystems.signalservice.api.push.exceptions.PushNetworkException, javax.net.ssl.SSLHandshakeException, sun.security.validator.ValidatorException, sun.security.provider.certpath.SunCertPathBuilderException: org.whispersystems.signalservice.api.push.exceptions.PushNetworkException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Migration can be performed by running a command like $ signald \ -d /var/lib/signald/data \ --database sqlite:/var/lib/signald/db \ -s /run/signald/signald.sock \ --migrate-data before starting signald itself. ChangeLogs: * https://gitlab.com/signald/signald/-/blob/main/releases/0.20.0.md * https://gitlab.com/signald/signald/-/blob/main/releases/0.21.0.md * https://gitlab.com/signald/signald/-/blob/main/releases/0.22.0.md * https://gitlab.com/signald/signald/-/blob/main/releases/0.22.1.md * https://gitlab.com/signald/signald/-/blob/main/releases/0.22.2.md * https://gitlab.com/signald/signald/-/blob/main/releases/0.23.0.md [1] https://gitlab.com/signald/signald/-/blob/main/releases/0.23.0.md
I get a hash-mismatch:
With the fixed hash, signald works again for me. |
@Flakebi Cannot reproduce and the CI also agrees with the hash I pushed. A few things that might've caused this: did you cherry-pick the commit onto another branch before building? From which country did you perform the requests? (Perhaps a different CDN is at fault, but I really hope it's not the case although I observed it once). Can you perhaps share the fixed-output-path of |
Building the branch of this PR works fine, I got the mismatch when running Edit: When I build the PR branch first and then try |
Ok... which attribute path exactly failed? Can you give me a command, please?
Yes. You can remove it again with either |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I tried back then, the command was nixpkgs-review pr 198121
.
But I can’t reproduce it anymore when merging this into nixos-unstable
, I also get sha256-ANiNDdTuCuDEH5zUPsrVF6Uegdq3zVsMv+uMtYRX0jE=
as the correct hash now.
Maybe the migration steps should be mentioned in the release notes for 22.11 |
You're right, sorry. Will file a PR later for that, thanks for pointing this out! :) |
Description of changes
Note: I guess it'd make sense to backport, but perhaps we should do it in a less invasive way, i.e. without having to migrate all your data. OTOH I'm not sure if it's a good idea to cherry-pick db migrations from later versions as it'd perhaps cause issues on later upgrades, so I'm open for suggestions.
Replaces/Closes #174256
Needed because the CA of a signal server seems to have changed[1] which has caused the following errors to appear while trying to send messages from Matrix (via
mautrix-signal
and subsequentlysignald
):Migration can be performed by running a command like
before starting signald itself.
ChangeLogs:
[1] https://gitlab.com/signald/signald/-/blob/main/releases/0.23.0.md
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes