Re: Verifying Signed Files Downloaded via HTTP
From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 06/28/05
- Next message: Dominick Baier [DevelopMentor]: "Re: Windows App user grp question"
- Previous message: clsmith66: "Windows App user grp question"
- In reply to: DaveW: "Verifying Signed Files Downloaded via HTTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 28 Jun 2005 00:09:59 -0400
Well a simple way is to include a SHA1 (or other) hash of the new assem in
one of your xml elements for the file(s). Then just download them and
verify the new hash run over the file bits match the hash from the server.
IIRC, many have done this kind of thing with md5 for years.
-- William Stacey [MVP] "DaveW" <david_wender@yahoo.com> wrote in message news:1119638456.924177.55680@g47g2000cwa.googlegroups.com... >I have created a Launcher Application to automatically update files for > my main application before the main application starts. The launcher > checks a XML file on a server to see a list of files/versions that are > associated with the main application and will automatically download > new versions. > All DLLs and EXEs are strong named and signed with a Authenticode Code > signing certificate. > It seems that some clients are now encountering Strong Name exceptions > after downloading new versions. > > I am trying to figure out whether they are getting these exceptions > because the downloaded file was somehow corrupted during the file > transfer. If so, is there any way to verify that a file has a valid > signature after it is downloaded so that I can attempt to re-download > if there are problems? > > Another thing to note is that I renewed my Digital Certificate on > 6/6/05 but I have not rebuilt the SNK with new new certificate. I don't > know much about how these certificates work, but I'm wondering if there > is some sort of random verification going on that is failing because > the old certificate may be expired. > > Any help would be greatly appreciated. > > Thanks. >
- Next message: Dominick Baier [DevelopMentor]: "Re: Windows App user grp question"
- Previous message: clsmith66: "Windows App user grp question"
- In reply to: DaveW: "Verifying Signed Files Downloaded via HTTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|