Article View: linux.debian.maint.dpkg
Article #17Re: [RFC] extracting apt and dpkg for independent use for alternative purposes
From: Luke Kenneth Casson Leighton
Date: Tue, 17 Nov 2026 07:50
Date: Tue, 17 Nov 2026 07:50
229 lines
15258 bytes
15258 bytes
--000000000000a92b3c06607417a2 Content-Type: text/plain; charset="UTF-8" quick question: does anyone know if *older* (prior) debian *Release* files are stored in any *signed* debian package such that a chain of provenance of all packages and all versions could be traced? the only alternative way is reconstruction that would be successful if and only if the entire history of debian mirroring of every Release/InRelease file ever created can somehow be recovered. i have not been able to find evidence of chained Release providence tracing, and it is an oversight on my part from the original Web-of-Trust analysis done in 2017. https://gitlab.com/d12rg/wot/-/blob/master/papers/wot/wot.tex l. On Monday, November 16, 2026, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote: > this is a little complex to explain, and please be patient and strictly > follow debian community guidelines, as i have had strokes and now am forced > to use AIs in a symbiotic fashion. below is > written *without* their assistance. > > repo first, explanation second, motto at the end: > https://gitlab.com/d12rg/wot/ > > about 25 years ago i envisaged debian being fully peer-distributed. not > dependent on any domain hosting in any way, the entire process of debian > development could hypothetically be done via TCP/CP using git (bundles via > Carrier Pigeon) or a true peer-to-peer git transport [not to be confused > with pushing to a server, i do mean e.g. pushing git bundles to a > bittorrent network and linking SHA256 commits directly into its Kademlia > DHT] > > in addition to that, many people will have seen how badly windows .EXE > provenance goes (the windows 95 sheep screensaver wrapped in malware was my > favourite) and a plethora of linux distros are blissfully unaware of the > deeply impressive provenance, documentation, rigor, and... i run out of > superlatives - i got up to 18 hard requirements and listed how every > distribution but debian fails them: > http://lkcl.net/reports/wot/ > > in addition to *that* if there is a *non-debian* or > even non-distro aim to distribute, for example, the > source latex of arxiv.org peer reviewed academic > journals, and have each PDF built as a binary > package and the latex as source, where the > Citations are mapped to package dependencies > and - this is the kicker - the distribution does NOT > end up messing with /var/lib/apt etc but can be > placed into an ENTIRELY INDEPENDENT location > of the user's choice... > > this is where the research project i am putting together kicks in. > > the goal is to then link the entire thing together behind fully > peer-to-peer infrastructure. apt-swarm is a candidate however that does not > help with the other aspects: peer-distribution of GPG keyring signing and > Identity verification protocols, whom do you trust when the entire > provenance is peer-distributable, even to the point of allowing you to > choose whom *you* trust as ftp-masters, *and* which "Releases" - quantity > multiple - you accept. > > remember that in this scenario there will NOT be one single > /etc/apt/sources.list[.d] there will be *MULTIPLE* $(repo[nnnnnn])/etc/apt/ > sources.list[.d] > of *your* choice for *your* chosen purpose(s), every single one of them > fully decentralised, peer-distributable, the number of top-level Release > files is not in any way limited (and can go directly into a DHT *and* have > apt search keywords associated with it) > > yet still fulfilling the hard requirements that gives debian its > near-invulnerable reputation to provenance attack. > > the first stage - self-bootstrap - is already complete. the scripts can > automatically package themselves up as a debian package, install and set > themselves up under an arbitrary directory, set up a debian pool mirror > ready for actual distribution, and can then be installed AGAIN from that > mirror and re-built or installed again, in order to perform gcc-style > bootstrap self-checking (does the compiler compile itself 3x in a chain and > produce identical binaries?) > > the second stage is to introduce apt-swarm and separate out packages for > the documentation and associated papers, set up reproducible builds and > tests for use of apt-mirror and other hosting options, sort out the gpg > keyring peer distribution. > > a third stage is to establish a rigorous set of hostile attack vectors, > actively seeking to shred the entire system and make it fall over. > > i would welcome feedback and assistance, this is a fascinating > meta-meta-project that solves a particularly complex provenance and > reproducability problem on moving target(s). > > until otherwise established a mailing list is here: > https://groups.google.com/g/d12rg > > one particular question i would love to hear from people: i suggested > putting the entirety of arxiv.org source and PDFs into debian archive > form: what would *you* use this for? software project management of > releases, even those from Visual Studio or Eclipse or Arduino? ERM or other > Sales Force Management of customer contracts? a type of blockchain which > goes well beyond Ethereum? what else? > > the motto, if you have seen mythbusters, is to use [software] tools for > purposes for which they were never originally intended. back-to-back. and > not as a rube goldberg machine. > > l. > > > > -- > --- > geometry: without it life is pointless > the fibonacci series: easy as 1 1 2 3 > we are humans and can make mistakes > > -- --- geometry: without it life is pointless the fibonacci series: easy as 1 1 2 3 we are humans and can make mistakes --000000000000a92b3c06607417a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div>quick question: does anyone know if *older* (prior) debian *Release* f= iles are stored in any *signed* debian package such that a chain of provena= nce of all packages and all versions could be traced?</div><div><br></div><= div>the only alternative way is reconstruction that would be successful if = and only if the entire history of debian mirroring of every Release/InRelea= se file ever created can somehow be recovered.</div><div><br></div><div>i h= ave not been able to find evidence of chained Release providence tracing, a= nd it is an oversight on my part from the original Web-of-Trust analysis do= ne in 2017.</div><div><br></div><div><a href=3D"https://gitlab.com/d12rg/wo= t/-/blob/master/papers/wot/wot.tex">https://gitlab.com/d12rg/wot/-/blob/mas= ter/papers/wot/wot.tex</a></div><div><br></div><div>l.</div><div><br></div>= <div><br><br>On Monday, November 16, 2026, Luke Kenneth Casson Leighton <= ;<a href=3D"mailto:lkcl@lkcl.net">lkcl@lkcl.net</a>> wrote:<br><blockquo= te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so= lid;padding-left:1ex">this is a little complex to explain, and please be pa= tient and strictly follow debian community guidelines, as i have had stroke= s and now am forced to use AIs in a symbiotic fashion. below is<div>written= *without* their assistance.<br><div><br></div><div>repo first, explanation= second, motto at the end:</div><div><a href=3D"https://gitlab.com/d12rg/wo= t/" target=3D"_blank">https://gitlab.com/d12rg/wot/</a></div><div><br></div= ><div>about 25 years ago i envisaged debian being fully peer-distributed. n= ot dependent on any domain hosting in any way, the entire process of debian= development could hypothetically be done via TCP/CP using git (bundles via= Carrier Pigeon) or a true peer-to-peer git transport [not to be confused w= ith pushing to a server, i do mean e.g. pushing git bundles to a bittorrent= network and linking SHA256 commits directly into its Kademlia DHT]</div><d= iv><br></div><div>in addition to that, many people will have seen how badly= windows .EXE provenance goes (the windows 95 sheep screensaver wrapped in = malware was my favourite) and a plethora of linux distros are blissfully un= aware of the deeply impressive provenance, documentation, rigor, and... i r= un out of superlatives - i got up to 18 hard requirements and listed how ev= ery distribution but debian fails them:</div><div><a href=3D"http://lkcl.ne= t/reports/wot/" target=3D"_blank">http://lkcl.net/reports/wot/</a></div><di= v><br></div><div>in addition to *that* if there is a *non-debian* or</div><= div>even non-distro aim to distribute, for example, the</div><div>source la= tex of <a href=3D"http://arxiv.org" target=3D"_blank">arxiv.org</a> peer re= viewed academic</div><div>journals, and have each PDF built as a binary</di= v><div>package and the latex as source, where the</div><div>Citations are m= apped to package dependencies</div><div>and - this is the kicker - the dist= ribution does NOT</div><div>end up messing with /var/lib/apt etc but can be= </div><div>placed into an ENTIRELY INDEPENDENT location</div><div>of the us= er's choice...</div><div><br></div><div>this is where the research proj= ect i am putting together kicks in.</div><div><br></div><div>the goal is to= then link the entire thing together behind fully peer-to-peer infrastructu= re. apt-swarm is a candidate however that does not help with the other aspe= cts: peer-distribution of GPG keyring signing and Identity verification pro= tocols, whom do you trust when the entire provenance is peer-distributable,= even to the point of allowing you to choose whom *you* trust as ftp-master= s, *and* which "Releases" - quantity multiple - you accept.</div>= <div><br></div><div>remember that in this scenario there will NOT be one si= ngle /etc/apt/sources.list[.d] there will be *MULTIPLE* $(repo[nnnnnn])/etc= /apt/<wbr>sources.list[.d]</div><div>of *your* choice for *your* chosen pur= pose(s), every single one of them fully decentralised, peer-distributable, = the number of top-level Release files is not in any way limited (and can go= directly into a DHT *and* have apt search keywords associated with it)</di= v><div><br></div><div>yet still fulfilling the hard requirements that gives= debian its near-invulnerable reputation to provenance attack.</div><div><b= r></div><div>the first stage - self-bootstrap - is already complete. the sc= ripts can automatically package themselves up as a debian package, install = and set themselves up under an arbitrary directory, set up a debian pool mi= rror ready for actual distribution, and can then be installed AGAIN from th= at mirror and re-built or installed again, in order to perform gcc-style bo= otstrap self-checking (does the compiler compile itself 3x in a chain and p= roduce identical binaries?)</div><div><br></div><div>the second stage is to= introduce apt-swarm and separate out packages for the documentation and as= sociated papers, set up reproducible builds and tests for use of apt-mirror= and other hosting options, sort out the gpg keyring peer distribution.</di= v><div><br></div><div>a third stage is to establish a rigorous set of hosti= le attack vectors, actively seeking to shred the entire system and make it = fall over.</div><div><br></div><div>i would welcome feedback and assistance= , this is a fascinating meta-meta-project that solves a particularly comple= x provenance and reproducability problem on moving target(s).</div><div><br= ></div><div>until otherwise established a mailing list is here:</div><div><= a href=3D"https://groups.google.com/g/d12rg" target=3D"_blank">https://grou= ps.google.com/g/<wbr>d12rg</a></div><div><br></div><div>one particular ques= tion i would love to hear from people: i suggested putting the entirety of = <a href=3D"http://arxiv.org" target=3D"_blank">arxiv.org</a> source and PDF= s into debian archive form: what would *you* use this for? software project= management of releases, even those from Visual Studio or Eclipse or Arduin= o? ERM or other Sales Force Management of customer contracts? a type of blo= ckchain which goes well beyond Ethereum? what else?</div><div><br></div><di= v>the motto, if you have seen mythbusters, is to use [software] tools for p= urposes for which they were never originally intended. back-to-back. and no= t as a rube goldberg machine.</div><div><br></div><div>l.</div><div><br></d= iv> </div><br><br>-- <br><div dir=3D"ltr">---<br>geometry: without it life is p= ointless<div>the fibonacci series: easy as 1 1 2 3</div><div>we are humans = and can make mistakes</div></div><br> </blockquote></div><br><br>-- <br><div dir=3D"ltr">---<br>geometry: without= it life is pointless<div>the fibonacci series: easy as 1 1 2 3</div><div>w= e are humans and can make mistakes</div></div><br> --000000000000a92b3c06607417a2--
Technical Details
Message-ID:
<O0m6Z-cpIx-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<O09js-ciy1-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Luke Kenneth Casson Leighton <lkcl@lkcl.net> Newsgroups: linux.debian.devel,linux.debian.maint.dpkg Subject: Re: [RFC] extracting apt and dpkg for independent use for alternative purposes Date: Tue, 17 Nov 2026 08:50:01 +0100 Message-ID: <O0m6Z-cpIx-7@gated-at.bofh.it> References: <O09js-ciy1-3@gated-at.bofh.it> X-Mailbox-Line: From debian-devel-request@lists.debian.org Tue Nov 17 07:46:45 2026 Old-Return-Path: <prvs=0781d04ef7=lkcl@lkcl.net> X-Amavis-Spam-Status: No, score=-1.853 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, LDO_WHITELIST=-5, MONOTONE_WORDS_2_15=1, RCVD_IN_BL_SPAMCOP_NET=1.347, WORD_WITHOUT_VOWELS=1] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 X-Gm-Message-State: APuU4Z9LvgtHU+L6WOogwOu0wp+eFQmaDQ8xqczyNABUUAVP+k2LDlfJ qS8D5JzR4FRXAVm+AuF2J2YBpeevogG+P12JmyNtcX9FV0TAhia0FjCdrIBmcPOBmlGXaCcP1gE xzm0sHR+IMYggaa33X/1WkMOIoF59O2g= X-Received: by 2002:a05:690e:a49:b0:67d:b995:a5b9 with SMTP id 956f58d0204a3-67db995d320mr2515931d50.49.1794901589697; Mon, 16 Nov 2026 23:46:29 -0800 (PST) MIME-Version: 1.0 X-Gmail-Original-Message-ID: <CAPweEDw07xj5JwgDHhFF-R3iONDJCX3G3yf_xYfoz0tzSO7XGg@mail.gmail.com> X-Gm-Features: AclHuK_WNhe0efkahkxKEoeHL_sTmDsiTjJj8wiqK3ahodxGp1KocQIdnAJZ15M Content-Type: multipart/alternative; boundary="000000000000a92b3c06607417a2" X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373233 List-ID: <debian-devel.lists.debian.org> List-URL: <https://lists.debian.org/debian-devel/> List-Archive: https://lists.debian.org/msgid-search/CAPweEDw07xj5JwgDHhFF-R3iONDJCX3G3yf_xYfoz0tzSO7XGg@mail.gmail.com Approved: robomod@news.nic.it Lines: 229 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-dpkg@lists.debian.org, D12RG Conformal Field Theory <d12rg@googlegroups.com> X-Original-Date: Tue, 17 Nov 2026 13:16:27 +0530 X-Original-Message-ID: <CAPweEDw07xj5JwgDHhFF-R3iONDJCX3G3yf_xYfoz0tzSO7XGg@mail.gmail.com> X-Original-References: <CAPweEDx_B1iPoPhzd859jTJmADv=4zy-hQHqJXfBbkck_Qxr5w@mail.gmail.com>