[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] missing public keys
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] missing public keys |
Date: |
Sat, 6 Oct 2007 22:26:37 -0700 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sun, Oct 07, 2007 at 04:31:01AM +0100, Peter Stirling wrote:
> I wrote a lua program that:
> Looks for revisions with 'bad' certificates (as reported by "mtn au
> certs <rev>") which have private keys available to monotone
> (ie "mtn au keys" has a "private_location"), and
> Uses the "mtn db execute" command to delete the bad certs
> (all certs for that revision by that key because figuring
> out the hash of the bad certs was beyond me, however it
> does track all the good certs as well as bad for
> reinsertion), and finally,
> Uses "mtn au cert <rev>" to add the certs back to the database.
If you wanted to be careful you might insert the new certs first, so
in case the thing crashes for some reason then you end up with
duplicate certs (recoverable) instead of no certs (not so much). But
the idea seems right otherwise.
-- Nathaniel
--
Eternity is very long, especially towards the end.
-- Woody Allen
- [Monotone-devel] missing public keys, Benoît Dejean, 2007/10/02
- Re: [Monotone-devel] missing public keys, Benoît Dejean, 2007/10/05
- Re: [Monotone-devel] missing public keys, Nathaniel Smith, 2007/10/05
- Re: [Monotone-devel] missing public keys, Benoît Dejean, 2007/10/06
- Re: [Monotone-devel] missing public keys, Peter Stirling, 2007/10/06
- Re: [Monotone-devel] missing public keys,
Nathaniel Smith <=
- Re: [Monotone-devel] missing public keys, Benoît Dejean, 2007/10/09
- Re: [Monotone-devel] missing public keys, Peter Stirling, 2007/10/09
- Re: [Monotone-devel] missing public keys, Benoît Dejean, 2007/10/11
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [Monotone-devel] missing public keys, Benoît Dejean, 2007/10/19