Novell SUSE LINUX Professional 9.3 Update 00662644461625 ユーザーズマニュアル

製品コード
00662644461625
ページ / 304
12.1
Generating a New Key Pair
To be able to exchange encrypted messages with other users, first generate your
own key pair. One part of it—the public key—is distributed to your communica-
tion partners, who can use it to encrypt the files or e-mail messages they send.
The other part of the key pair—the private key—is used to decrypt the encrypted
contents.
Important
Private Key versus Public Key
The public key is intended for the public and should be distributed
to all your communication partners. However, only you should have
access to the private key. Do not grant other users access to this data.
Important
Start KGpg from the main menu by selecting ‘Utilities’ ➝ ‘KGpg’ or enter
kgpg
on the command line. When you start the program for the first time, an assistant
appears to guide you through the configuration. Follow the instructions up to the
point where you are prompted to create a key. Enter a name, an e-mail address,
and, optionally, a comment. If you do not like the default settings provided, also
set the expiration time for the key, the key size, and the encryption algorithm
used. See Figure 12.1 on the next page.
Confirm your settings with ‘OK’. The next dialog prompts you to enter a pass-
word twice. The program then generates the key pair and displays a summary.
It is a good idea to save or print a revocation certificate right away. Such a certifi-
cate will be needed if you forget the password for your private key so need to re-
voke it. After you confirm with ‘OK’, KGpg displays its main window. See Figure
12.2 on page 168.
12.2
Exporting the Public Key
After generating your key pair, make the public key available to other users. This
enables them to use it to encrypt or sign the messages or files they send you. To
make the public key available for others, select ‘Keys’ ➝ ‘Export Public Key(s)’.
The dialog that opens offers four options:
166
12.1. Generating a New Key Pair