linux yumITeye - 众发娱乐

linux yumITeye

2019年03月13日14时03分13秒 | 作者: 振荣 | 标签: 时分,验证,根本 | 浏览: 1076

【根本介绍】
在yum装置软件的时分有时分会报warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID*****.

【问题原因】
签名的效果就是为了验证包的完整性和可靠性。
In fact, all recently-produced package files will have these verification measures built in automatically.  Older package files had only a PGP-based signature; if that was missing, there was nothing left to verify.
新的包在编译的时分都会主动增加验证信息。而旧包里边没有

【解决方法】
Digital signatures cannot be verified without a public key. An ASCII armored public key can be added to the rpm database using
 rpm import PUBKEY ...
 rpm {checksig} [nosignature] [nodigest]
 PACKAGE_FILE ...
 The checksig option checks all the digests and signatures contained in PACKAGE_FILE to ensure the integrity and origin of the pack-
 age. Note that signatures are now verified whenever a package is read, and checksig is useful to verify all of the digests and sig-
 natures associated with a package.
 Digital signatures cannot be verified without a public key. An ASCII armored public key can be added to the rpm database using
 import. An imported public key is carried in a header, and key ring management is performed exactly like package management. For
 example, all currently imported public keys can be displayed by:
 rpm -qa gpg-pubkey*
 Details about a specific public key, when imported, can be displayed by querying. Here鈥檚 information about the Red Hat GPG/DSA key:
 rpm -qi gpg-pubkey-db42a60e
 Finally, public keys can be erased after importing just like packages. Here鈥檚 how to remove the Red Hat GPG/DSA key
 rpm -e gpg-pubkey-db42a60e


rpm import /etc/pki/rpm-gpg/RPM*

【参阅引证】

版权声明
本文来源于网络,版权归原作者所有,其内容与观点不代表众发娱乐立场。转载文章仅为传播更有价值的信息,如采编人员采编有误或者版权原因,请与我们联系,我们核实后立即修改或删除。

猜您喜欢的文章