new feature: Add a FIPS-ready Rust crate profile
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- build-system, documentation, security
Research direction
Start with the existing reqwest-rustls-no-provider-tls feature and the documented rustls FIPS provider initialization path. Review the Rust crate and service dependency graphs for S3, Azure Blob, and GCS, then define the documentation, example, and CI checks described here. Done means the FIPS-ready source boundary is documented, the provider setup is demonstrated, representative dependency checks exist, and unsupported services are identified for follow-up.
Written by the indexing model from the issue text.
Description
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-tlsand the expectedrustlsFIPS 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
reqsignonto 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-FIPSaws-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:
- Add docs that show how to depend on OpenDAL with the FIPS-ready profile.
- Add a small example that installs the
rustlsFIPS crypto provider before constructing OpenDAL clients. - Add dependency-tree checks for representative services such as S3, Azure Blob, and GCS.
- 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.
- Dominant language
- Rust
- Stars
- 5.5k
- Forks
- 869
- Avg merge
- 8h 2m
- Merged PRs (30d)
- 862
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/opendal
-
bug(services/fs): deleting "/" removes the configured root directoryPossibly taken @xgbtxy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 81/100
apache/opendal#9635 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
core enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/opendal#9572 · 1 reaction ·
Maintainers usually reply within 1 day
-
fix(bindings/nodejs): reject negative and overflowing BigInt values in WriteOptions.chunk and Read/ReaderOptions.gapPossibly taken @rohan4naik claimed this today. Openbindings/nodejs bug
Difficulty 3/5 1-2 days Newbie friendliness 76/100
apache/opendal#9569 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug(layers/throttle): throttle streaming ReadStream bytes instead of pre-charging ReadOptions::limit upper bounds on open()Possibly taken @Xuanwo claimed this today. Openbug core
Difficulty 5/5 Over a week Newbie friendliness 25/100
apache/opendal#9567 · 1 reaction ·
Maintainers usually reply within 1 day
-
bindings/c bindings/dotnet bindings/go bindings/java bindings/python bindings/ruby core integrations/object_store release release-blocker services/azblob services/azdls services/dropbox services/gcs_grpc services/git services/hf3fs services/redis services/remotestorage services/s3 website
Difficulty 5/5 Over a week Newbie friendliness 20/100
apache/opendal#9560 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
Android bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anefzaoui/misterdownloadmanager#2516 ·
Maintainers usually reply within 1 day
-
editor ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
state:triage tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 89/100
agent8-cash/ethpayserver#731 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day