new feature: Add a FIPS-ready Rust crate profile

Đang mở
#7,592 1 bình luận 2 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
rust

Hướng nghiên cứu

Bắt đầu với feature reqwest-rustls-no-provider-tls hiện có và đường dẫn khởi tạo FIPS provider được tài liệu hóa của rustls. Xem xét các đồ thị dependency của Rust crate và các service cho S3, Azure Blob và GCS, sau đó xác định các kiểm tra về tài liệu, ví dụ và CI được mô tả ở đây. Công việc được xem là hoàn tất khi ranh giới mã nguồn sẵn sàng cho FIPS được tài liệu hóa, việc thiết lập provider được minh họa, các kiểm tra dependency tiêu biểu tồn tại và các service không được hỗ trợ được xác định để theo dõi tiếp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

documentation enhancement releases-note/feat rust services/azblob services/gcs services/s3

Feature Description

Add a FIPS-ready Rust crate profile for OpenDAL.

The goal is to make OpenDAL usable by downstream Rust applications that need to run with FIPS-approved cryptography, without claiming that the OpenDAL crate itself is a FIPS 140-2/140-3 validated module. FIPS validation applies to concrete cryptographic modules, versions, build environments, and runtime modes; a Rust crate can only provide an auditable source-level path that does not force non-FIPS cryptography into the final application.

Problem and Solution

Some OpenDAL users need to build applications for regulated environments. Today OpenDAL already exposes reqwest-rustls-no-provider-tls, which lets the downstream binary install its own rustls::CryptoProvider, but the overall FIPS story is not documented or verified end to end.

We should add an explicit FIPS-ready profile that covers:

  • Document the support boundary: OpenDAL provides a FIPS-ready source profile, while the downstream application remains responsible for using a validated cryptographic module and an approved runtime mode.
  • Keep TLS provider selection at the application boundary by documenting reqwest-rustls-no-provider-tls and the expected rustls FIPS provider initialization path.
  • Audit OpenDAL and service crates for direct cryptographic operations, especially request signing, JWT/RSA signing, HMAC, SHA, MD5, SHA1, and checksum paths.
  • Move security-sensitive signing/hash operations used by OpenDAL and reqsign onto a FIPS-capable backend, or mark the affected service as unsupported in the FIPS profile.
  • Classify protocol-required non-security checksums such as Content-MD5, ETag MD5, and CRC32C so they are not presented as cryptographic protection.
  • Add CI checks for the FIPS profile dependency graph, for example denying accidental ring, non-FIPS aws-lc-sys, or direct non-approved crypto backends in security-sensitive paths.
  • Publish a support matrix for services and bindings, starting with the Rust crate. Other language bindings can be handled separately because binary artifacts have different release and audit requirements.

A first implementation can focus on Rust crate users only:

  1. Add docs that show how to depend on OpenDAL with the FIPS-ready profile.
  2. Add a small example that installs the rustls FIPS crypto provider before constructing OpenDAL clients.
  3. Add dependency-tree checks for representative services such as S3, Azure Blob, and GCS.
  4. File follow-up issues for services whose signing protocol cannot be supported under the profile.

Additional Context

This issue is intentionally scoped to a Rust crate/source profile. Publishing FIPS-specific wheels, jars, npm native artifacts, or containers would require a separate release profile because those artifacts fix the final dependency graph and runtime environment.

Ngôn ngữ chính
Rust
Star
5.5k
Fork
869
Merge trung bình
8 giờ 2 phút
Pull request đã merge (30 ngày)
862

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/opendal

Tất cả issue của apache/opendal

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.