by johns on 2/3/20, 5:34 PM with 79 comments
by oflannabhra on 2/3/20, 6:39 PM
This hits almost all of those, and while it isn't the highest priority for lots of Swift users today, Swift Crypto will hopefully create a way for there to be lots of future users of Swift on other platforms. I'm really happy that the Core Team seems to have really taken those 3 efforts seriously.
[0] - https://forums.swift.org/t/on-the-road-to-swift-6/32862
by protanopia on 2/3/20, 6:56 PM
> Although BoringSSL is an open source project, it is not intended for general use, as OpenSSL is. We don't recommend that third parties depend upon it. Doing so is likely to be frustrating because there are no guarantees of API or ABI stability.
by Nullabillity on 2/3/20, 6:42 PM
Oh great, more pointless differences. Just pick one and stick to it. If you trust the BoringSSL version then use it everywhere. If you don't, well, why are you using it on the other platforms?
I could understand it if it was very platform-specific (async networking, GUI controls, whatever). But come on, BSSL already exists everywhere, you're not saving yourself any porting work.
by ww520 on 2/3/20, 7:34 PM
With Linux and Windows support, Swift can become viable for cross platform development.
by pazimzadeh on 2/3/20, 7:25 PM
> The new Mac Pro debuts Afterburner, featuring a programmable ASIC capable of decoding up to 6.3 billion pixels per second https://www.apple.com/newsroom/2019/06/apple-unveils-powerfu...
by cakoose on 2/3/20, 9:59 PM
> This code avoids some of the numerous pitfalls that you can encounter when constructing encryption schemes yourself. For example, it ensures that you use a randomly selected nonce, and that you authenticate your ciphertext.
The AES-GCM nonce is only 96 bits, which might be enough in many contexts, but is still a little short for comfort when selecting nonces randomly: https://www.imperialviolet.org/2017/05/14/aesgcmsiv.html
It's surprising that the blog post just declared success without bringing this up at all.
(It looks like AES.GCM.seal does let you specify the nonce, though, in cases where you can maintain a counter yourself.)
by duckqlz on 2/3/20, 8:01 PM
How often is swift used on a non-Apple platform? Also why?
by captn3m0 on 2/3/20, 8:12 PM
The best answer was perfect swift libraries, which linked to OpenSSL but damn it was hard to figure out.
It is still too painful to write Swift outside of the blessed Apple world. This is a step, but still a long way to go.
by ksec on 2/4/20, 5:54 PM
Where is Swift heading? If Apple isn't dogfooding it themselves.
by pjmlp on 2/4/20, 8:18 AM
by brian_herman on 2/3/20, 8:34 PM
by iod on 2/3/20, 8:44 PM