GnuPG Advanced Guidance (2) upload/export distribution public key

Source: Internet
Author: User
Tags gnupg gpg

1 Uploading to the keyserver

opensuse13:~ # Gpg-k

/root/.gnupg/pubring.gpg

------------------------

Pub 4096r/276856f7 2016-11-25 [expires:2017-04-24]

UID [Ultimate] Franklinyang (Encrypt RSA 4096) <[email protected]>

Sub 4096r/0a09dac9 2016-11-25 [expires:2017-04-24]

opensuse13:~ #

opensuse13:~ #

opensuse13:~ #

opensuse13:~ # GPG--keyserver hkp://keys.gnupg.net--send-keys 276856f7

Gpg:sending key 276856f7 to HKP server keys.gnupg.net

opensuse13:~ #

[Email protected]:~# gpg--keyserver hkp://keys.gnupg.net--recv-keys 276856f7

Gpg:requesting key 276856f7 from HKP server keys.gnupg.net

Gpg:key 276856f7:public Key "Franklinyang (Encrypt RSA 4096) <[email protected]>" imported

Gpg:total number Processed:1

Gpg:imported:1 (rsa:1)

[Email protected]:~# gpg-k

/root/.gnupg/pubring.gpg

------------------------

Pub 4096r/276856f7 2016-11-25 [expires:2017-04-24]

UID Franklinyang (Encrypt RSA 4096) <[email protected]>

Sub 4096r/0a09dac9 2016-11-25 [expires:2017-04-24]

[Email protected]:~#

2 after the export by other means of distribution (Baidu Cloud, www, mail and other casual)

opensuse13:~ # Gpg-k

/root/.gnupg/pubring.gpg

------------------------

Pub 4096r/276856f7 2016-11-25 [expires:2017-04-24]

UID [Ultimate] Franklinyang (Encrypt RSA 4096) <[email protected]>

Sub 4096r/0a09dac9 2016-11-25 [expires:2017-04-24]

opensuse13:~ # gpg-a-o FranklinYang.rsa.pub.key--export 276856f7

opensuse13:~ #

opensuse13:~ # l FranklinYang.rsa.pub.key

-rw-r--r--1 root root 3132 Nov 21:21 FranklinYang.rsa.pub.key

opensuse13:~ #

GnuPG Advanced Guidance (2) upload/export distribution public key

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.