Hi

Thanks for the help. the commands suggested gave the following error messages.
> When a user
> receives an encrypted mail from his peer ... he is able
> to read the mail only after receiving the KEY of sender
> to his pubring.gpg .

Not quite right, but Faramir has already addressed this point.



> But the problem here is each user has to receive KEYs
> of all the other one after another....which i dont think
> is the correct way. ???????

It would be the usual way to download keys from the server as needed.



> is there any way of receiving
> all the Public-keys that are available with the local SKS
> keyserver ???????

If all the keys on your local server have a common string in the
user-id, this would be trivial. Let's assume the common string is
"@domain.example" and try issuing the command

gpg --keyserver hkp://localhost --recv-key @domain.example

^^[r...@localhost ~]# gpg --keyserver hkp://localhost --recv-key @localhost
^^gpg: skipping invalid key ID "@localhost"# by questioner#


Doesn't that fetch all keys on that server containing that string?

Or maybe "gpg --fetch-keys hkp://localhost" might do it?

^^[r...@localhost ~]# gpg --fetch-keys hkp://localhost
^^gpg: Invalid option "--fetch-keys" # by questioner#


> if it is ?? how to update users
> pubring.gpg periodically

Put the required commands in a batch file and schedule it to be run
periodically, perhaps?

> or  when ever a new KEY is
> received by the KEYSERVER? Please help me..

"--auto-key-locate [parameters]" could be used to fetch new keys as
needed, rather than as soon as posted to the server
^^ i have added the line keyserver-options --auto-key-locate ^^ in my 
~/.gnupg/gpg.conf file
i have to see how it works

- --
Best regards

MFPA                    mailto:[email protected]

Wisdom is a companion to age; yet age may travel alone.
-----BEGIN PGP SIGNATURE-----

iQCVAwUBTFoIGaipC46tDG5pAQqpsAQArzzZm0F5xQS0KnB1IqGSKxarup4ORMJf
W2PG/4FmQ8YVSbmLe10hewCrsgQzCywtuKkA8XxelI26hvz8mBz5h2RwatUsKG+s
ba8gZpGw7jkOwR+cGTxUL+XxC0xOrGAdwpa86qIbIv8eaD60GILqPdnc4h/Qxy4V
Uyq6WyZqz2o=
=SMxk
-----END PGP SIGNATURE-----



_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to