apple / apple/swift-crypto

Create RSA keys directly from parsed ASN.1

Open
#269 0 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

#### 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.