Skip to content

全 download.sh の https 化と --no-check-certificate の削除 (#167 その1) - #173

Open
k-yoshimi wants to merge 2 commits into
developfrom
fix/167-https-downloads
Open

全 download.sh の https 化と --no-check-certificate の削除 (#167 その1)#173
k-yoshimi wants to merge 2 commits into
developfrom
fix/167-https-downloads

Conversation

@k-yoshimi

Copy link
Copy Markdown
Collaborator

概要

#167 の第 1 段として、ダウンロード経路の暗号化を修正します。

  • 9 つの download.sh(openmx, respack, salmon, boost, cmake, fftw, gsl, lapack, scalapack)の URL を http://https:// に変更
  • tools/gsl/download.shwget --no-check-certificate(TLS 検証無効化)を削除

検証

現在 pin されているバージョンの実 URL 10 件すべてに対して HEAD リクエストを送り、https で HTTP 200 が返ることを確認済みです(openmx 本体+patch、respack 20240804、salmon 2.2.0、boost 1.90.0、fftw 3.3.10、cmake 3.26.4、gsl 2.6、lapack 3.9.0、scalapack 2.1.0)。

残作業(#167 は open のまま)

sha256 checksum 検証の導入(version.sh への <NAME>_SHA256 追加 + util.sh の共通検証関数)は、全 tarball の取得と checksum 採取が必要なため別 PR で対応します。

🤖 Generated with Claude Code

k-yoshimi and others added 2 commits July 7, 2026 17:58
All download.sh scripts now fetch over https; the TLS verification
bypass in tools/gsl/download.sh is removed. Every https URL was
verified to return 200 for the currently pinned versions.

Refs #167

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Phase 2 (Antigravity) review of PR #173 pointed out:
- Add a network-environment note (https_proxy, CA certificates,
  offline placement into SOURCE_DIR) to how_to_use docs (en/ja)
- get-cacert.sh fetched the CA bundle itself over http from the
  defunct curl.haxx.se; use https://curl.se/ca/cacert.pem
- MALIVE_REPOSITORY_DEF switched to https for consistency (only
  referenced from misc/old/; removal is tracked in #185)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@k-yoshimi

Copy link
Copy Markdown
Collaborator Author

AI review cycle (Codex + Antigravity) 結果

Phase 1 (Codex, コード品質): must_fix 0 / should_fix 0。optional 2 件(checksum 検証→#167 残作業として追跡、旧 CA バンドル互換→意図したセキュリティ変更として受容)。

Phase 2 (Antigravity, docs/workflow): must_fix_docs 0。指摘を受けて追加コミット 3a976e8 で対応:

  • how_to_use (en/ja) にネットワーク環境の注記を追加(https_proxy / CA 証明書更新 / SOURCE_DIR へのオフライン配置)
  • tools/openssl/cert/get-cacert.sh が CA バンドル自体を http (しかも廃止ドメイン curl.haxx.se) で取得していたのを https://curl.se に修正(200 確認済み)
  • MALIVE_REPOSITORY_DEF も https 化

Phase 1 再レビュー(エスカレーション): must_fix 0。レビュアー指摘の apps/espresso/import.sh への影響は検証の結果「http/https とも 404 + そもそも存在しない ../util.sh を source しており本 PR 以前から動作しない」ことを確認し、#185 に記録済み。

→ 両フェーズ収束。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants