Apt key add

From Whonix

Securely download the key.

curl --tlsv1.2 --proto =https --location --remote-name-all --remote-header-name {{{url}}}

Display the key's fingerprint.

gpg --keyid-format long --import --import-options show-only --with-fingerprint {{{source_filename}}}

Verify the fingerprint. Should show.


Ambox warning pn.svg.png Warning:

Do not continue if the fingerprint does not match! This risks using infected or erroneous files! The whole point of verification is to confirm file integrity.

Add the signing key.

sudo apt-key --keyring {{{target_filename}}} add {{{source_filename}}}