<noinclude>
{{Header}}
__TOC__
= Template Documentation =
This wiki template is used standalone on the [[chroot]] wiki page.

= Template =
</noinclude>Complete the following steps to add the [[Signing Key|{{project_name_short}} Signing Key]] to the system's APT keyring.

Open a terminal.

'''1.''' Package <code>curl</code> needs to be installed.

{{Install Package|package=
curl
}}

'''2.''' Download [[Signing Key|{{project_name_short}} Signing Key]]. <ref>
See [[Secure_Downloads|Secure Downloads]] to understand why <code>curl</code> and the parameters <code>--tlsv1.3</code> are used instead of <code>wget</code>.<br />
<br />
Placing an additional signing key into folder <code>/usr/share/keyrings</code> by itself alone has no impact on security as this folder is not automatically used by Debian's APT by default. Only when an APT sources list configuration file points to folder <code>/usr/share/keyrings</code> using the <code>signed-by</code> keyword the signing key will be actually used. Therefore deleting keys in <code>/usr/share/keyrings</code> is optional if intending to disable an APT repository. See also [[Dev/APT|APT Signing Key Folders]].
</ref>

Choose your operating system.
{{Tab
|type=controller
|content=
{{Tab
|active=true
|addToClass=info-box
|image=[[File:Debian.png|30px]]
|title= {{Headline|h=6|content=A : Debian}}
|content=
<u>'''If''' you are using '''Debian'''</u>, run.

{{signing_key_main_download_command_line
|idplaceholder=Debian
}}
}}
{{Tab
|addToClass=info-box
|image=[[File:Qubes-logo-blue.png|30px]]
|title= {{Headline|h=6|content=B : Qubes}}
|content=
<u>'''If''' you are using a ''Qubes'' '''Debian''' Template</u>, run.

{{signing_key_main_download_command_line
|idplaceholder=Qubes
|curl_extra_args= http_proxy=http://127.0.0.1:8082 https_proxy=http://127.0.0.1:8082
}}
}}
}} <!-- End Tab Controller -->

'''3.''' Users can [[Signing Key|<u>check</u> {{project_name_short}} Signing Key]] for better security.

'''4.''' Done.

The procedure of adding the {{project_name_short}} signing key is now complete.<noinclude>
= Footnotes =
<references />
[[Category:MultiWiki]]
{{Footer}}
</noinclude>