-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm developing an application that exchanges short UDP messages with
many different peers. Each participating peer has a DSA key pair and is
identified by the SHA-1 hash of the public key.

The (human) identity of the peers is of no importance whatsoever, so the
keys themselves need not be authenticated.
But in order to prevent malicious peers from assuming another peer's ID,
all messages are to be DSA signed with the private key that matches
(corresponding public key hases to) the sender's ID.
On first contact, the sender's public key needs to be contained in the
message so the recipient can check the signature.

Now I'm looking for the most compact form to transfer the public key in
order to reduce overhead, as:
* The number of messages can become huge
* The message payload is usually only a few bytes, so the key will
usually be the biggest part anyway
* In many if not most cases, any given two peers exchange only very few
messages, so "first contact" is the regular case, not an exception

So, is there any feasible encoding that contains all the required
information but is substantially shorter than binary DER?

Many thanks in advance,
- -Malte

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAjp9FVDF3RdLzx4cRAsTFAJ9eaVrAK/WFqnaZ3g6PJ/3ypp9zzACfd3Pj
lBwjbdc7VLEK1aDsCFKcGWA=
=JN8Q
-----END PGP SIGNATURE-----

Reply via email to