Gpg command encryption and decryption and signature verification instance-Linux general technology-Linux technology and application information, the following is a detailed description. 1. Explore gpg commands
$ Which gpg
/Usr/bin/gpg
$
GpgfunctionGPG is a free tool for encryption and digital signatures, mostly for the transmission of encrypted information. In addition to password-only encryption, the biggest difference in GPG is the provision of a "public/private key" pair. Use
1. Generate a key pair: gpg -- gen-key Generate a new key pair for the user. Required: Key type (RSA/RSA by default); key length (in bits); expiration time (to prevent key corruption ); (I usually press enter all the way.) Next, enter the name,
Main content: GPG encryption and decryption of the basic operation and a small number of applications.
Brief introduction
Installation
Generate key Operation procedure
Some operations on keys
View Key
Export
/*************************************** ******************************* Author: Samson* Date: 04/04/2014* Test platform:* Linux ubuntu 3.2.0-58-generic-pae* GNU bash, version 4.2.39**************************************** ***************************
Each stable RPM package released by fusion source has a GPG signature. By default, yum and graph update tools verify these signatures and refuse to install any software packages without signatures or corrupted signatures. You should always verify
What is a digital signature?
Digital signature, is only the sender of information can produce a number of people can not forge a digital string, which is also the sender of information to send information authenticity of a valid proof.
Digital
Ubuntu: Solves the GPG error caused by unofficial sources
[Date: 2010-03-30]
Source: UbuntuCommunityAuthor: Ubuntu
[Font: large, medium, and small]
When we add an unofficial Ubuntu source to/etc/APT/sources. List to
GPG is GNU Privacy Guard, a non-commercial version of the encryption tool PGP (pretty good privacy). It is used to encrypt and verify the sending and receiving of emails, files, and other data, ensure the reliability and authenticity of
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.