Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Any way to make code running on a cloud service publicly verifiable?
- Date: Sat, 15 Sep 2012 23:49:21 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] Any way to make code running on a cloud service publicly verifiable?
- References: <CA+su7OWvHruqQ8MVWKqkGNSwrnLS0GeZECk=B4P4AwWN=qR8eg@mail.gmail.com> <87627grg2i.fsf@uwakimon.sk.tsukuba.ac.jp> <20120915065609.GB9846@homeric.cynic.net>
Curt Sampson writes: > On 2012-09-14 20:37 +0900 (Fri), Stephen J. Turnbull wrote: > > > The thing is, you absolutely have to have a third party certify > > that... (2) that the initial code it downloaded is the code you > > published. ("Initial" because you could trivially add a backdoor to > > upload additional code via HTTPS or whatever -- this can only be dealt > > with by a 3rd party certifying that your initial code doesn't do that.) > > Actually, you don't need the third party to verify that; the user of the > site can download the code and verify it himself. Right. > > If you trust SHA1 is cryptographically strong, then you could do this > > easily with git or hg... Have the cloud provider install a > > trusted, known clean version of the DVCS, which checks out a revision > > you specify from a public repo. > > Be very careful when trying to use a hash for verification; naïve ways > of using it are vulnerable to length-extension attacks and probably > other things. Given that you need public verification, I'm not even sure > that an HMAC will do what you need, either, so use a proper digital > signature. This is not hard to do with OpenSSL or PGP. Ah, you're right. I don't see how *Edgar* can beat the system, but he is theoretically vulnerable to a Joe Job where a *fourth* party cracks his repo and provides malicious code purporting to be from Edgar. But what do you propose signing in the case of a direct checkout of rev deadbeefcafefeedbeadbabefacebadedeedaced from a public git repository? The rev id, I guess?
- Follow-Ups:
- References:
- [tlug] Any way to make code running on a cloud service publicly verifiable?
- From: Edmund Edgar
- [tlug] Any way to make code running on a cloud service publicly verifiable?
- From: Stephen J. Turnbull
- Re: [tlug] Any way to make code running on a cloud service publicly verifiable?
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Any way to make code running on a cloud service publicly verifiable?
- Next by Date: Re: [tlug] Any way to make code running on a cloud service publicly verifiable?
- Previous by thread: Re: [tlug] Any way to make code running on a cloud service publicly verifiable?
- Next by thread: Re: [tlug] Any way to make code running on a cloud service publicly verifiable?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links