加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

apt-key Debian packages密钥管理命令

发布时间:2020-12-14 05:16:09 所属栏目:大数据 来源:网络整理
导读:adv子命令 Pass advanced options to gpg. With adv --recv-key you can e.g. download key from keyservers? directly into the the trusted set of keys. Note that there are no checks performed,so it is????????? easy to completely undermine the ap

adv子命令

Pass advanced options to gpg. With adv --recv-key you can e.g. download key from keyservers? directly into the the trusted set of keys. Note that there are no checks performed,so it is????????? easy to completely undermine the apt-secure(8) infrastructure if used without care.

将高级选项传递给GPG,使用 --recv-key选项,可以从密钥服务器直接下载密钥到可信任的密钥列表。请注意,因为没有核查所以很容易损坏apt-secure的基础结构,如果你不小必使用。

apt-key adv --keyserver? keyserver.ubuntu.com --recv-key ****`

?

?

apt-key list????? #列出已保存在系统中key。

apt-key add keyname ? ? ? #把下载的key添加到本地trusted数据库中。

apt-key del keyname??????? #从本地trusted数据库删除key。

apt-key update????? #更新本地trusted数据库,删除过期没用的key。 --------------------- ?

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读