<div dir="ltr"><div>Hi,</div><div><br></div><div>The situation is that there is a machine on remote. And I want to send an encrypted file to that remote machine and let the machine decrypt the file automatically. So I'm facing the problem that:</div><div><br></div><div> * To encrypt the file by a public key:</div><div><br></div><div>     Which means I have to put a secret key on the remote machine. But it is not an ideal solution. Since a secret key needs a passphrase to use. Further more, a secret key on a remote machine isn't under enough protection. That may have some security issue.</div><div><br></div><div> * To encrypt the file by a secret key:</div><div><br></div><div>     This can meet my needs. But it seems that GnuPG doesn't support the feature for encryption by secret key.</div><div><br></div><div>Any suggestion on this situation?</div><div><br></div><div>regards,</div><div>Ken</div></div>