From 8ee3bdfd94b7ef9f81919df4c7102888087cda3c Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 21 Sep 2021 20:54:13 -0400 Subject: [PATCH] Follow up on suggestion from adrelanos https://www.whonix.org/wiki/Template:Apt_key_add_derivative --- i2p2www/pages/downloads/debian.html | 67 ++++++++++++++++++----------- 1 file changed, 41 insertions(+), 26 deletions(-) diff --git a/i2p2www/pages/downloads/debian.html b/i2p2www/pages/downloads/debian.html index 0998a52f..a2894e2b 100644 --- a/i2p2www/pages/downloads/debian.html +++ b/i2p2www/pages/downloads/debian.html @@ -104,52 +104,67 @@ user to root with su or by prefixing each command with sudoDebian wiki and verify with {{ file2 }} on your system. Then, for all Current Debian distributions run the following command to create {{ file }}.{% endtrans %}
-
-
-echo "deb [signed-by=/usr/share/keyrings/i2p-archive-keyring.gpg] https://deb.i2p2.de/ $(lsb_release -sc) main" \
-| sudo tee /etc/apt/sources.list.d/i2p.list
-
-
+
+    
+  echo "deb [signed-by=/usr/share/keyrings/i2p-archive-keyring.gpg] https://deb.i2p2.de/ $(lsb_release -sc) main" \
+  | sudo tee /etc/apt/sources.list.d/i2p.list
+    
+    
  • {% trans repokey=url_for('static', filename='i2p-debian-repo.key.gpg') -%} -Download the key used to sign the repository:{%- endtrans %} -
    -
    +  Download the  key used to sign the repository:{%- endtrans %}
    +    
    +    
       curl -o i2p-archive-keyring.gpg https://geti2p.net/_static/i2p-archive-keyring.gpg
    -
    +

  • -
  • +
  • {% trans -%}Display the key fingerprint.{%- endtrans %}
         
    -  sudo mv ~/i2p-archive-keyring.gpg /usr/share/keyrings
    +  gpg --keyid-format long --import --import-options show-only --with-fingerprint i2p-archive-keyring.gpg
    +    
    +    
    + {% trans -%}Verify that this key fingerprint matches the output:{%- endtrans %} +
    +    
    +  7840 E761 0F28 B904 7535  49D7 67EC E560 5BCF 1346
    +    
    +
  • + +
    + +
  • {% trans -%}Copy the keyring to the keyrings directory:{%- endtrans %} +
    +    
    +  sudo cp ~/i2p-archive-keyring.gpg /usr/share/keyrings
         
  • - {% trans %}Notify your package manager of the new repository by entering{% endtrans %}
    + {% trans %}Notify your package manager of the new repository by entering:{% endtrans %}
         
       sudo apt-get update
    -    
    -{% trans -%} -This command will retrieve the latest list of software from every -repository enabled on your system, including the I2P repository added in step -1. -{%- endtrans %} -

  • -
  • {% trans -%} -You are now ready to install I2P! Installing the i2p-keyring -package will ensure that you receive updates to the repository's GPG key. -{%- endtrans %}
    -
    +    
    {% trans -%}This command will retrieve the latest list of software + from every repository enabled on your system, including the I2P repository + added in step 1.{%- endtrans %} +
  • + +
    + +
  • {% trans -%}You are now ready to install I2P! Installing the i2p-keyring + package will ensure that you receive updates to the repository's GPG key. + {%- endtrans %}
    +
         
       sudo apt-get install i2p i2p-keyring
    -  
  • + +

    {% trans -%}