Commit 30c687a
committed
docs: authenticated catalogue probes and when a digest pin rots
Two registry questions that look settled and are not.
A 401 from an authenticated registry is a transport answer: it is returned for
every repository, so an anonymous probe cannot tell "not published" from "not
logged in". The reference shows the realm discovery, the token exchange using
the credential docker login already stored, and the discipline that makes a 404
mean something -- run a positive control in the same loop, or the run is
measuring your credentials rather than the catalogue.
A digest pin freezes the base as well as the application, which is the point
while upstream is publishing and inverts when upstream resumes rebuilding the
same release. Measured on one image: 1461 fixable findings on a digest pinned
ten months earlier against 293 on the floating tag it came from, same
application version. The reference gives the timestamp check to run before
claiming either "pinned, therefore safe" or "upstream never rebuilds".
It closes with the two ways a floating-tag exemption for self-rebuilt images
gets written wrongly: scoping it to a registry host rather than to ownership,
and testing the tag against the literal string latest, which lets
latest-rolling through.
SKILL.md gains the reference row; the one-line restatement of the frontmatter
description above Core Principles is dropped to stay inside the word cap.
Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>1 parent cff7fcc commit 30c687a
2 files changed
Lines changed: 81 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
| 135 | + | |
Lines changed: 80 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
0 commit comments