If someone wants you to send a confidential file.
########################################
1) Generate gpg keys from your local machine and provide them your public key.
2) Then they will encrypt that file with your public key provided by you via mail or chat.
3) Now after encryption they will send that encrypted file to you.
4) Now you can decrypt the file with the private key resides in your local machine.
Useful commands.
###############
Generate gpg key
# gpg --gen-key
Export a public key
# gpg --armor --export ramesh > ramesh-pub-asc.gpg
Import a public key
# gpg --import FileName
If you want to send a file
#####################
1) Ask his/her the public key.
2) Import the public key.
3) encrypt the file
4) Send them the file.
That is all , Thanks,
########################################
1) Generate gpg keys from your local machine and provide them your public key.
2) Then they will encrypt that file with your public key provided by you via mail or chat.
3) Now after encryption they will send that encrypted file to you.
4) Now you can decrypt the file with the private key resides in your local machine.
Useful commands.
###############
Generate gpg key
# gpg --gen-key
Export a public key
# gpg --armor --export ramesh > ramesh-pub-asc.gpg
Import a public key
# gpg --import FileName
If you want to send a file
#####################
1) Ask his/her the public key.
2) Import the public key.
3) encrypt the file
4) Send them the file.
That is all , Thanks,
Comments