linux:debian:apt-keyrings
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:debian:apt-keyrings [2026/09/04 20:01] – oscar | linux:debian:apt-keyrings [2026/09/06 05:23] (current) – [APT - Keyrings] oscar | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| |File/ | |File/ | ||
| |--|--|--| | |--|--|--| | ||
| - | |/ | + | |/ |
| + | |/ | ||
| |/ | |/ | ||
| |/ | |/ | ||
| - | |/ | ||
| |/ | |/ | ||
| |/ | |/ | ||
| Line 46: | Line 46: | ||
| Next, you have to determine whether you are given a PGP or GPG file to work with: | Next, you have to determine whether you are given a PGP or GPG file to work with: | ||
| ``` | ``` | ||
| - | # cat tmp.key | + | # file tmp.key |
| - | ----------- | + | -------------- |
| + | tmp.key: PGP public key block Public-Key (old) | ||
| - | -----BEGIN PGP PUBLIC KEY BLOCK----- | + | # file tmp.key |
| - | . . . | + | -------------- |
| + | tmp.key: OpenPGP Public Key Version 4, Created Mon Sep 16 15:07:54 2013, RSA (Encrypt or Sign, 2048 bits); User ID; Signature; OpenPGP Certificate | ||
| ``` | ``` | ||
| - | The first line indicates that this is actually a PGP key file. Take note of this, because | + | The first result |
| ``` | ``` | ||
| Line 70: | Line 72: | ||
| This line contains the following information about the source: | This line contains the following information about the source: | ||
| - | * deb: Specifies that the source uses a Debian package format | + | * deb: Specifies that the source uses a Debian package format |
| * arch=amd64, | * arch=amd64, | ||
| * signed-by=/ | * signed-by=/ | ||
| * https:// | * https:// | ||
| + | |||
| + | **Note:** `signed-by` is **optional**, | ||
| ### Option 2 — Creating a New .list File in sources.list.d | ### Option 2 — Creating a New .list File in sources.list.d | ||
linux/debian/apt-keyrings.1788552100.txt.gz · Last modified: by oscar
