[swift-corelibs-dev] Crypto as part of the core libraries

Travis Beech tbeech at unwiredrevolution.com
Fri Apr 15 11:04:22 CDT 2016


How is that achieved? Or what kicks off that community-driven process?

Travis Beech | Principal Developer | Unwired Revolution
Optimizing Operations for Mobile and Distributed Systems

From: <anthony.parker at apple.com<mailto:anthony.parker at apple.com>> on behalf of Tony Parker <anthony.parker at apple.com<mailto:anthony.parker at apple.com>>
Date: Friday, April 15, 2016 at 9:02 AM
To: Travis Beech <tbeech at unwiredrevolution.com<mailto:tbeech at unwiredrevolution.com>>
Cc: "swift-corelibs-dev at swift.org<mailto:swift-corelibs-dev at swift.org>" <swift-corelibs-dev at swift.org<mailto:swift-corelibs-dev at swift.org>>
Subject: Re: [swift-corelibs-dev] Crypto as part of the core libraries

Hi Travis,

I think the best path for projects to become part of the corelibs “umbrella” is to start them off as community-driven, and once they have gained enough momentum we should consider folding them into the core distribution.

This provides a lot of key benefits. Most importantly, the new project will have clear ownership and responsibility. We need to make sure that the right people are there to represent its interests to the larger Swift effort. Also, we’ll know who to talk to to deal with general issues like keeping it up to date with language changes, integrating it with CI, considering API changes, etc.

- Tony

On Apr 14, 2016, at 3:53 PM, Travis Beech via swift-corelibs-dev <swift-corelibs-dev at swift.org<mailto:swift-corelibs-dev at swift.org>> wrote:

I would like to propose that basic crypto be part of the core libraries of swift. It seems a large oversight that this isn’t a core part of the runtime. Many if not all modern languages provide the ability to perform hashing, encryption, certificates, etc. out of the box.

I believe that any serious app developer should be encrypting their customer’s data client side; and with the Swift runtime today, I cannot write a pure Swift app without having to resort to bridging into the CommonCrypto C library. While this works, in my view, this is a hack used to bridge the gap of missing functionality. I also don’t think developers should be using libraries they find out on Github or other places. While the developers of those projects may have the best of intentions, I think it best that functionality of this sort come from the language runtime itself, that is part of the core libraries out of the box.

As Swift looks to move beyond just iOS/OS X, crypto will become an ever increasingly important aspect of the core libraries such AES and RSA encryption, HMAC SHA1/256 hashing, etc.

Thank you,

Travis Beech | Principal Developer | Unwired Revolution
Optimizing Operations for Mobile and Distributed Systems
swift-corelibs-dev mailing list
swift-corelibs-dev at swift.org<mailto:swift-corelibs-dev at swift.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160415/a864ce03/attachment.html>

More information about the swift-corelibs-dev mailing list