Flux rss

GnuPG : key commands

Published by aakai1056, last update on Wednesday November 5, 2008 06:55:40 AM by aakai1056

GnuPG : key commands





Below is a list of main commands for operating GnuPG

Generate double keys: gpg --gen-key
List available keys: gpg --list-keys
Exporting your public key: gpg --armor --export keyID
Importing a key: gpg --import filename
Calculating the fingerprint of a key: gpg --fingerprint keyed
Signing a key: gpg --sign-key keyed
Encrypt and signing a message: gpg -sea -r keyID then type the message followed by key button CTRL+Z
Signing a public message: gpg --clearsign -a -r keyID then type the message followed by key CTRL+Z
Decrypt a message/verify signature: gpg < message.txt
Encrypt a file with a password: gpg –c filename
Decrypt a file with password: gpg filename
Sign a file (signature in a separate file): gpg --armor --detach-sign filename (This will be created as filename.asc with the message)
Verifying detached signature file .asc: gpg filename.asc

Storage keyring


The public and private keys are stored in the storage keyring namely pubring.gpg for public keys and secring.gpg for private keys.

This file is located in ~/.gnupg for Linux and POSIX OS.
Under windows Operating Systems, it is located in: C:\Documents and Settings\votrelogin\Application Data\gnupg\
To access pubring.gpg, execute the following command : gpg --list-keys

Public Key servers


Below is the server’s public key PGP/GPG used for publishing public keys or searching for others.
Below is a recommended server due to its efficiency in deleting invalid keys automatically.

https://keyserver.pgp.com/
Starcraft Hello, Whenever I try to play Starcraft it’ll suddenly at random (seemingly) loop a bizarre sound while the screen is frozen and refuses to respond to keyboard commands. The crashes at this point seem to have absolutely nothing to do with the amount... en.kioskea.net/forum/affich-16780-starcraft
Linux - Commands Command Description DOS equivalent ls lists the content of a directory dir cd change of directory cd cd .. parent directory cd.. mkdir creates a new directory md rmdir eliminates a directory deltree cp copy of a file copy, xcopy mv moves a file move... en.kioskea.net/linux/lincomm.php3
The 'Fn' key (Solved) Hello, the 'Fn' key make me type numbers and symbols instead of letters when I want to. However, it looks as if the 'Fn' key was stucked. I can't type the 'i', 'u', 'o', and 'p'. All I... en.kioskea.net/forum/affich-16321-the-fn-key
BIOS CommandsBIOS Commands How to enter BIOS Alternative to your Mouse To select an option To change values To quit BIOS When using BIOS, the mouse option is disabled and you will only be allowed to use your keyboard keys. This article will... en.kioskea.net/faq/sujet-330-bios-commands
[Windows] Auto-completion of commands in the consoleAuto-completion of commands within a console When using Linux a practical feature is to be able to complete a command by typing the first characters and pressing the TAB key to resume the rest. This feature can allow you to save time(Typing... en.kioskea.net/faq/sujet-1017-windows-auto-completion-of-commands-in-the-console
Accessing to recent commands from the historyAccessing to recent commands from the history The Linux / Unix shell is full of features allowing you to save time and making your life easier. Using the navigation arrows ( up arrow key). it is possible to go through history tof the... en.kioskea.net/faq/sujet-1225-accessing-to-recent-commands-from-the-history
Command Line For Loading GUIHello, I want to know Command line for loading GUI Mode of Linux. I am using Grub Boot Loader when i boot my pc i am facing CLI Mode Like this GRUB> en.kioskea.net/forum/affich-14431-command-line-for-loading-gui
Keyboard problemHello, My keys in the keyboard stops working randomly. Even the onscreen keyboard does not work. It acts as if the Ctrl key is pressed. When I press 'p' print command comes. And after sometime it automatically comes to normal .I am having a... en.kioskea.net/forum/affich-24394-keyboard-problem
1cdkey.com/ Red Alert 3 cd code,key codeHello, cheapest and totally valid Command & Conquer: Red Alert 3 Cd Key ! click here http://www.cdkey-game.com/command-conquer-alert-p-444.html only $39.95 you can get Red Alert 3 Cd Key ! contact kobe@cdkey-game.com en.kioskea.net/forum/affich-35782-1cdkey-com-red-alert-3-cd-code-key-code
Download WIFI Key GeneratorConnections Wifi are certainly very practical, but given that they require no wiring, everybody can be connected to it if his computer is compatible with Wifi. WIFI Key Generator is a small application intended to generate keys of protection for your... en.kioskea.net/telecharger/telecharger-459-wifi-key-generator
Download Asterisk KeyIs never asked to you you what hide asterisks when they write a password? Although it is an a bit stupid question, when you do not remember your password any more, you will have liked well to know the answer to this question. Asterisk Key is a very... en.kioskea.net/telecharger/telecharger-740-asterisk-key
Download Media KeyboardBottom need a multimedia keyboard worthy of the name? In here is a product by Logitech and for sure, you will find big contentment there to use it. If you already have it, here is his pilot. en.kioskea.net/telecharger/telecharger-946-media-keyboard
Computer - The keyboard The keyboard, like a typewriter, is used for entering characters (such as letters, numbers, and symbols). It is an essential input device for a computer, as it is what lets us enter commands. The term "QWERTY" (after the first six letter keys on the... en.kioskea.net/pc/clavier.php3
Using Telnet Telnet is a protocol for emulating a remote terminal, which means that it can be used to run commands entered on a keyboard at a remote machine. The tool Telnet is an implementation of the Telnet protocol, which means that it translates the protocol... en.kioskea.net/utile/telnet.php3
Using Telnet Telnet is a protocol for emulating a remote terminal, which means that it can be used to run commands entered on a keyboard at a remote machine. The tool Telnet is an implementation of the Telnet protocol, which means that it translates the protocol... en.kioskea.net/outils-reseau/telnet.php3