how i can encrypt files by eternal GPG public key ?

for example user A generate public key A.pub and sent to me A.pub and you need from me to encrypt file by a.pub and sent it to you

how i can do that ? please explain it step by step

link|improve this question

feedback

1 Answer

up vote 0 down vote accepted

to do it follow the following steps :-

1- gpg --import "d:\mohammad.txt"

2-gpg --recipient "mohammad" --output "d:\port.txt.gpg" --encrypt "d:\port.txt"

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.