sqwebmailsoft writes: 

> hi,Sam Varshavchik
>                I am sorry  I cant catch your words of "Tell the sender to use 
>MIME-GPG encapsulation".I created an  encrypt key at first ,Then I  sent a encrypt 
>message  to a user  who is in my local mail server through sqwebmail. If the user is 
>itself.   I can decrypt the message well.But if the user is different from the 
>sender.To decrypt the message is always fail
> The information is like following
> gpg: encrypted with ELG-E key, ID DEBF014B
> gpg: encrypted with ELG-E key, ID 37F45440
> gpg: encrypted with ELG-E key, ID 94E5E1CA
> gpg: decryption failed: secret key not available
> gpg: [don't know]: invalid packet (ctb=0f) 
> 
> How to import the secrte key which is not available just now  and how to use the 
>encrypt key on sqwebmail?

You do not import secret keys, in this particular instance. 

It sounds like you do not fully understand how public-key encryption works. 
There are many resources on the web with more information, but the general 
idea is: 

* All the parties create their own public/private keypairs, and exchange 
their PUBLIC keys. 

* Mail is encrypted with the recipient's PUBLIC key.  The recipient uses the 
corresponding PRIVATE key, which only the recipient has, to decrypt the 
message.  Only the recipient has the private key to decrypt the message.  
The sender may also optionally sign the message with the sender's PRIVATE 
key, which only the sender has, and the recipient will verify the signature 
with the sender's PUBLIC key. 

With sqwebmail, public keys may be exchanged by sending them as attachments. 
 From the attachment window there's a drop-down box to attach your public 
key.  When the recipient receives the attached public key, there will be a 
prompt to import the public key. 

 

-- 
Sam 

Reply via email to