[Top][All Lists]
[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
- [Monotone-devel] Re: Key identities..., (continued)
- Re: [Monotone-devel] Re: Key identities..., Stephen Leake, 2007/11/18
- Re: [Monotone-devel] Re: Key identities..., Richard Levitte, 2007/11/18
- [Monotone-devel] Re: Key identities..., Lapo Luchini, 2007/11/18
- Re: [Monotone-devel] Re: Key identities..., Stephen Leake, 2007/11/18
- Re: [Monotone-devel] Re: Key identities..., William Uther, 2007/11/18
- Re: [Monotone-devel] Re: Key identities..., Stephen Leake, 2007/11/19
- Re: [Monotone-devel] Re: Key identities...,
Richard Levitte <=