Kali Linux download the public still does not prompt public

    Kali Linux If you do not use too long will lead to key expires problems, which can cause the phenomenon can not be updated at this time needs to be updated key on how to update bloggers already introduced. I believe there will be some people watching though is able to do the operation, but I do not know why. This is actually official to download to your multi-system security and integrity of a verification operation. In particular visible https://www.kali.org/downloads/ Download Kali Linux Images Securely part

Which, $ wget -q -O - https://www.kali.org/archive-key.asc | gpg --import

This sentence may be on the system will prompt you do not specify a URL, you can delete the -q -O parameter,

In addition, the implementation of

$ gpg --verify SHA256SUMS.gpg SHA256SUMS
gpg: Signature made Thu 16 Mar 2017 08:55:45 AM MDT
gpg: using RSA key ED444FF07D8D0BF6
gpg: Good signature from ”Kali Linux Repository <[email protected]>”

When you see may not Good signature, but you did not prompt Public Key,

At this time, then execute GPG --import Archive-KEY.asc import a public key, 

Then execute gpg --verify SHA256SUMS.gpg SHA256SUMS can be.

In addition, the https://forums.kali.org forums some people have made the answer, here is the original reply

        you need to import your key into your apt-keyring. You can inspect the apt-keyring with »apt-key list«
This should fix your issue:

apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

Details, see: https: //forums.kali.org/showthread.php 24687-Problem-with-apt-get-update?

in conclusion:

In fact even the total steps,

1, wget https://www.kali.org/archive-key.asc, complete public key file download

[Apt-key list, before the implementation of the second step can look at this list, usually the last one expired, show:

                        [expired] Kali Linux Repository <[email protected]>

2, apt-key add archive-key.asc, add the latest public key file.

[[List to view the execution apt-key, the key has expired updated]


Published 25 original articles · won praise 23 · views 10000 +

Guess you like

Origin blog.csdn.net/Secur17y/article/details/79949367