1. Skip to Menu
  2. Skip to Content
  3. Skip to Footer>

พื้นที่ลงโฆษณา

Thin Client Server

พื้นที่ลงโฆษณา

Linux Authentication

พื้นที่ลงโฆษณา

Evolution Secure

PDF Print E-mail

Written by Mr. Sontaya Photibut Tuesday, 26 May 2009 19:06

Using GPG with Evolution Secure Communication (SLED11)

GPG (GnuPG) is the GNU project's complete and free implementation of the OpenPGP standard as defined by RFC4880 . GnuPG allows to encrypt and sign your data and communication, features a versatile key managment system as well as access modules for all kind of public key directories. GnuPG, also known as GPG, is a command line tool with features for easy integration with other applications. A wealth of frontend applications and libraries

are available. Version 2 of GnuPG also provides support for S/MIME.

Ref: http://www.gnupg.org/

Sample:
my@mydomain.com
friend@mydomain.com

1). Create Public key

$ gpg --gen-key

Please select what kind of key you want:
   (1) DSA and Elgamal (default)
   (2) DSA (sign only)
   (5) RSA (sign only)
เลือก 1
Your selection? 1

DSA keypair will have 1024 bits.
ELG keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048)
Requested keysize is 2048 bits
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years

กำหนดวันหมดอายุของ key
เลือก 0 หรือ แล้วแต่จะกำหนด
Key is valid for? (0) 0

Key does not expire at all  ; key ทั้งหมดไม่มีการหมดอายุ ถูกต้องแล้วตอบ y
Is this correct? (y/N) y

Real name: <ชื่อ-นามสกุล>
Email address: my@mydomain.com
Comment: secure by GPG
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
You need a Passphrase to protect your secret key.  กดตัว "O" ที่ keyboard


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.
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.
gpg: key C4F46A51 marked as ultimately trusted
public and secret key created and signed.

รอสักพัก...จากนั้นจะแสดง Public key ของคุณ

gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   2  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 2u

2). Export Public key (เพื่อส่งให้เพื่อน)

$ gpg -a --export my@mydomain.com > my_public_key.asc

จากนั้นทำการสั่งไฟล์นี้ให้เพื่อน

3). Verify key ID

$ gpg --fingerprint my@mydomain.com
pub   1024D/E645AA9B

E645AA9B คือ key ID สำหรับใช้ใน Evolution

4). Configuration Evolution Using GPG

Evolution Main menu, Select Edit > Preferences > Select Mail Accounts. > Edit button. Select the Security tab.

ใส่ PGP/GPG Key ID: E645AA9B  จากนั้นก็เลือกออปชั่น
Always sign outgoing messages when using this account
หรือจะเลือก Always encrypt to myself when sending encrypted mail ก็ได้แล้วเวลา New message ขึ้นมาค่อยเลือกที่แท็บ Security คลิกเลือก GPG Sign และ GPG Encrypt.

5). Import key ID (สำหรับเพื่อนเรา) ที่อีเมล์ friend@mydomain.com

$ gpg --import my_public_key.asc  (ไฟล้ที่ได้รับจากเพื่อน)
$ gpg --sign-key my@mydomain.com  (อีเมล์ของเพื่อนเรา)

*** ถ้าคุณไม่ทำบรรทัดนี้เวลาที่เพื่อนส่งเมล์หาคุณพร้องกับใช้ GPG Sign และ GPG Encrypt. คุณจะไม่สามารถเปิดอ่านเมล์ได้ เว้นแต่คุณรู้รหัสผ่าน Secure Key  แต่ถ้าทำบรรทัดนี้ message จะถูก unlock อัตโนมัต (Valid signature
Encrypted)

*** ในทางกลับกันถ้า friend@mydomain.com สร้าง public key ก็ให้ทำตามขั้นตอนแรกครับ  เป็นอันเสร็จ (คอนฟิกให้ CEO, GM, MD ใช้ก็ดีนะ)

บทความเก่า : http://www.susethailand.com/index.php/en/evolution-pgp


Comments (0)Add Comment

Write comment

security code
Write the displayed characters


busy
 

SUSE Linux Enterprise Cool Solutions

  • Watch the future of Retail

    On YouTube I've published a three-part video of a presentation I did in early July 2010 to IBM retail partners. The sound volume is a bit low, and this was all recorded with a little flip mino camera, so please excuse the bad quality.

    The three video snippets are mainly intended for any of you who want to use Linux in retail as a solution provider and are wondering how solutions from Novell can help you be more successful.

    Nevertheless, especially the first part about how we see the future of the Point of Service might also be interesting to you if you are a decision maker in retail or just curious about how the future in retail IT may look like.

    The new features in SUSE Linux Enterprise Point of Service 11 Service Pack 1 are only mentioned briefly in this presentation. Watch out for more blog posts to come on Service Pack 1.

    This is Joachim Werner blogging live from the SUSE offices in Nuremberg, Germany.

    http://www.youtube.com/watch?v=WdYEeLIou7s
    http://www.youtube.com/watch?v=3Awr3tPpo2Y
    http://www.youtube.com/watch?v=pwwKpoEI9GI

  • Create an Appliance with SUSE Studio -- you could win $10,000

    They're looking for inventive minds to build the most innovative software appliances. Publish your unique appliance to the new SUSE® Gallery™ and enter into a contest to win $10,000!

    The contest runs from July 27 - September 30, 2010, so brush off your mad skills and pop on over here for all the details.

    It must not be too hard.... in the past year, more than 400,000 Linux appliances were built using SUSE Studio, with nearly 3 million downloads. SUSE Gallery is the place to strut your stuff and show off the appliances you have built with SUSE Studio. It also serves as a centralized online showcase where SUSE Studio users can browse and use both commercial and community-oriented appliances.

    Good luck! Make Cool Solutions proud.

  • See us at SHARE, Boston!

    The next SHARE event is approaching quickly - it takes place in Boston from August 1-5 at Hynes Convention Center: http://www.share.org/Events/UpcomingConference/tab...

    If you are attending, don´t miss the chance to meet our experts for System z, and visit us at Booth #319. To name just a few, watch out for Kim Lorusso (IBM Alliance Marketing Manager and Cool Blogger), Patrick Quairoli (Technical Alliance Manager), Marcus Kraft (Linux on mainframe "pioneer" and Product Manager for SUSE Linux Enterprise Server for System z), David Getzin (Partner Executive for IBM), John Jolly (Sys z Architect), and others. Chat with them about the SUSE Linux Enterprise Consolidation Suite tailored for IBM Solution Edition for Enterprise Linux. Don´t know what that is? Read more here: http://www.novell.com/products/systemz/els.html
    And get the latest about the new zEnterprise System - you bet that will be one of the "ruling" topics.

    Or listen to Mike Friesenegger, one of our most experienced Technical Specialists, when he talks about "ASP.NET on zLinux: A New Workload" (Tues Aug 3, 9:30-10:30AM, Room 305) and about how to " Implement the SUSE Linux Enterprise High Availability Extension on System z" (Tues Aug 3, 11AM-12PM, Room 208). And you´ll have the opportunity to hear from customers like Nationwide Insurance why and how they use SLES for System z.

    And as a side note - for those who have travel constraints and cannot attend personally, SHARE offers the option to participate online - just check out http://www.share.org/Events/UpcomingConference/SHA...

  • IBM zEnterprise System - Get the hard facts

    This week on Thursday IBM made a ground-breaking announcement about the revolutionary zEnterprise System - you might have read my article here on Cool Solutions:
    http://www.novell.com/communities/node/11670/ibm-f...

    Curious now about getting details and some hard facts? Just download the data sheet from IBM and see how it works. Want to discuss how this new system relates to SUSE Linux Enterprise ? Leave a comment or drop me an email at chabow@novell.com

    AttachmentSize
    11394070.pdf385.48 KB
  • What do you think about this country/language selector?

    The web team at Novell is tweaking the way people choose the language they want to read the website in. (Of course, this doesn't affect this communities section, which is only provided in English. But it does affect a lot of the marketing pages on novell.com. )

    We'd like your feedback, especially if you like to read the rest of Novell.com in a language other than English. Take a look at this design, and let us know what you think by posting comments.

    Thanks for your input!

    View design here.

Sponsors List