概述
学习参照网上教程在容器中搭建nginx时看到apt-key命令不解,记录一下。一下是 --help中的解释。
apt-key命令解释:
apt-key add <file> - add the key contained in <file> ('-' for stdin) apt-key del <keyid> - remove the key <keyid> apt-key export <keyid> - output the key <keyid> apt-key exportall - output all trusted keys apt-key update - update keys using the keyring package apt-key net-update - update keys using the network apt-key list - list keys apt-key finger - list fingerprints apt-key adv - pass advanced options to gpg (download key)
apt-key adv的解释:
Commands: -s, --sign [file] make a signature --clearsign [file] make a clear text signature -b, --detach-sign make a detached signature -e, --encrypt encrypt data -c, --symmetric encryption only with symmetric cipher -d, --decrypt decrypt data (default) --verify verify a signature --list-keys list keys --list-sigs list keys and signatures --check-sigs list and check key signatures --fingerprint list keys and fingerprints -K, --list-secret-keys list secret keys --gen-key generate a new key pair --delete-keys remove keys from the public keyring --delete-secret-keys remove keys from the secret keyring --sign-key sign a key --lsign-key sign a key locally --edit-key sign or edit a key --gen-revoke generate a revocation certificate --export export keys --send-keys export keys to a key server --recv-keys import keys from a key server --search-keys search for keys on a key server --refresh-keys update all keys from a keyserver --import import/merge keys --card-status print the card status --card-edit change data on a card --change-pin change a card's PIN --update-trustdb update the trust database --print-md algo [files] print message digests Options: -a, --armor create ascii armored output -r, --recipient NAME encrypt for NAME -u, --local-user use this user-id to sign or decrypt -z N set compress level N (0 disables) --textmode use canonical text mode -o, --output use as output file -v, --verbose verbose -n, --dry-run do not make any changes -i, --interactive prompt before overwriting --openpgp use strict OpenPGP behavior --pgp2 generate PGP 2.x compatible messages
转载于:https://www.cnblogs.com/wuwangchuxin0924/p/9183721.html
最后
以上就是机灵篮球为你收集整理的apt-key 命令的全部内容,希望文章能够帮你解决apt-key 命令所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复