您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
免费发信息
三六零分类信息网 > 德阳分类信息网,免费分类信息发布

Signing PGP keys_MySQL

2024/3/16 21:01:58发布12次查看
if you’ve recently completed a key signing party or have otherwise met up with other people and have exchanged key fingerprints and verified ids, it’s now time to sign the keys you trust.  there are several different ways of completing this task and i’ll discuss two of them now.
caffca fire and forget (caff) is a program that allows you to sign a bunch of keys (like you might have after a key signing party) very quickly.  it also adds a level of security to the signing process by forcing the other person to verify that they have both control over the email address provided and the key you signed.  the way caff does this is by encrypting the signature in an email and sending it to the person.  the person who receives the message must also decrypt the message and apply the signature themselves.  once they sync their key with the key server the new signatures will appear for everyone.
$ gpg --keyserver hkps://hkps.pool.sks-keyservers.net --refresh-key
there is somesetup of caffthat needs to be done prior but once you have it setup it’ll be good to go.
installing caffinstalling caff is pretty easy although there might be a little trick.  in fedora there isn’t a caff package.  caff is actually in the pgp-tools package; other distros may have this named differently.
using caffonce you have caff installed and setup, you just need to tell caff what key ids you would like to sign.  “man caff” will give you all the options but basically ‘caff -m no -u ‘ will sign all the keys listed after your key.  you will be asked to verify that you do want to sign the key and then caff will sign the key and mail it off.  the user will receive an email, per user id on the key, with instructions on importing the signature.
signing a key with gnupgthe other way of signing a pgp key is to use gnupg.  signing a key this way will simply add the signature to the key you have locally and then you’ll need to send those keys out to the key server.
retrieving keys using gnupgthe first thing that you have to do is pull the keys down from the keyserver.
$ gpg --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys...
once you have received all the keys you can then sign them.  if someone’s key is not there you should probably contact them and ask them to add their key to the servers.  if they already have uploaded their key, it might take a couple of hours before it is sync’d everywhere.
using gnupgsigning a key is pretty straightforward:
$ gpg --sign-key 1bb943dbpub 1024d/1bb943db created: 2010-02-02 expires: never usage: sctrust: unknown validity: unknownsub 4096g/672557e6 created: 2010-02-02 expires: never usage: e [ unknown] (1). mariadb package signing key [ unknown] (2) daniel bartholomew (monty program signing key) really sign all user ids? (y/n) ypub 1024d/1bb943db created: 2010-02-02 expires: never usage: sctrust: unknown validity: unknown primary key fingerprint: 1993 69e5 404b d5fc 7d2f e43b cbcb 082a 1bb9 43dbmariadb package signing key daniel bartholomew (monty program signing key) are you sure that you want to sign this key with yourkey eric harlan christensen (024bb3d1)really sign? (y/n) y
in the example i signed the mariadb key with my key.  once that is complete a simple:
gpg --keyserver hkps://hkps.pool.sks-keyservers.net --send-key 1bb943db
…will send the new signature to the key servers.
德阳分类信息网,免费分类信息发布

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录