doc-public/source/tech_conf/gpg/preparation.rst
GnomeZworc d8590527fe 2024-02-18-01
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2024-02-18 12:37:19 +01:00

51 lines
No EOL
1.3 KiB
ReStructuredText

Preparation
===========
.. note::
Pour cette partie du tutoriel on aura besoin d'internet sur un post linux
l'ISO
-----
Telechargement
++++++++++++++
On commence par telecharger un iso linux (debian)
.. code-block::
curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS"
curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS.sign"
curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/$(awk '/xfce.iso$/ {print $2}' SHA512SUMS)"
Verification
++++++++++++
Maintenant on va verifier que l'iso est bien legitime
On commence par recuperer la clee debian
.. code-block::
gpg --keyserver hkps://keyring.debian.org --recv DF9B9C49EAA9298432589D76DA87E80D6294BE9B
Puis on verifie que le fichier sha est bien signer par la clee que l'on viens de telecharger
.. code-block::
gpg --verify SHA512SUMS.sign SHA512SUMS
# on dois voir: gpg: Good signature from "Debian CD signing key <debian-cd@lists.debian.org>"
Et maintenant on verifie que l'iso est le bon
.. code-block::
grep $(sha512sum debian-live-*-amd64-xfce.iso) SHA512SUMS
.. note::
Pour plus d'info sur cette partie de la verification d'un iso debian on peut regarder: `a debian`_.
.. _a debian: https://www.debian.org/CD/verify