You are viewing a single thread.
View all comments View context
1 point

@gomp Why would you be taking the signature from the same website? Ever heard of PGP key servers?

permalink
report
parent
reply
1 point

That would be “a pre-shared trusted signature to check against”, and is seldom available (in the real world where people live - yes, there are imaginary/ideal worlds where PGP is widespread and widely used) :)

permalink
report
parent
reply
1 point

@gomp You mean, as seldom available as every apt install ever? https://superuser.com/a/990153

permalink
report
parent
reply
1 point
*

My bad for causing confusion: when I wrote “trusted signature” I should have said “trusted public key”.

The signatures in an apt repo need to be verified with some public key (you can think of signatures as hashes encrypted with some private key).

For the software you install from your distro’s “official” repo, that key came with the .iso back when you installed your system with (it may have been updated afterwards, but that’s beyond the point here).

When you install from third-party repos, you have to manually trust the key (IIRC in Ubuntu it’s something like curl <some-url> | sudo apt-key add -?). So, this key must be pre-shared (you usually get it from the dev’s website) and trusted.

permalink
report
parent
reply

Open Source

!opensource@lemmy.ml

Create post

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

Community stats

  • 4.7K

    Monthly active users

  • 1.1K

    Posts

  • 9.1K

    Comments