Michal Pryc wrote: > Hello pkg community, > > I am sure that during design this problem was taken into account, but I > want to ask how this case is handled? > I can see that the files on the server side are stored using hash as a > names. > So what will happen if there are two different files with the same > sha1sum? The second file will override the first one, or some exception > will be caught or maybe another name will be given for the second file?
Having two different files end up with the same SHA1 checksum is highly unlikely. For more info on why read up on what SHA1 is and how hard it has been to get very carefully crafted hash collisions. Though just to be sure the plan is to move to SHA256 - since we want SHA256 for packaging signing anyway. -- Darren J Moffat _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
