Create RSA keys directly from parsed ASN.1
Open
- Dominant language
- Assembly
- Stars
- 1.7k
- Forks
- 223
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 7
Description
#### Motivation:
Since https://github.com/apple/swift-crypto/pull/268 we already parse the ASN.1 in `_CryptoExtras` using `swift-asn1` so we could create keys directly from that rather than returning bytes and parsing again later.
Contributor guide
Research direction
Start by reviewing the ASN.1 parsing in _CryptoExtras and the changes introduced by swift-crypto pull request 268. Trace where parsed bytes are returned and later parsed again, then verify that key creation uses the parsed ASN.1 directly without the duplicate conversion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cryptography
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100