Hi, I'm poking around at the new security stuff in apt 0.6, and I have a quick question: What exactly is the purpose of the IndexFile class, and how does it behave? For instance, pkgAcqArchive::IsTrusted appears to assume that some index file will always be available for a given Version. Is that true? I mention this method because if no index file is found, it returns "true", so a complete lack of index files -- meaning nothing to check for trustedness -- results in the routine reporting that the item is trusted. If it was possible that no index files would be available, I would expect this to return "false", unless I completely misunderstand what's going on. Thanks, Daniel -- /------------------- Daniel Burrows <dburrows@debian.org> ------------------\ | Almost Winter, Winter, Still Winter, and Construction. | \------------ Evil Overlord, Inc: http://www.eviloverlord.com --------------/
Attachment:
pgpwHgvNp9AmY.pgp
Description: PGP signature