- Faça o download do arquivo da chave:
wget https://ossec.github.io/files/OSSEC-ARCHIVE-KEY.asc
- Inspecione o arquivo de chaves para confirmar se ele possui
EE1B0E6B2D8387B7
seu código de chave.
gpg --keyid-format long --list-options show-keyring OSSEC-ARCHIVE-KEY.asc
- Se correto, importe a chave:
gpg --import OSSEC-ARCHIVE-KEY.asc
- Faça o download do pacote de software
wget https://github.com/ossec/ossec-hids/archive/2.9.3.tar.gz
- Faça o download do arquivo de assinatura
https://github.com/ossec/ossec-hids/releases/download/2.9.3/ossec-hids-2.9.3.tar.gz.asc
gpg --verify ossec-hids-2.9.3.tar.gz.asc 2.9.3.tar.gz
Resultado
gpg: Signature made Sat Dec 23 16:13:01 2017 UTC
gpg: using RSA key EE1B0E6B2D8387B7
gpg: Good signature from "Scott R. Shinn <scott@atomicorp.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: B50F B194 7A0A E311 45D0 5FAD EE1B 0E6B 2D83 87B7