Evolution (PGP)
การคอนฟิค PGP สำหรับ Evolution Email Client
การคอนฟิคทำได้ด้วยกัน 2 แบบนะครับคือ
1. Graphical User Interface (GUI)
2. Command Line Interface (CLI)
วันนี้ขอแนะนำเป็น CLI นะครับ
1. เปิดโปรแกรม Gnome Terminal ขึ้นมาครับ
# gpg --gen-key
<Enter>
"Please select what kind of key you want:"
(1) DSA and Elgamal (default) <-- เลือกตัวนี้โดยกด 1
Your selection? 1 <Enter>
What keysize do you want ? (2048) ใส่ 1024 <Enter>
"Please specify how long the key should be valid."
0 = key does not expire
Key is valid for? (0) ใส่ 0 <Enter>
Is this correct? (y/N) yใส่ y <Enter >
Real name : first_lastname <Enter>
Email address: youremail@domain <Enter>
Bomment: <Enter>
Change (N)ame, (C)omment, (E)mail or (O)key/(Q)uit? o <Enter>
Enter passphrase: **************
Repeat passphrase : **************
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
++++++++++..+++++++++++++++++++++++++..+++++.+++++.
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 284 more bytes)
ไปดื่มกาแฟเล่นๆ รอได้นะ Okay ถ้าเสร็จแล้วก็มาต่อเลยครับ
2. สร้าง public key
# gpg --export -a "UserName" > public.key
- กด Alt + F2 (nautilis)
- จะเห็นไฟล์ public.key
- คลิกขาวมือ เลือกโปรแกรมแก้ไข
- Copy code (Ctrl+A) ตามด้วย (Ctrl+C)
- เปิดเว็บ http://pgp.mit.edu
- วาง Code ที่ช่อง
- คลิก Submit this key to the keyser
- กลับมาที่ http://pgp.mit.edu โดยกดปุ่ม Back
- ค้นหา "First และ Lastname"
- จด KeyID ไว้เพื่อที่จะนำไปใช้ใน Evolution (Highlight and copy your keyID)
3. เปิดโปรแกรม Evolution ขึ้นมา
- Edit -> Preferences ( Shift+Ctrl+S)
- เลือก email account ถ้ามีมากว่าหนึ่งชื่อ แล้วคลิกปุ่ม Edit
- ไปที่แท็บ Security
PGP/GPG Key ID: <keyID>
- คลิก OK
- คลิก Close
การใช้งาน
- คลิกปุ่ม New บน Evolution
- ไปที่แท็บ Security เลือก PGP Encrypt
เป็นอันเสร็จครับ.

SUSE Linux Enterprise Cool Solutions
|







