How to decrypt the message in the gmail

Asked by Vikas Bhasin

 Hello Friends,

 Not able to decrypt the mail from the launchpad. how can one read a encrypted mail.

 Thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Nicolas Van Wambeke
Solved:
Last query:
Last reply:
Revision history for this message
Nicolas Van Wambeke (nicolasvw) said :
#1

Hello,

In order to be able to use GPG with Gmail, you can install the FireGPG addon which will ease this process for you.
More details on GPG and its use around Ubuntu/Launchpad can be found here: https://help.ubuntu.com/community/GnuPrivacyGuardHowto

Cheers,

Nicolas

Revision history for this message
Vikas Bhasin (vikasb) said :
#2

Thanks Nicolas,

Have already tried to install FireGPG Firefox plugin, but its not getting installed.

Revision history for this message
Nicolas Van Wambeke (nicolasvw) said :
#3

If the FireGPG addon is not working, you can always decrypt the mail manually. To do so, copy the contents of the mail you received starting at -----BEGIN PGP MESSAGE----- and until -----END PGP MESSAGE----- in a file you'll save in your home directory (named for example gpgMail).

After that, open a terminal (Applications->Accessories->Terminal), navigate to the directory you saved the file (if you saved it in your home then you're already at the right place) and type:

gpg --decrypt gpgMail

The clear text will be shown on your terminal. (make sure you have the gnupg package installed first)

Hope this helps,
Cheers,

Nicolas

Revision history for this message
Vikas Bhasin (vikasb) said :
#4

Thanks Nic,

Been able to decrypt the message in the terminal and move on to the next step.getting a error message.

gpg: can't open `UbuntuCodeofConduct-1.0.1.txt': No such file or directory
gpg: UbuntuCodeofConduct-1.0.1.txt: clearsign failed: file open error

thanks

Revision history for this message
Best Nicolas Van Wambeke (nicolasvw) said :
#5

Hello,

Most likely the file you are trying to sign is not located in the current directory (Firefox defaults to downloading file to your Desktop directory).

What you can do is copy/paste the CoC into a file in your home directory just like you did with the ciphered mail (let's say code.txt).

Afterwards, you can simply open a terminal, navigate to the proper directory (if it's your home you're all set) and type:

gpg --clearsign code.txt

This will generate a new file called code.txt.asc which you'll need to upload back as it contains your signature.

Cheers,

Nicolas

Revision history for this message
Vikas Bhasin (vikasb) said :
#6

Thanks a Nicolas, Have manage to register.

Revision history for this message
Vikas Bhasin (vikasb) said :
#7

Thanks Nicolas Van Wambeke, that solved my question.