🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.devel
2 messages
2 total messages Started by Luke Kenneth Casson Leighton Mon, 16 Nov 2026 18:10
[RFC] extracting apt and dpkg for independent use for alternative purposes
#487
Author: Luke Kenneth Casson Leighton
Date: Mon, 16 Nov 2026 18:10
181 lines
12789 bytes
--0000000000009e24b0066068260f
Content-Type: text/plain; charset="UTF-8"

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

--0000000000009e24b0066068260f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

this is a little complex to explain, and please be patient and strictly fol=
low debian community guidelines, as i have had strokes and now am forced to=
 use AIs in a symbiotic fashion. below is<div>written *without* their assis=
tance.<br><div><br></div><div>repo first, explanation second, motto at the =
end:</div><div><a href=3D"https://gitlab.com/d12rg/wot/">https://gitlab.com=
/d12rg/wot/</a></div><div><br></div><div>about 25 years ago i envisaged deb=
ian being fully peer-distributed. not dependent on any domain hosting in an=
y way, the entire process of debian development could hypothetically be don=
e 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 dire=
ctly into its Kademlia DHT]</div><div><br></div><div>in addition to that, m=
any people will have seen how badly windows .EXE provenance goes (the windo=
ws 95 sheep screensaver wrapped in malware was my favourite) and a plethora=
 of linux distros are blissfully unaware of the deeply impressive provenanc=
e, documentation, rigor, and... i run out of superlatives - i got up to 18 =
hard requirements and listed how every distribution but debian fails them:<=
/div><div><a href=3D"http://lkcl.net/reports/wot/" target=3D"_blank">http:/=
/lkcl.net/reports/wot/</a></div><div><br></div><div>in addition to *that* i=
f there is a *non-debian* or</div><div>even non-distro aim to distribute, f=
or example, the</div><div>source latex of <a href=3D"http://arxiv.org">arxi=
v.org</a> peer reviewed academic</div><div>journals, and have each PDF buil=
t as a binary</div><div>package and the latex as source, where the</div><di=
v>Citations are mapped to package dependencies</div><div>and - this is the =
kicker - the distribution does NOT</div><div>end up messing with /var/lib/a=
pt etc but can be</div><div>placed into an ENTIRELY INDEPENDENT location</d=
iv><div>of the user&#39;s choice...</div><div><br></div><div>this is where =
the research project i am putting together kicks in.</div><div><br></div><d=
iv>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 wi=
th the other aspects: peer-distribution of GPG keyring signing and Identity=
 verification protocols, whom do you trust when the entire provenance is pe=
er-distributable, even to the point of allowing you to choose whom *you* tr=
ust as ftp-masters, *and* which &quot;Releases&quot; - quantity multiple - =
you accept.</div><div><br></div><div>remember that in this scenario there w=
ill NOT be one single /etc/apt/sources.list[.d] there will be *MULTIPLE* $(=
repo[nnnnnn])/etc/apt/sources.list[.d]</div><div>of *your* choice for *your=
* chosen purpose(s), every single one of them fully decentralised, peer-dis=
tributable, 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)</div><div><br></div><div>yet still fulfilling the hard requirement=
s that gives debian its near-invulnerable reputation to provenance attack.<=
/div><div><br></div><div>the first stage - self-bootstrap - is already comp=
lete. the scripts can automatically package themselves up as a debian packa=
ge, install and set themselves up under an arbitrary directory, set up a de=
bian pool mirror ready for actual distribution, and can then be installed A=
GAIN 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?)</div><div><br></div><div>the second=
 stage is to introduce apt-swarm and separate out packages for the document=
ation and associated papers, set up reproducible builds and tests for use o=
f apt-mirror and other hosting options, sort out the gpg keyring peer distr=
ibution.</div><div><br></div><div>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.</div><div><br></div><div>i would welcome feedback an=
d assistance, this is a fascinating meta-meta-project that solves a particu=
larly complex 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">https://groups.goo=
gle.com/g/d12rg</a></div><div><br></div><div>one particular question i woul=
d love to hear from people: i suggested putting the entirety of <a href=3D"=
http://arxiv.org">arxiv.org</a> source and PDFs into debian archive form: w=
hat would *you* use this for? software project management of releases, even=
 those from Visual Studio or Eclipse or Arduino? ERM or other Sales Force M=
anagement of customer contracts? a type of blockchain which goes well beyon=
d Ethereum? what else?</div><div><br></div><div>the motto, if you have seen=
 mythbusters, is to use [software] tools for purposes for which they were n=
ever originally intended. back-to-back. and not as a rube goldberg machine.=
</div><div><br></div><div>l.</div><div><br></div>
</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>

--0000000000009e24b0066068260f--
Re: [RFC] extracting apt and dpkg for independent use for alternative purposes
#497
Author: Luke Kenneth Casson Leighton
Date: Tue, 17 Nov 2026 07:50
229 lines
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 &lt=
;<a href=3D"mailto:lkcl@lkcl.net">lkcl@lkcl.net</a>&gt; 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&#39;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 &quot;Releases&quot; - 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--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads