KGpg/Manual/Encrypting: Difference between revisions

From KDE UserBase Wiki
No edit summary
 
(One intermediate revision by one other user not shown)
Line 17: Line 17:
Usually you can only encrypt files with keys that are trusted by you. Since you sometimes want to just send a confident note to some random people you are aware of having a GPG key you can set the option <menuchoice>Allow encryption with untrusted keys</menuchoice>.
Usually you can only encrypt files with keys that are trusted by you. Since you sometimes want to just send a confident note to some random people you are aware of having a GPG key you can set the option <menuchoice>Allow encryption with untrusted keys</menuchoice>.


To make sure that you can decrypt every file you have encrypted even if they are encrypted with someone else's key you can use the options <menuchoice>Always encrypt with</menuchoice> and <menuchoice>Encrypt files with</menuchoice> which are available in the [[http://docs.kde.org/development/en/kdeutils/kgpg/options.html#conf-encryption|KGpg configuration]].
To make sure that you can decrypt every file you have encrypted even if they are encrypted with someone else's key you can use the options <menuchoice>Always encrypt with</menuchoice> and <menuchoice>Encrypt files with</menuchoice> which are available in the [[KGpg/Manual/Options#Encryption|KGpg configuration]].


For more information on the encryption options <menuchoice>ASCII armor</menuchoice>, <menuchoice>Allow encryption with untrusted keys</menuchoice> and <menuchoice>Symmetrical encryption</menuchoice>, please refer to gpg's documentation or man pages.
For more information on the encryption options <menuchoice>ASCII armor</menuchoice>, <menuchoice>Allow encryption with untrusted keys</menuchoice> and <menuchoice>Symmetrical encryption</menuchoice>, please refer to gpg's documentation or man pages.
Line 27: Line 27:
|Decrypting Your Data
|Decrypting Your Data
|}
|}
[[Category:Security]]

Latest revision as of 16:26, 17 August 2012

Using KGpg

Encrypting a file from Konqueror or Dolphin

Click on the file you want to encrypt with the right mouse button. Choose Actions->Encrypt File in the pop up menu. You will then be prompted with the Public key selection dialog. Choose the key of the recipient and click Encrypt. The encrypted file will be saved with a .asc or .gpg extension depending on whether you chose ASCII armored encryption or not. ASCII encrypted files only use readable characters to represent the data resulting in files that are more robust when copied around or sent by mail but are one third larger.

Encrypting a text with KGpg's applet

You can encrypt the contents of the clipboard by selecting the Encrypt clipboard</menucoice> item in applet menu. When you choose <menuchoice>Sign clipboard then the text will be signed instead. Both actions will import the current clipboard contents into an editor window, perform the requested action and paste the contents back into the editor.

Encrypting text from KGpg's editor

This is as simple as clicking on the Encrypt button. You will then be prompted with the Public key selection dialog. Choose your key and click Ok. The encrypted message will appear in the editor window.

Usually you can only encrypt files with keys that are trusted by you. Since you sometimes want to just send a confident note to some random people you are aware of having a GPG key you can set the option Allow encryption with untrusted keys.

To make sure that you can decrypt every file you have encrypted even if they are encrypted with someone else's key you can use the options Always encrypt with and Encrypt files with which are available in the KGpg configuration.

For more information on the encryption options ASCII armor, Allow encryption with untrusted keys and Symmetrical encryption, please refer to gpg's documentation or man pages.


Next
Decrypting Your Data