Comments (2)
Unfortunately, doing this is extremely difficult: it breaks the ABI of CryptoKit and the API of Swift Crypto. Enums are fundamentally difficult to extend. I don't think the idea is wrong, but sadly this genie cannot be put back into the bottle very easily, so I think we need to live with the status quo for now.
from swift-crypto.
@Lukasa Would it be possible to add details to the new errors for 1.1? It would be great if the new invalidPrivateKey
case could have some associated values, or if the new CryptoKitASN1Error
type could have some associated values.
from swift-crypto.
Related Issues (20)
- Possible Over-Iteration in PrettyBytes HOT 2
- AES-CBC Support HOT 3
- Point validation HOT 5
- Add SecureEnclave stub
- Add sendable conformance to appropriate types HOT 7
- Umbrella: Update Wycheproof test vectors to v1 HOT 3
- QUIC Crypto Primitives Support HOT 6
- Handling Non Standard Keys Test Failed HOT 3
- Noncopyable / moveonly `PrivateKey` API? HOT 4
- New API Proposal: X.509 Certificate Support HOT 2
- Consider adding `_CRT_SECURE_NO_WARNINGS` to disable warnings on Windows. HOT 1
- Build failure with BUILD_LIBRARY_FOR_DISTRIBUTION=YES HOT 23
- No way to get PKCS#8 representation of private RSA key HOT 3
- Add Sendable annotation to Crypto Extras HOT 2
- How to set CBC padding behavior? HOT 6
- Validating HMACs with incremental computation HOT 1
- Linux armv7 support HOT 9
- Privacy manifest support HOT 6
- CBOR decoding and encoding?
- Can no longer build Swift-Crypto, from Swift-Certificates (X509) on Mac OS with the latest version (3.4.0) HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-crypto.