pat-s
5c4cca6cce
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
...
Part of https://codefloe.com/rpkgs/bincraft/issues/225 . Stacked on #234 .
Every connection to the metadata database used `sslmode = 'require'`, which encrypts but does not authenticate the server, so anyone able to impersonate `r-binaries.devxy.io:15432` would receive `PGPASS`.
## Changes
- `.crow/build-all-versions.yaml`, `process-updates.yaml`, `prune-stale-flat-binaries.yaml`, `reindex.yaml`, `weekly-rebuild-reindex.yaml`: `metadata_db_sslmode = 'verify-full'` in every bincraft call.
- `local/*.R`: the same for bincraft calls; scripts that call `DBI::dbConnect()` directly also pass `sslrootcert = bincraft::postgres_sslrootcert("verify-full")`, because libpq looks for `~/.postgresql/root.crt` rather than the system trust store.
- `README.md`: note that the endpoint serves a Let's Encrypt certificate and how to verify it.
- air reformatted three `=` assignments to `<-` in `local/missing-cran-packages-db.R` and `local/packages-without-any-binary.R` while the hook ran on those files.
## Ordering: merge last
1. devxy/k8s-talos#417 must be live: today the server presents an in-cluster certificate from a private CA, which `verify-full` rejects.
2. https://codefloe.com/rpkgs/bincraft/pulls/226 must be released: `local/install-bincraft.R` installs the latest tag, and older releases neither pass a root certificate nor export `postgres_sslrootcert()`.
3. #234 must be merged.
Merging early fails every database connection in CI, and since #234 per-minor reindex failures fail the pipeline.
Reviewed-on: #235
2026-10-17 07:45:46 +00:00
..
patches
fix(patches): cover every RcppParallel 6.x release with the bundled-TBB patch ( #228 )
2026-10-04 07:35:01 +00:00
tests
fix(build): build packages requiring newer R on compatible minors ( #216 )
2026-09-13 09:35:50 +00:00
archive-missed-pkgs.R
feat: R-minor-sensitive binary builds (full + iterative) ( #84 )
2026-06-14 08:04:40 +00:00
backfill-abi-classification.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
backfill-flat-safety.R
fix(abi): inspect flat objects of packages CRAN has removed ( #212 )
2026-09-09 18:35:33 +00:00
build-all.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
build-newer-r.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
build-one.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
check-cdn-cache.sh
add alpine321 to scripts
2024-12-29 10:18:55 +01:00
check-NA.R
feat: R-minor-sensitive binary builds (full + iterative) ( #84 )
2026-06-14 08:04:40 +00:00
check-slots.R
feat(slots): add a retirement workflow and a drift check ( #214 )
2026-09-11 13:14:17 +00:00
debug-packages-writing.R
feat: R-minor-sensitive binary builds (full + iterative) ( #84 )
2026-06-14 08:04:40 +00:00
dedupe-audit-issue.R
fix(audit): replace arch subsection in place instead of appending duplicates ( #138 )
2026-07-21 08:51:23 +00:00
detect-duplicates.R
feat: R-minor-sensitive binary builds (full + iterative) ( #84 )
2026-06-14 08:04:40 +00:00
excluded-packages.json
feat: R-minor-sensitive binary builds (full + iterative) ( #84 )
2026-06-14 08:04:40 +00:00
failing-builds-classify.R
feat(local): aggregate blocked-on-dependency reporting by dependency ( #131 )
2026-07-16 21:24:03 +00:00
failing-builds-report.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
fetch-rebuild-packages-from-issue.R
fix(audit): replace arch subsection in place instead of appending duplicates ( #138 )
2026-07-21 08:51:23 +00:00
find-R-api-packages.sh
chore(local): add S3 migration and CRAN-source helper scripts
2026-06-14 13:02:48 +02:00
install-bincraft.R
refactor: migrate package installation from pak to uvr ( #147 )
2026-07-31 12:19:26 +00:00
label-removed-cran-packages.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
last-processed-by-platform.R
feat: R-minor-sensitive binary builds (full + iterative) ( #84 )
2026-06-14 08:04:40 +00:00
list-unsafe-flat-objects.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
migrate-s3-hetzner-to-backblaze.sh
chore(local): add S3 migration and CRAN-source helper scripts
2026-06-14 13:02:48 +02:00
missing-cran-packages-db.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
missing-cran-packages.R
feat: R-minor-sensitive binary builds (full + iterative) ( #84 )
2026-06-14 08:04:40 +00:00
missing-packages-in-index.R
feat: R-minor-sensitive binary builds (full + iterative) ( #84 )
2026-06-14 08:04:40 +00:00
newer-r-helpers.R
fix(build): build packages requiring newer R on compatible minors ( #216 )
2026-09-13 09:35:50 +00:00
packages-to-build.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
packages-without-any-binary.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
proposal-tracking-lib.R
feat(local): aggregate blocked-on-dependency reporting by dependency ( #131 )
2026-07-16 21:24:03 +00:00
proposal-tracking.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
propose-patches.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
prune-stale-flat-binaries.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
query-pkgs-without-old-versions.R
chore(local): add S3 migration and CRAN-source helper scripts
2026-06-14 13:02:48 +02:00
r-minor-helpers.R
refactor: migrate package installation from pak to uvr ( #147 )
2026-07-31 12:19:26 +00:00
rebuild-missing-helpers.R
feat(rebuild): shard the weekly rebuild and make each shard resumable ( #163 )
2026-08-12 08:30:29 +00:00
rebuild-missing.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
repair-built-stamp.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00
retire-slot.R
feat(slots): add a retirement workflow and a drift check ( #214 )
2026-09-11 13:14:17 +00:00
test-package-loading.R
refactor: migrate package installation from pak to uvr ( #147 )
2026-07-31 12:19:26 +00:00
trial-build-patch.R
fix(local): make trial-build-patch.R detect non-throwing build failures ( #134 )
2026-07-18 08:37:04 +00:00
trial-build-registry.R
fix(local): make the trial-build gate detect non-throwing build failures ( #130 )
2026-07-16 08:24:03 +00:00
uvr-install.sh
chore(deps): update dependency nbafrank/uvr to v0.4.7
2026-10-11 00:32:41 +00:00
validate-patches.R
feat(local): auto-propose registry patches and track the feedback loop ( #117 )
2026-07-14 15:03:24 +00:00
verify-repo-routing.R
fix(ci): do not print a missing timing as "NAs" ( #210 )
2026-09-09 15:01:29 +00:00
weekly-missing-binaries-audit.R
fix: verify the metadata database certificate with sslmode=verify-full ( #235 )
2026-10-17 07:45:46 +00:00