Xuanwo opened a new issue, #9092:
URL: https://github.com/apache/opendal/issues/9092

   ## Summary
   
   Upgrading OpenDAL to `reqsign 0.21` (`reqsign-crypto-rustcrypto 1.0.0`) is 
currently blocked in `core/` workspace resolution by exact RustCrypto 
pre-release pins pulled in transitively by `opendal-service-smb` (`smb 0.12.1`).
   
   Specifically, `reqsign-crypto-rustcrypto 1.0.0` depends on stable `p256 = 
"0.14.0"` and `rsa = "0.10.0"`, while `core/Cargo.lock` resolves exact 
pre-release pins on the same SemVer lines solely through `opendal-service-smb`:
   
   ```text
   opendal-service-smb
   └── smb 0.12.1  (core/services/smb/Cargo.toml)
       └── sspi = "=0.21.3"
           ├── p256 0.14.0-rc.14   (conflicts with p256 0.14.0)
           ├── rsa 0.10.0-rc.18    (conflicts with rsa 0.10.0)
           ├── pkcs1 0.8.0-rc.4    (conflicts with pkcs1 0.8.0)
           └── picky 7.0.0-rc.25
               ├── p256 0.14.0-rc.14
               ├── rsa 0.10.0-rc.18
               └── pkcs1 0.8.0-rc.4
   ```
   
   Because Cargo allows only one version per `0.14` / `0.10` / `0.8` SemVer 
line in `core/Cargo.lock`, these exact pre-release pins prevent resolving the 
`core/` workspace with `reqsign-crypto-rustcrypto 1.0.0` (including 
`--all-features` CI builds).
   
   ## Upstream blockers (in dependency order)
   
   As of 2026-11-25, resolving both `p256 0.14.0` and `rsa 0.10.0` requires 
sequential releases across three upstream repositories:
   
   - [ ] **1. `Devolutions/picky-rs` (`picky`)**
     - Current `master` / crates.io: `7.0.0-rc.29`.
     - `p256`: already unblocked (`p256 = "0.14"` in `7.0.0-rc.27+`).
     - `rsa` / `pkcs1`: still pinned to `rsa = "=0.10.0-rc.18"` and `pkcs1 = 
"=0.8.0-rc.4"`.
     - Upstream PR: https://github.com/Devolutions/picky-rs/pull/601 
(`build(deps): move to rsa 0.10.0 and pkcs1 0.8.0`, open).
     - Needed: merge PR #601 and publish a new `picky` release.
   
   - [ ] **2. `Devolutions/sspi-rs` (`sspi`)**
     - Current `master` / crates.io: `0.23.1`.
     - `p256`: already unblocked (`p256 = "0.14"`).
     - `picky` / `rsa` / `pkcs1`: still pinned to `picky = "=7.0.0-rc.27"`, 
`rsa = "=0.10.0-rc.18"`, and `pkcs1 = "=0.8.0-rc.4"`.
     - Related upstream issue: 
https://github.com/Devolutions/sspi-rs/issues/504 (no PR yet; blocked on 
`picky` releasing first).
     - Needed: once `picky` releases, bump `picky`, `rsa`, and `pkcs1` in 
`sspi-rs` and publish a new `sspi` release.
   
   - [ ] **3. `afiffon/smb-rs` (`smb`)**
     - Current `main` / crates.io: `0.12.1` (`opendal-service-smb` is already 
on the latest release).
     - `sspi`: pinned to `sspi = "=0.21.3"` (locks both `p256 0.14.0-rc.14` and 
`rsa 0.10.0-rc.18`).
     - Upstream tracking issue: https://github.com/afiffon/smb-rs/issues/186.
     - Upstream PR: https://github.com/afiffon/smb-rs/pull/189 (`chore: bump 
sspi to 0.23.1`, open) — note this alone only resolves `p256 0.14`, not `rsa 
0.10.0`.
     - Maintenance note: `afiffon/smb-rs` `main` has had no commits since 
2026-10-13 (`f4524d0`) and open PRs from late October (including #189) have not 
been merged yet.
     - Needed: bump `sspi` to the future `sspi` release that removes the `rsa` 
/ `pkcs1` pre-release pins and publish a new `smb` release.
   
   ## Related work
   
   - https://github.com/apache/reqsign/issues/1069 tracks making 
asymmetric/AEAD algorithms (`rsa`, `p256`, `aes-gcm`) optional Cargo features 
in `reqsign-crypto-rustcrypto`. While helpful for hash/HMAC-only consumers, 
OpenDAL services that require RSA/P-256 (such as GCS, Azure, and S3 SigV4a) 
still need `rsa 0.10.0` / `p256 0.14.0` in `--all-features` workspace builds, 
so the `smb` → `sspi` → `picky` chain still needs to be resolved.
   
   ## Scope once unblocked
   
   1. Upgrade `smb` in `core/services/smb/Cargo.toml` to a release that no 
longer pulls `p256` / `rsa` / `pkcs1` pre-release pins.
   2. Verify `core/Cargo.lock` resolves cleanly with `reqsign 0.21` 
(`reqsign-crypto-rustcrypto 1.0.0`) under `--all-features`.
   
   ---
   *Drafted with AI assistance (Gemini 4 Neon) and verified against 
`apache/opendal`, `Devolutions/picky-rs`, `Devolutions/sspi-rs`, 
`afiffon/smb-rs`, and `apache/reqsign`.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to