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

Specify system architecture #116

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shermand100
Copy link
Owner

Users report tor key and update error messages regarding incorrect detection of (1) armhf system architecture and (2) key signature update.

Proposed fixes:

(1) Using 'dpkg --print-architecture' rather than fixed setting a fixed "arch=arm64" for amd64 compatibility. The script will determine architecture and input value for dpkg to source correct tor build. Should work for our ARM devices and also AMD64 too. Errors should now more reliable be genuine if 32 bit/i386 device tries to install.

(2) - Closest related fault - https://forum.torproject.org/t/tor-relays-expkeysig-when-running-apt-update/3646 - This error confused me and I'm not at the cause yet. Seems the tor key image error became out of date, despite our usage of tor install manual instructions and gpg key matching at https://support.torproject.org/apt/tor-deb-repo/
Anyway, we continue to follow those instructions, we follow both step 3 and 4:

  1. Then add the gpg key used to sign the packages by running the following command at your command prompt:

    wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/deb.torproject.org-keyring.gpg >/dev/null

  2. Install tor and tor debian keyring
    We provide a Debian package to help you keep our signing key current. It is recommended you use it. Install it with the following commands:

    apt update

    apt install tor deb.torproject.org-keyring

Only change is we require 'sudo' to tee the entry to /usr/share/keyrings/deb.torproject.org-keyring.gpg

Using 'dpkg --print-architecture' rather than fixed arm64 for amd64 compatibility.
Probably unrelated, but in my duplication of reported fault I used the command with only 'sudo' used for 'tee' entry and update passed, therefore replicating my usage here too.
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.

1 participant