Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
| Порівняння попередніх версій Попередня ревізія Наступна ревізія | Попередня ревізія | ||
|
software:os:linux:additional_repos [2023/02/14 19:28] charon [2. Download key in file from developer's location] |
software:os:linux:additional_repos [2023/02/14 19:58] (поточний) charon [Add signing key for repository] |
||
|---|---|---|---|
| Рядок 16: | Рядок 16: | ||
| I think it means if you need to bother with key, then just put it to /// | I think it means if you need to bother with key, then just put it to /// | ||
| + | ===== Using new .sources ===== | ||
| + | .sources file instead of a .list file. This method is relatively new, and uses the deb822 multiline format that is less ambiguous compared to the deb . . . declaration, | ||
| + | Types: deb | ||
| + | Architectures: | ||
| + | Signed-By: / | ||
| + | URIs: https:// | ||
| + | Suites: jammy | ||
| + | Components: main | ||
| + | |||
| ===== How to get the key ===== | ===== How to get the key ===== | ||
| There are two ways, depending on what package developer implemented | There are two ways, depending on what package developer implemented | ||
| ==== 1. Download key from keyserver or keyserver pool ==== | ==== 1. Download key from keyserver or keyserver pool ==== | ||
| - | First, download the key from keyserver to local user storage: | + | sudo gpg --homedir /tmp --no-default-keyring --keyring |
| - | | + | |
| - | Another keyserver: // | + | |
| - | + | ||
| - | After that export key to file and put it to keyring | + | |
| - | gpg --export 8ED17AF5D7E675EB3EE3BCE98AC3B29174885C03 |sudo tee / | + | |
| - | <WRAP center round important 60%> | + | |
| - | I didn't find out whether key should be ascii-armored or not. Most likely should be unarmored (binary). | + | |
| - | </ | + | |
| ==== 2. Download key in file from developer' | ==== 2. Download key in file from developer' | ||