KGpg also offers the possibility to encrypt text or clipboard contents. Click the padlock icon and find the optionsand as well as the option for opening the integrated editor.
Files copied to the clipboard can easily be encrypted with a few clicks. Open the function overview by clicking the KGpg icon. Select and designate the key to use on the panel. A status message about the encryption procedure is displayed on the desktop. The encrypted contents can now be processed from the clipboard as needed. The decryption of clipboard contents is just as easy. Simply open the menu on the panel, select , and enter the password associated with your private key. The decrypted version is now available for processing in the clipboard and in the KGpg editor.
To encrypt or decrypt files, click the icons on the desktop or in the file manager, drag them to the padlock in the panel, and drop them there. If the file is not encrypted, KGpg asks for the key to use. As soon as you have selected a key, the file is encrypted without any further messages. In the file manager, encrypted files are designated with the suffix .asc and the padlock icon. These files can be decrypted by clicking the file icon, dragging it to the KGpg symbol in the panel, and dropping it there. Then select whether the file should be decrypted and saved or displayed in the editor. If you select , KGpg prompts for the password of your private key and saves the decrypted file in the same directory as the encrypted file.
Instead of creating contents for encryption in an external editor then encrypting the respective file with one of the methods described above, you can use the integrated editor of KGpg to create the file. Open the editor ( from the context menu), enter the desired text, and click . Then select the key to use and complete the encryption procedure. To decrypt files, use and enter the password associated with the key.
Generating and checking signatures is just as easy as encrypting directly from the editor. Go to KGpg informs you about the successful generation of the signature. Files can also be signed from the editor by simply clicking . To check a signed file, go to + and select the file to check in the following dialog. As soon as you confirm the selection, KGpg checks the signature and reports the result of the operation. Another possibility is to load the signed file into the editor and click .+ and select the file to sign from the file dialog. Then designate the private key to use and enter the associated password.