Friday, August 18, 2017

GPG key administration for Middle-ware Administrators

GnuPG is a tool for secure communication. Using this tool administrators can create public/private key pair which can be used by to encrypt and decrypt critical information. GnuPG uses public-key cryptography so that users may communicate securely. In a public-key system, each user has a pair of keys consisting of a private key and a public key. A user's private key is kept secret; it need never be revealed. The public key may be given to anyone with whom the user wants to communicate.



In this article I intend to provide some basic steps to create and use such key pairs. Also I will try to provide some very informative and useful links pertaining to this topic. Often you may receive requests to generate key pairs required for PGP encryption. How do you do that ?

Ok ! first things first. In order to create the required key pairs you will need to install GnuPG on the system you intend to encrypt the message on. You can also install GnuPG on your local machine but then you will need to import the key to the source system where you will be encrypting the message.Installation of GnuPG will create a key ring which stores the below.


  • pubring.gpg     # stores the public keys
  • secring.gpg     # has your secret keys
  • trustdb.gpg     # the levels of trust for signed keys


On windows the key ring was stored at C:\Users\<>\AppData\Roaming\gnupg. On Linux based system the default location is .gnupg (hidden directory) under the OS user default directory location.You will need to use ls -la option to view this directory on Linux/Solaris systems.

Now for installing GnuPG tool I will highly recommend you follow this blog. I feel the blog is very detailed and takes you through the below topics.


  • Downloading the software
  • Installing the software
  • Generating the key pair
  • Exporting Public/Private keys
  • Obtaining private keys
  • Importing private/public keys
  • Encrypting/Decrypting message


The blog shows how to do the above using Kleopatra a GUI tool for certificate management. I personally like the tool since it is very intuitive and easy to use. Same will be installed while you install GnuPG (mentioned in blog above. In case you want to use command line to do the above (like on UNIX based systems) you can easily do so by using commands mentioned here.

The GNU Privacy handbook talks of all these steps and even more. I highly recommend you go through the content to understand more on this subject. The documentation is available here 

I hope this post was helpful. Please let me know in the comment section ! 

Happy Learning
Soumya Mishra

11 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete

  2. This is very important and imformative blog,thanks for good info Oracle SOA Online Training Bangalore

    ReplyDelete
  3. Thanks and Regards. Oracle Apps R12 Training Videos at affordable cost. please check oracleappstechnical.com

    ReplyDelete
  4. Quickbooks enterprise support Solve QuickBooks Enterprise problems using the QuickBooks Enterprise support team. Call our Quickbooks support team at +1 (833) 400-1001 and contact our certified QuickBooks specialist for assistance.

    ReplyDelete
  5. Quickbooks enterprise support number +1 (833) 400-1001 is available to solve QuickBooks Enterprise problems through QuickBooks Enterprise support. Call our Quickbooks support team at +1 (833) 400-1001 and contact our certified QuickBooks specialist for assistance.

    ReplyDelete
  6. Quickbooks enterprise support Phone number
    Get 24-hour support for Enterprise Quickbooks by contacting the QuickBooks Enterprise support phone number. We are ready to solve QuickBooks Enterprise problems through a Certified QuickBooks Enterprise Support Group. Call our Quickbooks support team at +1 (833) 400-1001 and contact our certified QuickBooks specialist for assistance.

    ReplyDelete
  7. Dial QuickBooks Support Phone Number 1-800-986-4607 now to meet your accounting needs at one place. QuickBooks is really an outstanding product that comes into existence to cater to the needs of small as well as medium scale business.

    ReplyDelete
  8. Thanks a lot for sharing
    Having good health is what most people out there wants but can not achieve. some people takes buy ibogaine online AND buy weed online to get it.

    ReplyDelete
  9. Best Article buy Pain Pills online Excellent post. I appreciate this site. Stick with it! Because the admin of this web page is working, no doubt very quickly it will be well-known, due to its quality contents.This website was how do you say it? Relevant!! Finally, I’ve found something that helped me.
    Best Article buy Roxicodone online Excellent post
    buy Xanax online
    buy Oxycodone online

    Best Article buy Pain Medications online Excellent post. I appreciate this site. Stick with it! Because the admin of this web page is working, no doubt very quickly it will be well-known, due to its quality contents.This website was how do you say it? Relevant!! Finally, I’ve found something that helped me.

    buy Research Chemicals online

    buy Roxicodone online

    buy Cbd Isolate online

    ReplyDelete
  10. Did you hear there's a 12 word sentence you can speak to your crush... that will trigger deep feelings of love and impulsive attraction to you buried within his heart?

    That's because hidden in these 12 words is a "secret signal" that triggers a man's instinct to love, please and protect you with his entire heart...

    ===> 12 Words That Trigger A Man's Desire Response

    This instinct is so built-in to a man's mind that it will make him try harder than ever before to to be the best lover he can be.

    As a matter of fact, triggering this all-powerful instinct is absolutely binding to getting the best ever relationship with your man that the moment you send your man one of the "Secret Signals"...

    ...You'll instantly notice him expose his soul and heart to you in such a way he haven't experienced before and he'll distinguish you as the one and only woman in the galaxy who has ever truly understood him.

    ReplyDelete
  11. medical care is what many people lack in the interior areas of the world. people face a lot of health issues everyday without solution. buy psychedelics online, Buy weed online, Buy cocaine online

    ReplyDelete