Changes between Version 3 and Version 4 of netsec2018pgp
- Timestamp:
- Jun 8, 2018, 11:30:51 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
netsec2018pgp
v3 v4 15 15 == Create Certificate == 16 16 - Open Kleopatra 17 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netsec2018pgp/kleo.png)]] 18 17 19 - Click on File > New Key Pair . 18 - In the following dialog you select the format for the certificate. You can choose from the following: 19 OpenPGP (PGP/MIME) or X.509 (S/MIME). 20 - [ Create personal OpenPGP key pair ] . 20 - In the following dialog you select the format for the certificate. You can choose from the following 21 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netsec2018pgp/kleo1.png)]] 22 23 - Create personal OpenPGP key pair. 21 24 - Now enter your your name and e-mail address in the following window. 25 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netsec2018pgp/kleo2.png)]] 26 22 27 - Click '''Advanced Settings''' and Tick the '''Valid Until''' check box 28 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netsec2018pgp/kleo3.png)]] 29 23 30 - You will see a list of all of the main entries and settings for review purposes. If you are interested in the expert settings, you can view these via the '''Show All details''' option.If everything is correct, click on '''Create''' 24 31 - Now to the most important part entering your passphrase! To create a key pair, you must enter your personal passphrase. Choose passphrase which is easy-to-remember but hard to break secret passphrase. You can't recover this passphrase if you lost it. Confirm the passphrase and click '''Create''' 25 32 - Now your OpenPGP key pair is being created. This may take a couple of minutes. 26 33 - As soon as the key pair creation has been successful, you will see the following page. 34 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netsec2018pgp/kleo4.png)]] 35 27 36 - Click '''finish''' 28 37 - You will see the created key entry on the … … 31 40 == Key servers == 32 41 33 - You can upload your public key to a key server so that public can access it. You can Submit your public key to a keyserver by selecting the key entry and click file > Publish on keyserver42 - You can upload your public key to a key server so that public can access it. You can Submit your public key to a keyserver by selecting the key entry and click '''file > Publish on keyserver'''. 34 43 - Or you can submit it manually. For that first export the public key by selecting the key entry and do to '''File > Export'''. Select the location to save and click '''Save''' 35 44 - Go to the saved location and open the key file in a notepad. Copy every thing 36 45 - Open a browser and go to '''keyserver.ubuntu.com''' and paste the key in '''Submitting a new OpenPGP Key''' text field. Click the '''Submit'''. 46 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netsec2018pgp/keys.png)]] 47 37 48 - You should get a '''1 key(s) added successfully''' message. 38 49 - Go back to the '''keyserver.ubuntu.com''' and search your key by giving the Name(Name you given when creating the key pair) in the '''Search String:''' text box and clicking '''Search''' … … 42 53 - Go to the '''keyserver.ubuntu.com''' and search your neighbors key by giving the Name(Name he has given when creating the key pair) in the '''Search String:''' text box and clicking '''Search''' 43 54 - Once it appears. Click on the '''fingerprint''' and you will get the public key. '''Copy''' the whole key as shown. 55 {{{ 56 -----BEGIN PGP PUBLIC KEY BLOCK----- 57 Version: SKS 1.1.6 58 Comment: Hostname: keyserver.ubuntu.com 59 60 mQINBFsaNl0BEADibv71gRdknEQ5dOz++rSaeu/91ayWpfavrYMdfyO69vQsXTwOuCFTVu8n 61 jyiPWTB563KANCdybIbHDg88SwmXi5XZgEI+6oOJ5//EGLJCiBbXRLEnn1lAjgOqgem4Vgfn 62 ... 63 ... 64 21nn8fliGBWbCFI4aeqLjr/dJ6Mdwu/1Zvr3lP0ZcN6+bP7pMwuV/91rxRJ0wgd14har5h4Z 65 nPavHdfKuyHCEX+VRUUPMDQE3P688zCcsz/gRz5D8sa/h0N77tOTCAhS8tJsLzgxffpAEHpq 66 9A== 67 =ynpw 68 -----END PGP PUBLIC KEY BLOCK----- 69 }}} 44 70 - Open a note pad, '''Paste''' the key and '''Save''' the file. 45 71 - Go to Kleopatra interface and go to File>Import. Select the Saved txt file that contain your neighbors Public key 46 72 - You will get the following window. Click '''Yes''' 73 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netsec2018pgp/sign.png)]] 74 47 75 - Then the system will ask you to Sign the the key. Check the User ID's and check the '''I have verified the fingerprint''' check box. Click '''Next''' 76 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netsec2018pgp/sign1.png)]] 77 48 78 - You will ask for your the passphrase. Enter the passphrase and Click '''Certify''' 79 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netsec2018pgp/sign2.png)]] 49 80 50 81 == Sending signed e-mails and encrypted messages ==