apple / apple/swift-crypto

Handling Non Standard Keys Test Failed

Open
#185 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Assembly
Stars
1.7k
Forks
223
Avg merge
1d 2h
Merged PRs (30d)
7

Description

The following 6 "awkward RSA Keys" tests failed (XCTAssertEqual failed: threw error "incorrectParameterSize") when built with Swift 5.9 - Apple Swift version 5.9 (swiftlang-5.9.0.114.10 clang-1500.0.29.1)

https://github.com/apple/swift-crypto/blob/c433cd3341e14590ba7efccb0836cd3cd0a0c055/Tests/_CryptoExtrasTests/TestRSASigning.swift#L512-L517

Contributor guide

Open the contributing guide

Research direction

Start with Tests/_CryptoExtrasTests/TestRSASigning.swift around lines 512-517 and reproduce the six awkward RSA key failures using Swift 5.9. Trace the reported incorrectParameterSize error through the relevant test and RSA key-handling path. Done means all six tests pass without the parameter-size failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cryptography, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.