From: Rudolf Polzer Date: Fri, 27 Aug 2010 17:27:02 +0000 (+0200) Subject: add the non-blind ID protocol to the txt file for reference X-Git-Tag: xonotic-v0.1.0preview~35 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fd0_blind_id.git;a=commitdiff_plain;h=ad845bbe96926e37e65dcf3aea505c9ab31f5943 add the non-blind ID protocol to the txt file for reference --- diff --git a/d0_blind_id.txt b/d0_blind_id.txt index 5234fe5..a469118 100644 --- a/d0_blind_id.txt +++ b/d0_blind_id.txt @@ -113,3 +113,31 @@ Low level protocol: "packet" - a value in double quotes is also defined in terms of this protocol, i.e. the length is preceded + + + +NOTE: to generate NON blind IDs, the process is not very straightforward. It +works like this: + +Server shall: +- load private key + +Both shall: +- perform authentication as usual + +Server shall: +- notice that the status is false +- call d0_blind_id_authenticate_with_private_id_generate_missing_signature +- write public ID +- send that data to client + +Client shall: +- read own private ID +- get fingerprint +- read received public ID (leaves the private part alone) +- verify fingerprint +- possibly verify ID +- write own private ID again + +This ensures that only the ID the client authenticated with is signed by the +server