Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

signal: install from Signal's signed apt repository - #65

Open
queitsch wants to merge 1 commit into
linuxserver:masterfrom
queitsch:fix/signal-apt-signature
Open

queitsch wants to merge 1 commit into
linuxserver:masterfrom
queitsch:fix/signal-apt-signature

Conversation

@queitsch

Copy link
Copy Markdown
Contributor

The Dockerfile parsed the repository's Packages file for the newest non-beta Filename and downloaded that .deb over HTTPS. Fetching the package directly skips apt's repository signature checking, so the only integrity guarantee was TLS to updates.signal.org.

Add Signal's signing key (DBA3 6B51 81D0 C816 F630 E889 D980 A174 57F6 FB06, "Open Whisper Systems") to /etc/apt/keyrings and install signal-desktop from the signed repository with signed-by, as the anydesk and firefox apps already do. This also drops the hand rolled version selection, since apt picks the newest non-beta candidate.

The repository publishes amd64 only and holds just signal-desktop and signal-desktop-beta, so the pin cannot shadow Debian packages.

Verified on debian-trixie: both approaches install signal-desktop 8.36.0 and produce an identical package set (369 packages, matching dpkg version hashes, matching /opt/Signal/signal-desktop checksum). Corrupting the keyring makes apt-get update fail, confirming the signature is actually checked.

The Dockerfile parsed the repository's Packages file for the newest
non-beta Filename and downloaded that .deb over HTTPS. Fetching the
package directly skips apt's repository signature checking, so the
only integrity guarantee was TLS to updates.signal.org.

Add Signal's signing key (DBA3 6B51 81D0 C816 F630 E889 D980 A174
57F6 FB06, "Open Whisper Systems") to /etc/apt/keyrings and install
signal-desktop from the signed repository with signed-by, as the
anydesk and firefox apps already do. This also drops the hand rolled
version selection, since apt picks the newest non-beta candidate.

The repository publishes amd64 only and holds just signal-desktop and
signal-desktop-beta, so the pin cannot shadow Debian packages.

Verified on debian-trixie: both approaches install signal-desktop
8.36.0 and produce an identical package set (369 packages, matching
dpkg version hashes, matching /opt/Signal/signal-desktop checksum).
Corrupting the keyring makes apt-get update fail, confirming the
signature is actually checked.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

2 participants