monotone-devel
[Top][All Lists]
Advanced

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

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


From: Richard Levitte
Subject: Re: [Monotone-devel] Re: Key identities...
Date: Sun, 18 Nov 2007 19:20:18 +0100 (CET)

In message <address@hidden> on Sun, 18 Nov 2007 16:19:54 +0100, Lapo Luchini 
<address@hidden> said:

lapo> Richard Levitte wrote:
lapo> > I won't deny that William's change is going to make a difference, but
lapo> > I question if it will be *enough* of a difference.
lapo> 
lapo> IMHO as creation of more keys with same name will always be possible (in
lapo> disconnected spaces), we better accept to work with them properly (using
lapo> only key-hashes in certs and showing names with the first uncommon part
lapo> of the key hash in case of clashes)...
lapo> 
lapo> CREATE TABLE revision_certs
lapo>         (
lapo>         hash not null unique,   -- hash of remaining fields
lapo>         id not null,            -- joins with revisions.id
lapo>         name not null,          -- opaque string chosen by user
lapo>         value not null,         -- opaque blob
lapo> -       keypair not null,       -- joins with public_keys.id
lapo> +       keypair not null,       -- joins with public_keys.hash
lapo>         signature not null,     -- RSA/SHA1 signature of 
"address@hidden:val]"
lapo>         unique(name, id, value, keypair, signature)
lapo>         );

Have you thought about how the files in ~/.monotone/keys/ should be
named?  I believe that will be the most user-visible change, really.

Cheers,
Richard

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

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