summaryrefslogtreecommitdiff
path: root/doc/apt-key.8.xml
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2022-02-22 18:02:28 +0000
committerJulian Andres Klode <jak@debian.org>2022-02-22 18:02:28 +0000
commit9ee8797408f0973d71110f9f93c21ad17b6b3a6a (patch)
tree36c05dda8274832bc8d0af8d03cd38faf13ae63d /doc/apt-key.8.xml
parent975c55803caca0e34524d6177724ce334b3ffff8 (diff)
parent56adf743b02b80a9acc9a2e480bfd15acb94f755 (diff)
Merge branch 'pu/legacy-keyring-warning' into 'main'
Warn if the legacy trusted.gpg keyring is used for verification See merge request apt-team/apt!209
Diffstat (limited to 'doc/apt-key.8.xml')
-rw-r--r--doc/apt-key.8.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/apt-key.8.xml b/doc/apt-key.8.xml
index 6167a7826..5f2701e0c 100644
--- a/doc/apt-key.8.xml
+++ b/doc/apt-key.8.xml
@@ -202,14 +202,14 @@
<para>If your existing use of <command>apt-key add</command> looks like this:</para>
<para><literal>wget -qO- https://myrepo.example/myrepo.asc | sudo apt-key add -</literal></para>
-<para>Then you can directly replace this with:</para>
+<para>Then you can directly replace this with (though note the recommendation below):</para>
<para><literal>wget -qO- https://myrepo.example/myrepo.asc | sudo tee /etc/apt/trusted.gpg.d/myrepo.asc</literal></para>
<para>Make sure to use the "<literal>asc</literal>" extension for ASCII armored
keys and the "<literal>gpg</literal>" extension for the binary OpenPGP
format (also known as "GPG key public ring"). The binary OpenPGP format works
for all apt versions, while the ASCII armored format works for apt version >=
1.4.</para>
-<para>Instead of placing keys into the <filename>/etc/apt/trusted.gpg.d</filename>
+<para><emphasis>Recommended:</emphasis> Instead of placing keys into the <filename>/etc/apt/trusted.gpg.d</filename>
directory, you can place them anywhere on your filesystem by using the
<literal>Signed-By</literal> option in your <literal>sources.list</literal> and
pointing to the filename of the key. See &sources-list; for details.