Securities Software (Management & Limitation).Linux GnuPG | All about OS

Securities Software (Management & Limitation).Linux GnuPG

Категория: Securing and Optimizing

CFLAGS=”-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-
frame-pointer -fno-exceptions” \
./configure \
~prefix=/usr \
-enable-shared
[root@deep gnupg-1.0.1 ]# make [root@deep gnupg-1.0.1 ]# make check [root@deep gnupg-1.0.1 ]# make install [root@deep gnupg-1.0.1 ]# strip /usr/bin/gpg
The “make” command compiles all source files into executable binaries, the “make check” will run any self-tests that come with the package” and finally, the “make install” command installs the binaries and any supporting files into the appropriate locations. The “strip” command will reduce the size of the “gpg” binary for better performance.
Cleanup after work
[root@deep /]# cd /var/tmp
[root@deep tmp]# rm -rf gnupg-version/ gnupg-version.tar.gz
The “rm” command as used above will remove all the source files we have used to compile and install GnuPG. It will also remove the GnuPG compressed archive from the 7var/tmp” directory.
Commands
The commands listed below are some that we use often, but many more exist. Check the man page for more details and information.
Creating a key
First of all, we must create a new key-pair (public and private) if this is a first use of the GnuPG software to be able to use its encryption features.
Stepi
•    To create a new key-pair, use the following command: [root@deep /]# gpg -gen-key
gpg (GnuPG) 1.0.1; Copyright (C) 1999 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details.
gpg: /root/.gnupg: directory created
gpg: /root/.gnupg/options: new options file created
gpg: you have to start GnuPG again, so it can read the new options file
This asks some questions and then starts key generation.
Step 2
•    We start GnuPG again with the following command: [root@deep /]# gpg -gen-key
gpg (GnuPG) 1.0.1; Copyright (C) 1999 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details.
gpg: /root/.gnupg/secring.gpg: keyring created gpg: /root/.gnupg/pubring.gpg: keyring created Please select what kind of key you want:
(1)    DSA and EIGamal (default)
(2)    DSA (sign only)
(4) EIGamal (sign and encrypt) Your selection? 1 DSA keypair will have 1024 bits. About to generate a new ELG-E keypair.

Страниц: 1 2 3 4 5 6

« Configurations
Set Quota on your Linux system »