1999Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] PGP player certificates (was: collecting ideas...) -->
<!--X-From-R13: "Irfyrl I. Frecfgen" <grecfgenNvbgn.quf.bet> -->
<!--X-Date: Wed, 22 Dec 1999 21:39:38 &#45;0800 -->
<!--X-Message-Id: Pine.LNX.3.96.991222190724.836A&#45;100000@maul.sith.vpn -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.LNX.4.10.9912221632140.11208&#45;100000@localhost.localdomain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] PGP player certificates (was: collecting ideas...)</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:terpstra@iota.dhs.org">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00752.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00754.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00751.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00766.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00753">Author</A>
&nbsp;|&nbsp;<A HREF="#00753">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00753">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] PGP player certificates (was: collecting ideas...)</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: Rahul Sinha &lt;<A HREF="mailto:rsinha#glue,umd.edu">rsinha#glue,umd.edu</A>&gt;</LI>
<LI><em>Subject</em>: [MUD-Dev] PGP player certificates (was: collecting ideas...)</LI>
<LI><em>From</em>: "Wesley W. Terpstra" &lt;<A HREF="mailto:terpstra#iota,dhs.org">terpstra#iota,dhs.org</A>&gt;</LI>
<LI><em>Date</em>: Wed, 22 Dec 1999 21:03:57 -0800 (PST)</LI>
<LI><em>cc</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>, <A HREF="mailto:alexands#interchange,ubc.ca">alexands#interchange,ubc.ca</A>, <A HREF="mailto:jabraham#interchange,ubc.ca">jabraham#interchange,ubc.ca</A></LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 22 Dec 1999, Rahul Sinha wrote:

&gt; On Wed, 22 Dec 1999, Wesley W. Terpstra wrote:
&gt; &gt; We wanted to make this mud a sort of mud network that allows players to
&gt; &gt; move between systems freely and without needing to trust the new server.
&gt; 
&gt; but their is inherent trust issue server vs server
I've spent some time putting my thoughts into a coherent discussion below.
This is a formalization of my hand-wavy 'ring' this 'ring' that from last
message.

&gt; &gt; [cut discussion about player data saved as pgp signed certificates]
&gt; this is fine, but isn't this easier via a separete server-server
&gt; protocol
Suppose the server you grew your character on was well trusted, but the
admin shut it down. A server-server protocol won't work then.  Also,
just because a client has played on two servers and they share some
trust, there's no reason the servers can reach each other. eg: muds at a
LAN party -&gt; bring character on disk.
I am sure there are many more such examples and reasons. The root of it
is that a character is logically bound to a user, not a server.

&gt; unless you want tforward the actual packets,  you are going to have to
&gt; make the user reconnect to the new server.  
Remember we have a client program and specific protocol, so this
reconnection would be transparent. Besides, why tunnel if you don't have
to? You add latency and use more resources. Further, the new server may
have different services available (on diff ports) so tunneling them all
from the original server is plainly a no go.

&gt; So he does, enters the name of
&gt; the old server, the name of the char, and then the new server contacts s
&gt; the old one, the old one presents a challenge that is answered
&gt; cryptographically (think rsa keys) by the player. (there is an assumption
&gt; of trust among the various servers, else the propagation of data back from
&gt; the new server to the old is ludicrous) the old server then gives the new
&gt; the vital stats, no need for pgp, and this can also allow for encrypted
&gt; connectiosn..
What you've described is the new server ssh'ing to the old. Yes, I could
do that, but my goal is to obviate the server-server talking. I want the
character in the hands of the user, not the server.

You keep mentioning server-server trust. I've tried to collect my thoughts
about this here in a fairly general trust framework:

- ---------------------------------------------------------------
Ring based trust (current working definition - changes welcome)
- ---------------------------------------------------------------

With every server is associated exactly one ring. 
However, rings need not be associated with a server. 

Every ring has exactly:
	- one private/public key pair
	- one ringmaster (not necessarily human).

Rings are designed to create trust information about other rings.
A server trusts exactly what the ring associated with it trusts.

The ring master holds the private key. He publicizes the public key and
purpose of his ring. 

	If it's a ring bound to a server, players will want to know what
	certificates on their character the server will accept.

	If it's a ring organization like 'ninja ring of trust' then other
	ringmasters will want to know whether they want to accept stats
	that are trusted by the 'ninja ring of trust'. 

A 'ring' R has a set of the following pairs (defined now as links):
	The public key of ring O. 
	The stats that from O that R trusts.

These links are distributed by the ringmaster after he signes them with
his private key. He distributes them widely. (see footnote 1)

When building a chain from x to y (a sequence of links building trust via
links from one server to another) the stats trusted by the chain is the
set intersection of each link's stats over all links in the chain.

A bridged stat from x to y is one for which there exists a chain from x to
y containing that stat.

Notice that the set of all bridged stats from x to y is not, in general,
equal to any of the stats in a particular chain from x to y.

- ---------------------------------------------------------------------
Footnote 1: Where are the links stored and how does a client bridge a
            stat?
- ---------------------------------------------------------------------

Where links will be stored I am uncertain of.
It should be readily available so that chains can be built and bridged
stats discovered.

If someone has ideas for how I should store links, please tell me!
Also, what algorithms are good for building chains?

My thoughts so far:
	Each ring stores all the links it has made and a route to the
		embedded rings.
	Each ring periodically queries linked rings about what bridged
		stats they have from other rings at present.
	It then rebuilds its own bridge (filtering bridged stats of
		course),

I believe this should achieve the same result as a parrallelized DFS.
Am I right in this? I also believe newsgroups propogate similarly...

However, this requires that every ring be able to talk to linked rings
directly. I had hoped to avoid that. 

Are there better methods?

- --------------------------------------------------------------------
Character certificate format
- --------------------------------------------------------------------

I still have yet to hammer out a clear enough definition of what is stored
in a certificate for characters. 
- - It has to be signed by the originating ring.
- - It has to refer to the last certificate from that ring. (so players
can't drop unwanted character changes).
- - It has to refer to the end of all certificate chains imported during the
last connect (so once you import changes from another server, they stick)
- - It has to timestamp the changes so servers can reapply changes in order. 
- - It has to record the changes - this is what I'm not sure about:

If the MUD were based completely around skills and items, this might work:
store a delta for skills and item stats for items. However, this
makes effects that set your skill to a particular value impossible. 

- ----------------------------------------------
Server end data storage
- ----------------------------------------------

And finally, what does the server store? I think it should only store a
hash of the last certificate issued. Then when you connect, the server
will know if you dropped certificates and deny you access. It also
means we have very little data to store on the server. :-) :-)

- ---

&gt; rsa != rsaref, I think the hole was a rsaref-specific problem, but je ne
&gt; suis pas un cryptographer
Rsaref had a bug, yes, but...
I was refering to the rsa algorithm which is not proven as hard to break
as factoring. And factoring isn't proven hard either. ;-)

- ---
E-mail: terpstra#interchange,ubc.ca        Host: iota.dhs.org
PGP key: hkp://wwwkeys.us.pgp.net/terpstra#interchange,ubc.ca
         <A  HREF="http://www.iota.dhs.org/pgp-keys/terpstra.pgp">http://www.iota.dhs.org/pgp-keys/terpstra.pgp</A>


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Comment: Made with pgp4pine 1.71b
Charset: noconv

iQA/AwUBOGGtRaYi3MeZ5h2mEQJTswCeIZPwh76FCbvJBqQl3ZcpxCsGuP4An0yn
wgNCSYpLyLxKk9YawJNRM2Id
=TLZJ
-----END PGP SIGNATURE-----




_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00766" HREF="msg00766.html">Re: [MUD-Dev] PGP player certificates (was: collecting ideas...)</A></strong>
<ul compact><li><em>From:</em> "David Bennett" &lt;ddt@discworld.imaginary.com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00751" HREF="msg00751.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></STRONG>
<UL><LI><EM>From:</EM> Rahul Sinha &lt;rsinha@glue.umd.edu&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00752.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00754.html">Re[4]: [MUD-Dev] The grass is always greener in the other field</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00751.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00766.html">Re: [MUD-Dev] PGP player certificates (was: collecting ideas...)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00753"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00753"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00761" HREF="msg00761.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, 
Wesley W. Terpstra <a href="mailto:terpstra@iota.dhs.org">terpstra@iota.dhs.org</a>, Thu 23 Dec 1999, 17:00 GMT
<UL>
<LI><strong><A NAME="00768" HREF="msg00768.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, 
J C Lawrence <a href="mailto:claw@kanga.nu">claw@kanga.nu</a>, Thu 23 Dec 1999, 17:08 GMT
</LI>
</UL>
</LI>
</ul>
</ul>
<LI><strong><A NAME="00742" HREF="msg00742.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, 
J C Lawrence <a href="mailto:claw@cp.net">claw@cp.net</a>, Thu 23 Dec 1999, 00:29 GMT
</LI>
</ul>
<LI><strong><A NAME="00751" HREF="msg00751.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, 
Rahul Sinha <a href="mailto:rsinha@glue.umd.edu">rsinha@glue.umd.edu</a>, Thu 23 Dec 1999, 05:36 GMT
<UL>
<LI><strong><A NAME="00753" HREF="msg00753.html">[MUD-Dev] PGP player certificates (was: collecting ideas...)</A></strong>, 
Wesley W. Terpstra <a href="mailto:terpstra@iota.dhs.org">terpstra@iota.dhs.org</a>, Thu 23 Dec 1999, 05:39 GMT
<UL>
<LI><strong><A NAME="00766" HREF="msg00766.html">Re: [MUD-Dev] PGP player certificates (was: collecting ideas...)</A></strong>, 
David Bennett <a href="mailto:ddt@discworld.imaginary.com">ddt@discworld.imaginary.com</a>, Thu 23 Dec 1999, 17:00 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00758" HREF="msg00758.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, 
J C Lawrence <a href="mailto:claw@kanga.nu">claw@kanga.nu</a>, Thu 23 Dec 1999, 07:50 GMT
</LI>
<LI><strong><A NAME="00765" HREF="msg00765.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, 
Greg Miller <a href="mailto:gmiller@classic-games.com">gmiller@classic-games.com</a>, Thu 23 Dec 1999, 17:00 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00777" HREF="msg00777.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, 
Rahul Sinha <a href="mailto:rsinha@glue.umd.edu">rsinha@glue.umd.edu</a>, Thu 23 Dec 1999, 20:50 GMT
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>