mirror of
https://github.com/apple/swift-certificates
synced 2026-11-30 05:08:44 +00:00
This patch modifies the ECDSA signature representation internally to avoid eagerly creating the Crypto type. This is necessary because we can't actually know what key created the signature when we parse it. As a result we have to defer actually doing that until we actually get a key type, at which point we can create the underlying key type. This is a bit less efficient for us overall, but it solves a long-tail problem in the WebPKI that is more likely to increase in frequency over time.