kornelski / kornelski/rust-security-framework

Cipher configuration test fails on iOS

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Rust
Stars
304
Forks
105
PR merge metrics
No merged PRs in 30d

Description

```
thread 'secure_transport::test::cipher_configuration' panicked at 'assertion failed: `(left == right)` (left: `[TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256]`, right: `[TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_NULL_WITH_NULL_NULL, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_NULL_WITH_NULL_NULL, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_NULL_WITH_NULL_NULL, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_NULL_WITH_NULL_NULL]`)', security-framework/src/secure_transport.rs:1120
note: Run with `RUST_BACKTRACE=1` for a backtrace.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the failing secure_transport::test::cipher_configuration test and the assertion at security-framework/src/secure_transport.rs:1120. Run the test on iOS and compare the observed cipher list with the expected values shown in the failure. Done means the iOS cipher-configuration test passes with the correct platform-specific result.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, macos, rust
Domain
mobile-dev, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.