monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: Key identities...


From: Lapo Luchini
Subject: [Monotone-devel] Re: Key identities...
Date: Sun, 18 Nov 2007 16:19:54 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.0

Richard Levitte wrote:
> I won't deny that William's change is going to make a difference, but
> I question if it will be *enough* of a difference.

IMHO as creation of more keys with same name will always be possible (in
disconnected spaces), we better accept to work with them properly (using
only key-hashes in certs and showing names with the first uncommon part
of the key hash in case of clashes)...

CREATE TABLE revision_certs
        (
        hash not null unique,   -- hash of remaining fields
        id not null,            -- joins with revisions.id
        name not null,          -- opaque string chosen by user
        value not null,         -- opaque blob
-       keypair not null,       -- joins with public_keys.id
+       keypair not null,       -- joins with public_keys.hash
        signature not null,     -- RSA/SHA1 signature of "address@hidden:val]"
        unique(name, id, value, keypair, signature)
        );

Lapo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]