An OpenWrt package feed for both release lines: apk for 25.12 and later, opkg for 24.10 and earlier. owfeed builds and publishes it.
- The feed carries other people's packages, byte for byte as their authors built them.
- A router subscribes with one command. The script reads the router's package manager, architecture and release.
- The feed signs the index. It does not sign the packages.
- Installing the feed's key trusts it for every package name. Read Before you install the key.
-
Download the subscribe script, read it, run it. It runs as root.
wget -O subscribe.sh https://repo.owfeed.org/subscribe.sh && less subscribe.sh && sh subscribe.sh
If
wgetfails on HTTPS, the image lacks two packages. Stock images have them; custom builds may not. Install them and run step 1 again:apk add ca-bundle libustream-mbedtls. On 24.10, useopkg installinstead ofapk add. -
Install a package by name:
apk add <name>on 25.12,opkg install <name>on 24.10. The script installs no packages.
The one-line form skips the reading step:
wget -qO- https://repo.owfeed.org/subscribe.sh | sh| I want to… | Go to |
|---|---|
| subscribe a router | Quick start |
| know what the script changes | What the subscribe script does |
| subscribe without the script, 25.12 and later | By hand on 25.12 |
| subscribe without the script, 24.10 and earlier | By hand on 24.10 |
install a downloaded .apk file |
Install by name |
| upgrade with Attended Sysupgrade | Attended Sysupgrade |
| decide whether to trust the key | Before you install the key |
| check the key I downloaded | Check the key you installed |
| know what the signature proves | What this feed's signature means |
| report a bug in a package | At your own risk |
| know how packages get updated | Staying current |
| find a package's author, licence or source | Whose packages these are |
| add my package to the feed | Adding a package |
It works on either release line.
- Reads the router's package manager, architecture and release.
- On 25.12, installs
ca-bundleandlibustream-mbedtls, which HTTPS needs. - Installs the key.
- Adds the repository.
- Keeps the key and the repository across a firmware upgrade. It writes
/lib/upgrade/keep.d/owfeed-packages, the same file the commands below write.
- Re-running it changes nothing twice. On 24.10 it deletes its old line from
/etc/opkg/customfeeds.confbefore it adds the new one. - It installs no packages. Run
apk add <name>oropkg install <name>after it. owfeed indexgenerates it from the config that laid this feed out. So it cannot document a URL the feed does not serve. Read it anyway: it runs as root.
# HTTPS needs these. Stock images have them; custom builds may not.
apk add ca-bundle libustream-mbedtls
wget https://repo.owfeed.org/owfeed-packages.pem -O /etc/apk/keys/owfeed-packages.pem
echo "https://repo.owfeed.org/releases/25.12/$(cat /etc/apk/arch)/packages.adb" > /etc/apk/repositories.d/owfeed-packages.list
# Keep the key and the repository across a firmware upgrade.
mkdir -p /lib/upgrade/keep.d
printf '%s\n' /etc/apk/keys/owfeed-packages.pem /etc/apk/repositories.d/owfeed-packages.list > /lib/upgrade/keep.d/owfeed-packages
apk update && apk add luci-theme-footstrapluci-theme-footstrap is one package this feed carries. Put the name of the package you want.
# The key file's NAME is its id — opkg looks it up by that.
mkdir -p /etc/opkg/keys
wget https://repo.owfeed.org/9040356b214084da -O /etc/opkg/keys/9040356b214084da
echo "src/gz owfeed-packages https://repo.owfeed.org/releases/24.10/$(. /etc/openwrt_release; echo $DISTRIB_ARCH)" >> /etc/opkg/customfeeds.conf
# Keep the key and the repository across a firmware upgrade.
mkdir -p /lib/upgrade/keep.d
printf '%s\n' /etc/opkg/keys/9040356b214084da /etc/opkg/customfeeds.conf > /lib/upgrade/keep.d/owfeed-packages
opkg update && opkg install luci-theme-footstrap- Run this block once.
>>appends, so a second run adds a secondsrc/gz owfeed-packagesline. The subscribe script deletes the old line first, so it is safe to re-run. luci-theme-footstrapis one package this feed carries. Put the name of the package you want.
Add the repository and install by name. Do not install the package file directly.
- On 25.12,
apk add ./file.apkwrites a pin on the package's content hash into/etc/apk/world. That file survives sysupgrade, so the package never upgrades from this feed again. apk add ./file.apkand LuCI's Upload Package need--allow-untrustedfor packages from here.- Installing by name out of the index is the documented way and the only one that upgrades.
Attended Sysupgrade does not carry these packages across.
owutforwards no custom repositories.- The sysupgrade server's
repository_allow_listis empty by default, which denies everything.
Install the key because you trust who publishes it. A page telling you to is not a reason.
- A key in
/etc/apk/keysis trusted for every package name, not only the ones this feed carries. - It validates an index claiming any name at all. So this feed, or anyone holding a compromised key,
could offer a higher version of a base package such as
dropbearorbase-filesand win the resolution. - apk has no revocation: no CRL, no expiry, no way to say a key is dead.
Compare the key on your router with a copy fetched another way. The same hash means the same file.
| Release line | Key file on the router | Published at |
|---|---|---|
| 25.12 and later | /etc/apk/keys/owfeed-packages.pem |
https://repo.owfeed.org/owfeed-packages.pem |
| 24.10 and earlier | /etc/opkg/keys/9040356b214084da |
https://repo.owfeed.org/9040356b214084da |
-
On the router, print the hash of the key file:
sha256sum /etc/apk/keys/owfeed-packages.pem
-
On another machine, on another network, fetch the published key and print its hash:
curl -s https://repo.owfeed.org/owfeed-packages.pem | sha256sum -
Compare the two hashes. For the opkg key, use its path and URL from the table.
- The opkg key's id is
9040356b214084da. The key file's name is that id. - This repository holds no copy of the feed's own public key. The feed root is the only place it is published, so the cross-check is a second fetch over a path you trust.
This feed signs the index. It does not sign the packages.
The signature means one thing: these are the bytes this feed published, and they came from the author whose key is pinned here. It is a statement about the channel and about provenance. It makes no statement about content, quality, safety, legality or suitability. Do not read it as one.
Nothing in this repository is rebuilt or modified. You install the author's own file, byte for byte.
- The release exists at the repository and tag pinned in
packages/<name>/upstream.sh. - The author's detached signature over it verifies against a public key pinned in
keys/, and the manifest names the repository and tag it claims to be from. - The bytes match the
sha256recorded here, so they have not changed since a person looked. - The resulting tree is internally coherent (
owfeed doctor) and installs on a stock OpenWrt image without--allow-untrusted(owfeed smoke).
- What the code does. No review, no audit, no analysis, of the source or of the binary.
- Whether it is safe. No security assessment of any package, its dependencies, or what it does once running.
- Whether it works, or is fit for anything.
smokeproves a package installs. It says nothing about whether it does what its author says. - Whether it is lawful where you are. Software legal in one country is not in another. This feed makes no assessment of any jurisdiction, including yours.
- Whether its declared licence, description or metadata are true. Those are the author's assertions, carried through unchanged.
Why the feed signs the index and not the packages
The distinction is the whole of what the signature claims. The signature can read as a broader claim than it is.
- apk takes its trust from the index. The index is signed, and apk checks every package against the hash recorded in it. Signing the index is what makes the feed installable at all.
- Only this feed can produce an index describing everything it carries. The authors' keys cannot sign it, so the feed cannot avoid signing it.
- Signing each package as well would put this feed's signature inside a file somebody else built. That is a claim about an artifact. The feed makes claims only about the channel that carried it. It did not write these packages and does not review them.
- A package that arrives signed by its author keeps that signature. apk signature blocks are additive, and nothing here strips them. You install the author's file, distributed through a signed channel.
- Two keys sign the indexes, because each package manager verifies only its own scheme: apk checks EC prime256v1, opkg checks usign.
- The
--allow-untrustedrequirement forapk add ./file.apkand Upload Package puts this feed in the same position as OpenWrt itself. Its own 25.12 packages are unsigned individually, so that path already requires the flag for everything in the official feeds. Installing by name is unaffected.
The packages are other people's software, distributed as-is with no warranty of any kind. Their
author is responsible for them. Send questions, bug reports and complaints about a package to its
author. apk info <name> on the router shows the author's repository.
The full terms
- This feed did not write any of the packages and does not review them. It knows nothing of what a package does beyond what its author declares.
- No warranty of any kind: the same terms every package's own licence already states.
- Responsibility for a package rests entirely with its author: its contents, its behaviour, its security, its lawfulness, and the truth of everything it declares about itself.
- The author's repository is in the package metadata. Questions, bug reports and complaints go to the author, not here.
- Installing a package from this feed means running software written by a third party that neither you nor this feed has audited. That decision is yours, and so are its consequences.
- If you believe something here is unlawful or infringes your rights, SECURITY.md says where to send that. Such a report is acted on, without argument.
A scheduled job proposes updates. CI checks each one on a real OpenWrt image before it reaches main.
- Every few hours, the job asks each upstream for its latest release.
- When one appears, it pushes a branch with the new version and its checksums. It recomputes the checksums from the bytes the release served. The branch contains nothing else.
- CI builds the feed, indexes it, checks it and installs it on a real OpenWrt image.
- The branch reaches
mainautomatically or through a pull request, as the table shows.
| Update | Lands |
|---|---|
Upstream publishes a detached signature, package sets AUTO_MERGE="yes" |
automatically, once checks pass |
| A new package | pull request, waits for a maintainer |
| An unsigned release | pull request, waits for a maintainer |
| A major version bump | pull request, waits for a maintainer |
| A third update to the same package in a day | pull request, waits for a maintainer |
A diff touching more than one packages/<name>/upstream.sh |
pull request, waits for a maintainer |
- An automatic update needs no person. A later run fast-forwards
mainonto the branch oncecheck / buildandcheck / checkare green on that exact commit. tools/land-updates.shrefuses the push when they are not. A context with no run at all counts as a refusal. The checks are never skipped.
Why the job proposes and does not publish
- Picture a job that fetched whatever an upstream published since the last run and signed it with this feed's key. It would hand that key's authority to every upstream.
- It would also make the checksum pins decoration. Recomputed from whatever arrived, they would attest to nothing.
- A detached signature beside an upstream's artifact is provenance from someone other than this
feed. That is why such a package may set
AUTO_MERGE="yes". - A package this feed has never carried arrives with a key it has never pinned. That is a change
under
keys/, and nothing lands there unattended.
Every package declares its licence and its upstream. Both travel into the index and into apk info
on the router, so a user can always find out whose software they installed.
- Where a package is copyleft, its corresponding source is served from this feed, at
/sources/. - That is the same origin as the binary, which is what GPLv2 §3 asks of anyone distributing one.
- A copyleft package with no source in the tree fails the publish. This is a gate, enforced on every publish.
- Redistributing someone else's work needs more than a licence that allows it. LEGAL.md records what this feed read and what it decided. (Русский)
A package here is a file of values: a version, its checksums, which key signs it. There is no per-package script.
- New to publishing? Start with the cookbook. It covers building and signing a package, which has to happen before this feed can carry it. (Русский)
- CONTRIBUTING.md: adding a package, updating one, letting it update itself. (Русский)
- RUNBOOK.md: what runs when, and what to do when something is red. (Русский)
- Pull requests run the whole pipeline with a throwaway key, so a fork never comes near the feed's own.
Where this feed sits among owlab and owfeed
This feed is one end of a longer lifecycle.
| Project | Role |
|---|---|
| owlab | develops a package and proves it works |
| owfeed | signs and indexes it |
| this repository | decides whose keys it trusts and hands the result to routers |
ECOSYSTEM.md writes down the boundary between the three, including why nothing is ever built here. STATUS.md says how much of this feed's side exists, and what is still open.