Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

s2n-tls

From Wikipedia, the free encyclopedia
Open-source implementation of TLS

s2n-tls
Original authorColm MacCárthaigh
DeveloperAmazon Web Services
Stable release
1.6.3[1] / 10 December 2025; 2 months ago (10 December 2025)
Written inC99
Operating systemCross-platform
TypeSecurity library
LicenseApache License 2.0
Websitegithub.com/aws/s2n-tls
Repository

s2n-tls, originally nameds2n, is anopen-sourceC99 implementation of theTransport Layer Security (TLS) protocol developed byAmazon Web Services (AWS) and initially released in 2015. The goal was to make the code—about 6,000lines long—easier toreview than that ofOpenSSL—with 500,000 lines, 70,000 of which are involved in processing TLS.[2][3]

History

[edit]

s2n was first released in June 2015 onGitHub.[4] AWS said that the name "s2n" stands forsignal to noise as a nod "to the almost magical act ofencryption—disguising meaningful signals, like your critical data, as seemingly random noise".[2] In 2022 AWS renamed it from s2n to s2n-tls.[5] It has been the subject of several external reviews as well aspenetration testing.[6] Galois, Inc. has conductedformal verification of components of s2n-tls.[7][8]

In 2015, independent security researchers described a variant of theLucky Thirteen attack against s2n, even though s2n included countermeasures intended to prevent timing attacks.[9] In response, Amazon's s2n team said it would removeCBC-modecipher suites and take code fromBoringSSL to replace its own CBC-mode decryption.[10] The AWS Security Blog said that the attack could not have been exploited against Amazon, AWS, or its customers, including because the cited versions of s2n had not been used in aproduction environment.[11]

In February 2017, Amazon announced that s2n was now handling 100% of SSL traffic forAmazon S3.[12]

Features

[edit]

TLS extensions

[edit]

Common TLS extensions supported by this software areServer Name Indication,Application-Layer Protocol Negotiation, andOnline Certificate Status Protocol.

Cryptography

[edit]

s2n-tls supports the mainciphers in use today, such asAES inCBC andGCM modes,3DES, andRC4. It also provides support forperfect forward secrecy throughDiffie–Hellman orElliptic-curve Diffie–Hellmanephemeral keys.

Weaker ciphers and key exchange modes are disabled by default.[6]

Language bindings

[edit]

Thelanguage bindings below were not developed by AWS:[13]

See also

[edit]

References

[edit]
  1. ^"Release 1.6.3". 10 December 2025. Retrieved11 December 2025.
  2. ^abSchmidt, Steve (30 June 2015)."Introducing s2n, a New Open Source TLS Implementation".AWS Security Blog. Retrieved23 March 2021.
  3. ^Killalea, Tom (March 2021)."A Second Conversation with Werner Vogels".Communications of the ACM.64 (3):50–57.doi:10.1145/3434232. Retrieved23 March 2021.
  4. ^Vaughan-Nichols, Steven (30 June 2015)."Amazon introduces new open-source TLS implementation 's2n'".ZDNET. Retrieved20 August 2024.
  5. ^Kampanakis, Panos (17 February 2022)."Introducing s2n-quic, a new open-source QUIC protocol implementation in Rust".AWS Security Blog. Retrieved22 August 2024.
  6. ^abaws/s2n-tls: an implementation of the TLS/SSL protocols, on GitHub
  7. ^"Proving Amazon's s2n correct".Galois, Inc. Retrieved20 August 2024.
  8. ^Information Technology Innovation: Resurgence, Confluence, and Continuing Impact.National Academies Press. 30 December 2020. pp. 43–46.ISBN 978-0-309-68420-0.
  9. ^Albrecht, Martin R.; Paterson, Kenneth G. (23 November 2015)."Lucky Microseconds: A Timing Attack on Amazon's s2n Implementation of TLS".Cryptology ePrint Archive. Retrieved24 November 2015.
  10. ^Chirgwin, Richard (21 August 2018)."TLS developers should ditch 'pseudo constant time' crypto processing".The Register. Retrieved23 March 2021.
  11. ^MacCarthaigh, Colm (24 November 2015)."s2n and Lucky 13".AWS Security Blog. Retrieved23 March 2021.
  12. ^Schmidt, Steve (23 February 2017)."s2n Is Now Handling 100 Percent of SSL Traffic for Amazon S3".AWS Security Blog. Retrieved23 March 2021.
  13. ^"Language Bindings for s2n-tls".GitHub. Amazon Web Services. Retrieved23 March 2021.
Protocols and technologies
Public-key infrastructure
See also
History
Implementations
Notaries
Vulnerabilities
Theory
Cipher
Protocol
Implementation
Retrieved from "https://en.wikipedia.org/w/index.php?title=S2n-tls&oldid=1309646466"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp